Hi all -

 

I have a client that I have done some work submitting SOAP requests to
existing web services for utilization in their application.  I have
never had a problem before and submissions have been reliable until now.


 

I have run into an issue with one particular web service where it is
reporting an invalid hostname is being submitted.  I have enabled
Protocol Logging and per the logs, the host is being set to what their
web service expects, but when they receive it, it is not in the
submission parameters where they expect it.  They say the expected info
is formatted like this:

 

POST /ws/service.asmx HTTP/1.1

Accept-Encoding: gzip,deflate

Content-Type:
application/soap+xml;charset=UTF-8;action="urn:webService/webServiceCall

User-Agent: Jakarta Commons-HttpClient/3.1

Host: webservice.server.com

Content-Length: 1692

 

What is actually being submitted is:

 

POST /ws/service.asmx HTTP/1.0

Date: Tue, 27 Jul 2010 05:13:12 GMT

SOAPAction: urn:webService/webServiceCall

User-Agent: UniData 7.1.x

Content-Type: text/xml; charset=utf-8

Content-Length: 1623

 

Notice the missing Host (among other differences).  According to the web
service, if I include the Host statement, it will work.  I have tested
from a SOAP testing app and it does construct it with the Host statement
in place, and it does indeed work.

 

Nothing I have tried has enabled me to get past this.  Has anyone
encountered this or have an suggestions for me to try to get this
working? 

 

Thanks,

 

Steve Long

 

Spyderweb Techincal Services, Inc.

(360) 687-8797 Office

(866) 354-5913 Fax

www.spyderwebtech.net

 

_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to