• Post Reply Bookmark Topic Watch Topic
  • New Topic

can SOAP talk to JAVA SERVERSOCKETS()  RSS feed

 
Ravi Verma
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am developing an application which needs in this way. I am maintaining alistener to accept a Raw TCP/IP Connections using java ServerSocket() which accepts sockets from different clients included normal java Socket(). I want to use SOAP enabled message structure eg.,apache,jaxm(sun) as a client to write the data to this ServerSocket.. How easily we can implements this.
I am not getting good idea and solution as am new to SOAP. So any body pls suggest solution
Thanks in Advance
Ravi
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would suggest that you get the Apache SOAP package and start digging into the source code for the RPCRouterServlet. Apache SOAP is VERY modular - at one point the bulk text of an HTTP message gets turned into a DOM for further processing. You should be able to insert the text of your message from another source at that point.
If you don't want to follow the RPC approach you can use a more message passing approach - there are some examples in the Apache package.
My book on Java programming with SOAP comes out in mid January - you may find it useful. I am going to put up a chapter on: http://www.lanw.com/books/javasoap/default.htm
when I get the PDF file from the publisher.
Bill
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!