aspose file tools*
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 Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "document style webservice" Watch "document style webservice" New topic
Author

document style webservice

Abdul Basit
Greenhorn

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
faultDetail:
stackTrace: AxisFault
faultCode: {http://xml.apache.org/axis/}Server.generalException
faultString: No such operation 'sample'
faultActor: null
faultDetail:

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: document style webservice