I used TCPMon to look at the response message. When I use a WSDL2Java-generated client, I get back a response like this:
HTTP/1.1 200 OK Set-Cookie: JSESSIONID=5FE83FA540716220B0E8D09755947CC6; Path=/v01 Content-Type: text/xml;charset=utf-8 Date: Fri, 08 Oct 2004 18:02:26 GMT Server: Apache-Coyote/1.1 Connection: close
<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope ...> </soapenv:Envelope>
However, if I just hand-craft a SOAP request, TCPMon shows the following response:
HTTP/1.1 200 OK Set-Cookie: JSESSIONID=B5D9BA9C63E8C6542B0D97EDDAA67718; Path=/v01 Content-Type: text/xml;charset=utf-8 Transfer-Encoding: chunked Date: Fri, 08 Oct 2004 18:04:14 GMT Server: Apache-Coyote/1.1
946 <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope ... > </soapenv:Envelope> 0
Note the 946 preceding the envelope and the 0 following. Does anyone have any idea why these are there? Why aren't they there when accessed with the generated code? Could these be a reason for the trouble with .NET?
Thanks, Dan.
begin:vcard fn:Dan Ciarniello n:Ciarniello;Dan org:CityXpress Corp adr;dom:;;200 - 1727 West Broadway;Vancouver;BC;V6J 4W5 email;internet:[EMAIL PROTECTED] title:Software Developer tel;work:604-638-3800 ext. 322 x-mozilla-html:TRUE url:http://www.cityxpress.com version:2.1 end:vcard
