0 Replies Latest reply on Dec 3, 2007 7:23 AM by dbldutch

    Pass a Number to WebService

    dbldutch
      I'm having trouble getting the right parameters to be passed to a webservice. I was told that I should pass the value as a java object. The webservice works until I add this line to add another value to my parameters.

      params.RateRequestPackageSummary.PieceCount = 1;

      I was told this should work:
      <cfset objPosInteger = createObject("java", "org.apache.axis.types.PositiveInteger") />
      <cfset params.RateRequestPackageSummary.PieceCount = objPosInteger.init(1) />

      My site will not be hosted on an Apache server. Is there another way to make this happen?

      Thanks