You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Bill Binole <bi...@Attachmate.com> on 2001/02/16 16:43:42 UTC
URLConnection
Is there or will there be an implementation of SOAP that uses the
URLConnection class. Is there some reason why it does not use this
currently (Soap2.0)?
Bill
RE: URLConnection
Posted by "Robert C. Lyons" <bo...@unidex.com>.
Bill asked:
"Is there or will there be an implementation of SOAP that uses the
URLConnection class. Is there some reason why it does not use this
currently (Soap2.0)?"
I wrote a SOAP client using the java.net.URLConnection class.
When the SOAP client posted the SOAP request message and the web
server returned an HTTP status code indicating an error, the client
was not able to read the SOAP response message. Perhaps I was
doing something wrong, but I'm pretty sure that this was due
to a limitation of the URLConnection class.
So, I rewrote my SOAP client to use the java.net.Socket class,
so that my client could read the SOAP response message even
when the web server returns an HTTP status code indicating an error.
Best regards,
Bob
<sig name = 'Bob Lyons'
title = 'E-Commerce Consultant'
company = 'Unidex, Inc.'
phone = '+1-732-975-9877'
email = 'boblyons@unidex.com'
url = 'http://www.unidex.com/'
product = 'XML Convert: transforms flat files to XML and vice versa' />
RE: URLConnection
Posted by "Robert C. Lyons" <bo...@unidex.com>.
Bill asked:
"Is there or will there be an implementation of SOAP that uses the
URLConnection class. Is there some reason why it does not use this
currently (Soap2.0)?"
I wrote a SOAP client using the java.net.URLConnection class.
When the SOAP client posted the SOAP request message and the web
server returned an HTTP status code indicating an error, the client
was not able to read the SOAP response message. Perhaps I was
doing something wrong, but I'm pretty sure that this was due
to a limitation of the URLConnection class.
So, I rewrote my SOAP client to use the java.net.Socket class,
so that my client could read the SOAP response message even
when the web server returns an HTTP status code indicating an error.
Best regards,
Bob
<sig name = 'Bob Lyons'
title = 'E-Commerce Consultant'
company = 'Unidex, Inc.'
phone = '+1-732-975-9877'
email = 'boblyons@unidex.com'
url = 'http://www.unidex.com/'
product = 'XML Convert: transforms flat files to XML and vice versa' />