wood burning stoves 2.0*
The moose likes Web Services and the fly likes some confused question 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 "some confused question" Watch "some confused question" New topic
Author

some confused question

Edward Chen
Ranch Hand

Joined: Dec 23, 2003
Posts: 798
I am confused about several questions

1. what relationship between SOAP, XML-RPC and RPC?
2. Now web service could use either SOAP or XML-RPC. is it right?
3. how many solutions to solve the web sevice security?

Thanks.
Masoud Kalali
Author
Ranch Hand

Joined: Jul 08, 2004
Posts: 531

in very simple language :
1-SOAP : is an standard which define , how should messages that come from entity to another entity looks like. it define the structure of xml file that contain web service request and response.
so when you execute a web service you send the service container a message in soap format and the result of execution will come back in SOAP format.

XML-RPC and RPC are two method of calling a remote method :-) , it means that you can use XML-RPC or RPC to call a method in a remote computer.
XML-RPC will use XML as Transfering mechanism.

2-web service can use SOAP+XML-RPC together . they use XML-RPC as a calling mechanism and SOAP as a transportation format for messages.

3- it is very wide topic , take a look at :

www.ibm.com/developerworks/library/ws-secure/
www.ws-i.org/


Masoud Kalali
Software Engineer - My Weblog - GlassFish Security
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41137
    
  45
Be aware that "XML-RPC" has two different meanings. One is the act of performing RPC by exchanging XML messages (and the XML could be SOAP). The other is the XML-RPC protocol, which I think was a brainchild of Dave Winer. It's a simpler and less powerful alternative to SOAP, but no longer widely used, now that SOAP is supported everywhere.

The standard for WS security is called, well, "WS-Security", and implemented in Java by the WSS4J library. There was a recent article in the JavaRanch Journal that may give you some starting points.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: some confused question
 
Similar Threads
XML-RPC or SOAP-RPC !!!!!!!
Good SOAP Tutorial
Soap without web services
This weeks giveaway
Spring Web Services