On 5/9/06, Collin VanDyck <[EMAIL PROTECTED]
> wrote:
I have changed from using an Axis client to using a manual POST of the
SOAP message to a wrapped service. Since I've done this, I am receiving
numbers before and after the SOAP envelope response.
The SOAP request looks like this (namespaces removed for clarity):
POST /webservice/services/ConcatService HTTP/1.1
Content-Type: application/soap+xml; charset=UTF-8
SOAPAction: ""
User-Agent: Java/1.5.0_06
Host: localhost:8070
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 604
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope ...>
<soapenv:Body>
<concat xmlns="myns">
<Message>
<authentication>
<username>myname</username>
<password>mypassword</password>
</authentication>
<choices>
<one>Hi </one>
<two>There </two>
<three>Again</three>
</choices>
</Message>
</concat>
</soapenv:Body>
</soapenv:Envelope>
The SOAP response looks like this:
HTTP/1.1 200 OK
X-Powered-By: Servlet 2.4; Tomcat-5.0.28/JBoss-3.2.7 (build:
CVSTag=JBoss_3_2_7 date=200501280217)
Content-Type: application/soap+xml;charset=UTF-8
Transfer-Encoding: chunked
Date: Tue, 09 May 2006 13:23:55 GMT
Server: Apache-Coyote/1.1
185
<?xml version=" 1.0" encoding="UTF-8"?>
<soapenv:Envelope ...>
<soapenv:Body>
<concatResponse xmlns="myns">
<concatReturn>Hi There Again</concatReturn>
</concatResponse>
</soapenv:Body>
</soapenv:Envelope>
0
When I used the Axis client to make a similar request, I didn't see the
numbers show up in the SOAP response. Is this a valid response?
Thanks
Collin
