This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes document style webservice Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "document style webservice" Watch "document style webservice" New topic

document style webservice

Abdul Basit

Joined: Jan 25, 2002
Posts: 27
I am making a web service through Jbuilder8 and axis , when i used RPC call it works fine .
I have two methods in my web service :
public class MyService {
private String sample = "Sample";
public String getSample() {
return sample;
public void setSample(String sample) {
this.sample = sample;
but when i try to use document style service it give me an error :
few lines of error is follows:

Exception in thread "main" AxisFault
faultCode: {}Server.generalException
faultString: No such operation 'sample'
faultActor: null
stackTrace: AxisFault
faultCode: {}Server.generalException
faultString: No such operation 'sample'
faultActor: null

No such operation 'sample' .

So , can any one tell me what i am doing wrong , and plz also mention any web resource for document style service , many resources are available on RPC but nothing on document and wrapper base style service.

And second thing is document style service is a asynchronous or a synchronous service?
Because i want to use a asynchronous service .
Thanks in advance
I agree. Here's the link:
subject: document style webservice
Similar Threads
faultString: No such operation
Axis fault: No serializer found for class
error while usingJaxRpc.. of spring and document/literal wsdl style
hi am implementing Axis1.2.1 web serivice i got err pls help me