File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes sample code for rpc/literal & document/literal Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "sample code for rpc/literal & document/literal" Watch "sample code for rpc/literal & document/literal" New topic

sample code for rpc/literal & document/literal

suresh pillai

Joined: Oct 30, 2003
Posts: 23
Hi Ranchers,

Iam new to webservices. I would be greatful if anyone could point me to some resource (that uses apache axis) which lists down the difference in terms of coding perspective between - rpc/literal and document/literal.

Some simple sample code using apache axis would help a lot.

Thanks in advance,
Suresh simple
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 986

Here is an article which talks about this subject.

Please ignore post, I have no idea what I am talking about.
suresh pillai

Joined: Oct 30, 2003
Posts: 23
Hi All,

Thanks william for the reply.The url cleared the confusion.

I would also appreciate, if anyone could provide me with web resourse/pdf doc detailing(steps) how would you go about using two methods rpc/literal and document/literal using Apache Axis during webservice development(esp. Client code).

S Mithal

Joined: Mar 17, 2005
Posts: 19
Check out

It will tell you how to write your WSDL for literal\encoded AND rpc\document.

S Mithal
I agree. Here's the link:
subject: sample code for rpc/literal & document/literal
It's not a secret anymore!