wood burning stoves 2.0*
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
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: {http://xml.apache.org/axis/}Server.generalException
faultString: No such operation 'sample'
faultActor: null
stackTrace: AxisFault
faultCode: {http://xml.apache.org/axis/}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
wood burning stoves
subject: document style webservice
Similar Threads
Axis fault: java.io.IOException: No serializer found for class
faultString: No such operation
error while usingJaxRpc.. of spring and document/literal wsdl style
hi am implementing Axis1.2.1 web serivice i got err pls help me