Chinthana has solved this problem.

Now the bae sample works.

Samisa...

On 7/7/05, Dushshantha Chandradasa <[EMAIL PROTECTED]> wrote:
> Oops...
> 
> I replied to the wrong mail. This is related to the garbage problem in String 
> types deserialization. :-D
> 
> -----Original Message-----
> From: Dushshantha Chandradasa [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 07, 2005 4:36 PM
> To: Apache AXIS C Developers List
> Subject: Mark: Base sample failing on server side
> 
> Hi Mark,
> 
> Other than this, I found another problem in the response SOAP message.
> 
> Here is a part of the Client request SOAP message
> 
> SOAP-ENV:Body>
> <ns1:doBenchRequest xmlns:ns1="http://axisbench.test.apache.org";>
> <ns1:doBench><ns1:count>10</ns1:count>
> <ns1:infos><ns1:StringType>StringType</ns1:StringType>
> <ns1:IntType>1</ns1:IntType>
> <ns1:BooleanType>true</ns1:BooleanType>
> <ns1:DoubleType>11.111000</ns1:DoubleType>
> <ns1:DateTimeType>2004-11-12T07:58:43+06:00</ns1:DateTimeType>
> <ns1:DateType>2004-11-12+06:00</ns1:DateType>
> <ns1:TimeType>07:58:43+06:00</ns1:TimeType>
> <ns1:Base64BinaryType></ns1:Base64BinaryType>
> <ns1:ByteType>49</ns1:ByteType>
> <ns1:DecimalType>10.000000</ns1:DecimalType>
> <ns1:FloatType>5.500000</ns1:FloatType>
> <ns1:HexBinary></ns1:HexBinary>
> <ns1:IntegerType>10</ns1:IntegerType>
> <ns1:LongType>10000</ns1:LongType>
> <ns1:QNameType>toto</ns1:QNameType>
> <ns1:ShortType>1</ns1:ShortType>
> </ns1:infos><ns1:infos><ns1:StringType>StringType</ns1:StringType>
> <ns1:IntType>2</ns1:IntType>
> <ns1:BooleanType>true</ns1:BooleanType>
> <ns1:DoubleType>22.222000</ns1:DoubleType>
> 
> Here, the element StringType is correctly serialized. But Look at the 
> response message bellow.
> 
> <ns1:doBenchRequestResponse xmlns:ns1="http://axisbench.test.apache.org";>
> <doBench><ns1:count>10</ns1:count>
> <ns1:infos><ns1:StringType>doBenchRequest</ns1:StringType>
> <ns1:IntType>1</ns1:IntType>
> <ns1:BooleanType>true</ns1:BooleanType>
> <ns1:DoubleType>11.111000</ns1:DoubleType>
> <ns1:DateTimeType>2004-11-12T19:58:43+06:00</ns1:DateTimeType>
> <ns1:DateType>2004-11-12+06:00</ns1:DateType>
> <ns1:TimeType>19:58:43+06:00</ns1:TimeType>
> <ns1:Base64BinaryType></ns1:Base64BinaryType>
> <ns1:ByteType>49</ns1:ByteType>
> <ns1:DecimalType>10.000000</ns1:DecimalType>
> <ns1:FloatType>5.500000</ns1:FloatType>
> <ns1:HexBinary></ns1:HexBinary>
> <ns1:IntegerType>10</ns1:IntegerType>
> <ns1:LongType>10000</ns1:LongType>
> <ns1:QNameType>10</ns1:QNameType>
> <ns1:ShortType>1</ns1:ShortType>
> </ns1:infos><ns1:infos><ns1:StringType> รค<</ns1:StringType>
> <ns1:IntType>2</ns1:IntType>
> <ns1:BooleanType>true</ns1:BooleanType>
> <ns1:DoubleType>22.222000</ns1:DoubleType>
> <ns1:DateTimeType>2004-11-12T19:58:43+06:00</ns1:DateTimeType>
> <ns1:DateType>2004-11-12+06:00</ns1:DateType>
> 
> Here, the value of first string type element is doBenchRequest and the next 
> stringType element has garbage. I think the problem is with the logic of 
> SoapDeSerializer::getElement() method for RPC encoded requests that I,m still 
> trying to figure out the problem.
> 
> Thanks,
> Dushshantha
> 
> -----Original Message-----
> From: Samisa Abeysinghe [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 07, 2005 2:55 PM
> To: Apache AXIS C Developers List
> Subject: Base sample failing on server side
> 
> When I run the base sample client, for the echoSOAPStruct, the server
> sends me a SOAP fault saying that the service failed.
> 
> I am not sure what change has broken this. It was working a couple of
> days back.
> 
> I am trying to figure out the problem.
> 
> Thanks,
> Samisa...
> 
>

Reply via email to