wood burning stoves
The moose likes Sockets and Internet Protocols and the fly likes soap messages using sockets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "soap messages using sockets " Watch "soap messages using sockets " New topic

soap messages using sockets

Rr Kumaran
Ranch Hand

Joined: Sep 17, 2001
Posts: 548
Hi All,

How to transfer a soap message between web service client and server using java socket programming ?

RR Kumaran
SCJP 1.4
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
If you write both the client and the server you can just turn your soap message into XML and send it as a single string or a bunch of lines. If you use a server from some other source your client will have to send exactly what the server expects, and that's a bit hard to predict from here. It may be better to use some of the HTTP-aware classes instead of socket in the client.

What's your comfort level with sockets? Have you done much with them? If not, Sun's All About Sockets is a good starting point.

A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
I agree. Here's the link: http://aspose.com/file-tools
subject: soap messages using sockets
It's not a secret anymore!