• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

document style webservice

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic