wood burning stoves*
The moose likes Web Services and the fly likes new to SOAP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "new to SOAP" Watch "new to SOAP" New topic

new to SOAP

Edy Yu
Ranch Hand

Joined: Nov 21, 2000
Posts: 264
We are building a client-server program.
Basicly, the server will talk to the backend database and generate some string results. The situation is the client want to get the results in XML format. To my rudimentary knowledge of SOAP, I proposed SOAP as the implementing mechanism over CORBA and RMI.
My question is, do we need a web server to support SOAP? As we current prototyped using Apaches SOAP, there has to be a servlet called RequestRouter (or something like that) registered in a web server to route the HttpRequest to my server.
By the way, I am still not sure if my proposal is an approperiate one.

<i><br />Sun Certified Programmer for Java 2 Platform (SCJP)<br />Sun Certified Developer for Java 2 Platform (SCJD)<br />Sun Certified Web Component Developer for Java2 Platform, Enterprise Edition (SCWCD)<br />Sun Certified Business Component Developer for Java2 Platform, Enterprise Edition (SCBCD)<br />Sun Certified Enterprise Architect for J2EE (SCEA)<br />IBM Certified Enterprise Developer, WebSphere Studio V5.0<br /></i>
Joe Gilvary
Ranch Hand

Joined: May 11, 2001
Posts: 152
You need some kind of server to support SOAP.
SOAP is something like RMI, in that it allows
you to invoke methods on foreign objects (objects in a different memory space).
SOAP does not, by itself, include the low level
protocol for transporting the message. SOAP is
usually implemented on top of HTTP (thus, the
web server) but the documentation at w3c.org
includes mention of building SOAP on top of
mail. Sorry that I cannot be more specific about
that reference right now. I am bandwidth
constrained :< from here.
As for whether SOAP is the right choice for your
project, a lot depends on what languages you use
on each end, what skill set you have available
for development, maintenance, etc.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12761
As Joe says, there are a lot of ways to move SOAP messages around. Does your client want to move the XML over the Internet or is it a private network?
I have a couple of chapters on non-HTTP message transport in the book. You can use eMail, Message Oriented Middleware, JavaSpaces. I even heard of one system using FTP for transport.
Fei Ng
Ranch Hand

Joined: Aug 26, 2000
Posts: 1242
I am pretty new to XML and SOAP.
About moving SOAP messages around, it seems XML
and SOAP work togather all the time. Does that
always the case? For HTTP message i am pretty sure thats the case. How about non-HTTP messages using SOAP? For using FTP for transport, is SOAP and XML still the best answer?
Oh yeah, does your book talk about SOAP on Web Services in general? Can't wait to get my hand
on it.(going b&n tomorrow)
Book of the Week in BunkHouse.

I agree. Here's the link: http://aspose.com/file-tools
subject: new to SOAP
Similar Threads
getting null response while calling glue webservice
How to create XML from XSD dynamically at runtime
Writing a MS Client to access a Java SOAP Service
connect to a SOAP webservice using SSL
Is it possible to have my replyqueue configured on different JMS server from request queue?