aspose file tools*
The moose likes Web Services and the fly likes some doubts in webservices Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "some doubts in webservices" Watch "some doubts in webservices" New topic
Author

some doubts in webservices

arekonda ramesh babu
Ranch Hand

Joined: Apr 11, 2006
Posts: 35
hai iam a newbie to the webservices technology:

i need to be clarified with the following doubts:

IN THE CASE OF DEVELOPING WEBSERVICES APPLICATION::::

1.when we use rpc? and when we use soap?

2.Is it possible use SOAP without WSDL

3.Is it possible to use RPC with WSDL

and finally the following one

DIFFERENCE BETWEEN RPC USED IN WEBSERVICES AND GENERAL RMI TECHNOLOGY


please be respond

Thanks in advance

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41571
    
  54
I think you need to do a lot more reading and research on web services, so I'm just going to give very short answers to point you in the right directions.

when we use rpc? and when we use soap?

There is no direct connection between the two. RPC means Remote Procedure Call, for which SOAP can be used, but doesn't have to. SOAP is an XML dialect used for web services.

Is it possible use SOAP without WSDL

Yes.

Is it possible to use RPC with WSDL

See above. WSDL has nothing to do with RPC directly. WSDL can be used with SOAP, and SOAP can be used to implement RPC, so the answer is yes.

DIFFERENCE BETWEEN RPC USED IN WEBSERVICES AND GENERAL RMI TECHNOLOGY

WS (as the name implies) use web technology, specifically HTTP, which is standardized, widely deployed and well understood. RMI implies Java on the server, and JRMP or IIOP as the protocol. Oversimplifying outrageously, RPC over WS are more widely usable, and more easily deployable than RMI.

Oh, and please don't shout at us in all-uppercase letters.


Ping & DNS - my free Android networking tools app
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41571
    
  54
arekonda ramesh babu said:
Can u please suggest, the online resources that mostly helpful to me in come out of my quires


The Web Services FAQ has a number of links to introductory material. I like this introduction to SOAP and this introduction to SAAJ.
 
wood burning stoves
 
subject: some doubts in webservices