axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Supun Kamburugamuva <supu...@gmail.com>
Subject Re: server sends output but client unable to deserialize
Date Thu, 19 Feb 2009 02:53:12 GMT
Hi Balaji,

I have gone through your files carefully. But I couldn't find the cause. Are
you sending the requests in a single thread or multiple threads?

Supun.

On Tue, Feb 17, 2009 at 10:52 PM, balajikumara T <balajikumara@gmail.com>wrote:

> fyi
>
> client side
>
> SENDING DATA..
> /* sending time = 12:45:17*/
> /* message uuid = bd6172f4-fd1a-1dd1-3c89-001bfc7fc58f*/
> ---------------------
> POST /axis2/services/WSAmplify_v1Service HTTP/1.1
> Content-Type: text/xml; charset=UTF-8
> SOAPAction: ""
> User-Agent: Axis2
> Host: localhost:9090
> Content-Length: 8805
>
>
> RETRIEVING DATA..
> /* retrieving time = 12:45:19*/
> /* time throughput = 2 sec(s)*/
> ---------------------
>
> ??????--NULLL and tring to send again ( i think as deserialisation failed
> it returned NULL and did a retry )
>
>
> SENDING DATA..
> /* sending time = 12:45:19*/
> /* message uuid = be2fbb50-fd1a-1dd1-3c8a-001bfc7fc58f*/
> ---------------------
> POST /axis2/services/WSAmplify_v1Service HTTP/1.1
> Content-Type: text/xml; charset=UTF-8
> SOAPAction: ""
> User-Agent: Axis2
> Content-Length: 8805
> Host: localhost:9090
>
> SERVER side:
>
> SENDING DATA..
> /* sending time = 17:45:12*/
> /* message uuid = ba4ddcba-fd1a-1dd1-3f92-1231390168a1*/
> ---------------------
> POST /axis2/services/WSAmplifyHapax_v1Service HTTP/1.1
> User-Agent: Axis2C/1.5.0
> SOAPAction: ""
> Content-Length: 2332
> Content-Type: text/xml;charset=UTF-8
> Host: *.*.*.*:9090
>
>
> RETRIEVING DATA..
> /* retrieving time = 17:45:13*/
> /* time throughput = 1 sec(s)*/
> ---------------------
> HTTP/1.1 200 OK
> Date: Tue Feb 17 17:45:12 2009 GMT
> Server: Axis2C/1.5.0 (Simple Axis2 HTTP Server)
> Content-Type: text/xml;charset=UTF-8
> Content-Length: 57557
>
>
> i set the timeout to 20 sec at the client end and it is a sync call -- i
> tried all these now, but none of them helped me.
>
>
>
> Thanks
> Balaji
>
>
>
>
>
>
> On Tue, Feb 17, 2009 at 12:22 PM, balajikumara T <balajikumara@gmail.com>wrote:
>
>> Hi
>> sending the code walk thru which i debugged
>>
>> Thanks
>> Balaji
>>
>>
>>
>> On Tue, Feb 17, 2009 at 12:00 PM, balajikumara T <balajikumara@gmail.com>wrote:
>>
>>> Hi
>>> Attaching it
>>> Thanks in advance
>>> Balaji
>>>
>>>
>>>
>>> On Tue, Feb 17, 2009 at 11:43 AM, Supun Kamburugamuva <supun06@gmail.com
>>> > wrote:
>>>
>>>> Can you please attach the log file?
>>>>
>>>> Supun
>>>>
>>>>
>>>> On Tue, Feb 17, 2009 at 9:26 PM, balajikumara T <balajikumara@gmail.com
>>>> > wrote:
>>>>
>>>>> Hi,
>>>>> I get the following error.
>>>>> Mon Feb 16 10:54:10 2009] [error] adb_testScorecard.c(750) non nillable
>>>>> or minOuccrs != 0 element PVOutput missing
>>>>> [Mon Feb 16 10:54:10 2009] [error]adb_testResponse.c(203) failed in
>>>>> building adb object for element testReturn
>>>>> [Mon Feb 16 10:54:10 2009] [error]adb_test.c(213) failed in setting the
>>>>> value for testReturn
>>>>> [Mon Feb 16 10:54:10 2009] [error] axis2_stub_test_v1Service.c(1549)
>>>>> NULL returnted from the test_deserialize: This should be due to an invalid
>>>>> XML
>>>>>
>>>>> The problem is ,I get the output for n number of time (say 3-5) and
>>>>> after that i get response  from server in the return output.( i see it
in
>>>>> tcpmon) ,but when deserializing happens at client side, it just not able
to
>>>>> deserialise all output. In all cases it is the same request that is sent.
>>>>>
>>>>> If i stop the client and then restart and if i send the same request
>>>>> ,it works and after sometime it will not work.
>>>>>
>>>>> Why is this happening? Is this is a problem with some memory
>>>>> leak,buffer overflow. I saw some post on this where it was  mentioned
about
>>>>> commenting the free call
>>>>>
>>>>>  if(_testResponse)
>>>>>             {
>>>>> #######                AXIS2_FREE(env->allocator, _testResponse);
>>>>>                 _testResponse = NULL;
>>>>>             }
>>>>> I tried that as well, but it doesnt work.
>>>>>
>>>>> Can anyone throw some light on this
>>>>>
>>>>> Thanks in Advance
>>>>> Balaji
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Software Engineer, WSO2 Inc
>>>> http://wso2.org
>>>> supunk.blogspot.com
>>>>
>>>>
>>>>
>>>
>>
>


-- 
Software Engineer, WSO2 Inc
http://wso2.org
supunk.blogspot.com

Mime
View raw message