Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

document style webservice

 
Abdul Basit
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic