BTW http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19524

-----Original Message-----
From: Mike Perham 
Sent: Wednesday, August 13, 2003 3:36 PM
To: [EMAIL PROTECTED]
Subject: RE: nightly drops generating bad responses?


I patched this in my own copy since it is also invalid according to
BP1.0.  Note that I just discovered this earlier today so let me know
how well it works for you.  Axis' test suite does pass with this patch.
I have not submitted an official patch to axis-dev yet.


Index: RPCProvider.java
===================================================================
RCS file:
/home/cvspublic/xml-axis/java/src/org/apache/axis/providers/java/RPCProv
ider.java,v
retrieving revision 1.107
diff -r1.107 RPCProvider.java
345,346c345
<                     returnQName = new QName(body.getNamespaceURI(),
<                     methodName + "Return");
---
>                     returnQName = new QName(methodName + "Return");


-----Original Message-----
From: Cory Wilkerson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 13, 2003 3:28 PM
To: [EMAIL PROTECTED]
Subject: nightly drops generating bad responses?


I've noticed that in the latest nightly drops -- the response coming out
of axis is namespace qualifying some elements that it doesn't namespace
qualify in the 1.1 release.  As a result, .NET functionality is busted.
My question is -- is my service technically invalid and the
fucntionality is fixed in the nightly drops or are the nightly drops
generating incorrect responses.  

Can someone validate me or otherwise?
Thanks,
Cory

Bad response (nightly drop):
--------------
<ns1:requestResponse
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:ns1="http://www.travelnow.com/services/HotelList";>
      <ns1:requestReturn xsi:type="ns2:XmlResponse"
xmlns:ns2="http://common.xml.travelnow.com";>
        <ns1:errorInfo xsi:type="ns2:ErrorInfo" xsi:nil="true"/>
        <ns1:response xsi:type="ns3:HotelListResponse"
xmlns:ns3="http://list.hotel.xml.travelnow.com";>

Good (meaning .net digests it nicely) response (1.1 release):
---------------
<ns1:requestResponse
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:ns1="http://www.travelnow.com/services/HotelList";>
     <requestReturn xsi:type="ns2:XmlResponse"
xmlns:ns2="http://common.xml.travelnow.com";>
       <errorInfo xsi:type="ns2:ErrorInfo" xsi:nil="true"/>
       <response xsi:type="ns3:HotelListResponse"
xmlns:ns3="http://list.hotel.xml.travelnow.com";>

Reply via email to