axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "donald yang" <donal...@googlemail.com>
Subject Re: axis2c client can't call axis2 java web service twice continuous if MTOM is disabled in axis2 java web service server side
Date Mon, 22 Dec 2008 15:32:22 GMT
Hi Shankar,

Thank you very much for your reply. Currently I use axis2/c 1.4 for windows.
I found that axis2c 1.5 can solve that problem, but axis2c 1.5 has memory
leak.

best wishes
yong

On Mon, Dec 22, 2008 at 3:59 AM, Uthaiyashankar <shankar@wso2.com> wrote:

> Hi Yong,
>
> Can you send the code and stack trace? Then we can run and see. Which
> version of Axis2/C you are using and whether you are using Linux or Windows?
>
> Regards,
> Shankar
>
>
> On Fri, Dec 19, 2008 at 4:41 PM, donald yang <donaldyy@googlemail.com>wrote:
>
>> Hi All,
>>
>> Currently I have a problem to call a axis2 java based web service twice
>> continuous from my axis2c web service client when I disabled MTOM in the web
>> service server side. The first call to web service is successful. The second
>> one is failed and caused the web service client application crashed. An
>> exception is thrown, "*The exception unknown software exception occured
>> in the application at location. Click on OK to terminiate the program*".
>> When I used TCP monitor to look at SOAP request and reply. I found that
>> axis2c client has NOT sent SOAP request in the second call. But if I enable
>> MTOM in the web service server side,  both call will be successful.
>>
>> If someone knows how to solve the problem, could you please share your
>> solution? Many thanks in advance. And my configurations are as follows:
>>
>> web service client: axis2c 1.4
>> web service: axis2 java 1.4.1
>> OS: windows xp sp3
>>
>> best wishes
>> yong
>>
>>
>> [1] soap request for the first call
>> POST /axis2/services/simple_char.simple_charHttpSoap11Endpoint/ HTTP/1.1
>> User-Agent: Axis2C/1.4.0
>> SOAPAction: "urn:char_input_output"
>> Content-Length: 265
>> Content-Type: text/xml;charset=UTF-8
>> Host: brad.querix.co.uk:10000
>>
>> <soapenv:Envelope xmlns:soapenv="
>> http://schemas.xmlsoap.org/soap/envelope/">
>>    <soapenv:Header/>
>>    <soapenv:Body>
>>       <ns1:char_input_output xmlns:ns1="http://querix.com">
>>          <ns1:param0>hello</ns1:param0>
>>       </ns1:char_input_output>
>>    </soapenv:Body></soapenv:Envelope>
>>
>>
>> [2] soap reply for the first call when MTOM is disable
>> HTTP/1.1 200 OK
>> Server: Apache-Coyote/1.1
>> Content-Type: text/xml;charset=UTF-8
>> Transfer-Encoding: chunked
>> Date: Fri, 19 Dec 2008 10:56:35 GMT
>>
>> 11d
>> <?xml version='1.0' encoding='UTF-8'?>
>>    <soapenv:Envelope xmlns:soapenv="
>> http://schemas.xmlsoap.org/soap/envelope/">
>>       <soapenv:Body>
>>          <ns:char_input_outputResponse xmlns:ns="http://querix.com">
>>             <ns:return>hello</ns:return>
>>          </ns:char_input_outputResponse>
>>       </soapenv:Body>
>>    </soapenv:Envelope>
>> 0
>>
>>
>
>
> --
> S.Uthaiyashankar
> Software Architect
> WSO2 Inc.
> http://wso2.com/ - "The Open Source SOA Company"
>
>
>

Mime
View raw message