You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2003/10/24 14:30:58 UTC
DO NOT REPLY [Bug 24098] New: -
XML for the web service request and response contain strange chars
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24098>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24098
XML for the web service request and response contain strange chars
Summary: XML for the web service request and response contain
strange chars
Product: Axis
Version: 1.1
Platform: All
OS/Version: All
Status: NEW
Severity: Minor
Priority: Other
Component: WSDL processing
AssignedTo: axis-dev@ws.apache.org
ReportedBy: aedemar.cooke@rbc.com
tcptrace is a tool for analysis of TCP dump files. We use this to view the XML
being sent and returned from a .NET client to an Axis web service running on a
Websphere server (hosted on either Win2K or iSeries V5R1).
We switched from using the Apache SOAP utilities provided with Websphere to
using Axis. Since this switch we have noticed "strange" characters in the XML
for the web service request and response.
When the .NET client uses the same tool to view the XML between itself and
a .NET client, the XML is correct.
I have include the XML below. The "strange" characters in question are 6b2
after the Transfer-Encoding and 0 at the end.
HTTP/1.1 100 Continue
HTTP/1.1 200 OK
Server: WebSphere Application Server/4.0
Content-Type: text/xml; charset=utf-8
Content-Language: en
Transfer-Encoding: chunked
6b2
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ns1:getViewableCustomerSummariesArrayResponse
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="urn:Inquiry">
<getViewableCustomerSummariesArrayReturn xsi:type="soapenc:Array"
soapenc:arrayType="ns2:CustomerSummaryDTO[1]"
xmlns:ns2="http://customer.as400.gpbonline.rbc.com"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<item href="#id0"/>
</getViewableCustomerSummariesArrayReturn>
</ns1:getViewableCustomerSummariesArrayResponse>
<multiRef id="id0" soapenc:root="0"
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="ns3:CustomerSummaryDTO"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns3="http://customer.as400.gpbonline.rbc.com">
<bankCode xsi:type="xsd:int">1</bankCode>
<isRestrained xsi:type="xsd:boolean">false</isRestrained>
<transit xsi:type="xsd:int">6229</transit>
<hasWarnings xsi:type="xsd:boolean">false</hasWarnings>
<customerNumber xsi:type="xsd:int">5000765</customerNumber>
<name2 xsi:type="xsd:string"> </name2>
<name1 xsi:type="xsd:string">Mr D A Luxon </name1>
<legalName2 xsi:type="xsd:string"> </legalName2>
<currency xsi:type="xsd:string">GBP</currency>
<shortName xsi:type="xsd:string">LUXON D A </shortName>
<legalName1 xsi:type="xsd:string">MR DEREK ANDREW LUXON </legalName1>
</multiRef>
</soapenv:Body>
</soapenv:Envelope>
0