Can you check the difference between the .Net client request and the Axis2
client request?

you have to check including http headers.

thanks,
Amila.

On Wed, Mar 17, 2010 at 2:13 PM, Kim, Ducheol
<[email protected]>wrote:

>  Hi All.
>
>
>
> Until now , we service API for our own service using jboss WS ( based on
> axis1.2 ).
>
> Sometimes raise a memory issue , these day we try to change soap engine as
> axis2.
>
> We did it refer below article and it seems that all of them work fine.
>
>
> http://www.eclipse.org/webtools/community/tutorials/TopDownAxis2WebService/td_tutorial.html
>
>
>
> But if I test it using .net client , NullReferenceException is occurred.
>
>
>
> I try to find a reason using TCP/IP Monitor in eclipse, and response
> message is illegal.
>
> Below is message captured by TCP/IP Monitor when I use .net for client (
> Message with blue font is return message of our application. )
>
> <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="
> http://schemas.xmlsoap.org/soap/envelope/";><soapenv:Body><ns1:OasXmlRequestResponse
> xmlns:ns1="http://api.oas.tfsm.com/";><result>&lt;?xml version='1.0'?>&#xd;
>
> &lt;AdXML>&#xd;
>
> &#xd;
>
> &lt;Response>&#xd;
>
>   &lt;Product>Request OK.  Found 1 records.&lt;/Product>&#xd;
>
>   &lt;List numberOfRows='1' pageIndex='1' pageSize='1000'
> totalNumberOfEntries='1'>&#xd;
>
>     &lt;Product>&#xd;
>
>       &lt;Id>default-product&lt;/Id>&#xd;
>
>     &lt;/Product>&#xd;
>
>   &lt;/List>&#xd;
>
> &lt;/Response>&#xd;
>
> &lt;/AdXML></result></ns1:OasXmlRequestResponse>
>
> *22*
>
> </soapenv:Body></soapenv:Envelope>
>
> *0*
>
>
>
> You can see that “22” and “0” is in soap message.
>
> I think parse on .net can’t be parse soap message because it isn’t valid
> xml.
>
>
>
> Below is soap message if I use axis or axis2 for client.
>
> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="
> http://schemas.xmlsoap.org/soap/envelope/";><soapenv:Body><ns1:OasXmlRequestResponse
> xmlns:ns1="http://api.oas.tfsm.com/";><result>&lt;?xml version='1.0'?>&#xd;
>
> &lt;AdXML>&#xd;
>
> &#xd;
>
> &lt;Response>&#xd;
>
>   &lt;Product>Request OK.  Found 1 records.&lt;/Product>&#xd;
>
>   &lt;List numberOfRows='1' pageIndex='1' pageSize='1000'
> totalNumberOfEntries='1'>&#xd;
>
>     &lt;Product>&#xd;
>
>       &lt;Id>default-product&lt;/Id>&#xd;
>
>     &lt;/Product>&#xd;
>
>   &lt;/List>&#xd;
>
> &lt;/Response>&#xd;
>
> &lt;/AdXML>
> </result></ns1:OasXmlRequestResponse></soapenv:Body></soapenv:Envelope>
>
>
>
> Is it bug on axis2 ?
>
>
>
>
>
>
>
>
>
> DUCHEOL.KIM/ SENIOR SOFTWARE ENGINEER
>
> T:02.3459.2318/C.P:018.233.7939/F:568.8432
> [email protected]
>
> 24/7 Real Media, Inc. A WPP Company
> 4F Poongsung Building 51-12 Banpo-4-Dong,Seocho-Gu
> Seoul 137-802, South Korea
>
>
>
>
>
> WWW.247REALMEDIA.COM
>
> >THE SCIENCE OF DIGITAL MARKETING
>
>
>
>
>



-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Reply via email to