• Post Reply Bookmark Topic Watch Topic
  • New Topic

Webservice method calls  RSS feed

 
Ranch Hand
Posts: 279
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From my Java client I am instantiating a Webservice using

mySvc = serviceFactory.getRemoteService(IAcmeCustomService.class, context, "samples", "http://172.16.1.114:8888/services");

then I am calling two methods of this webservice using
AcmeServiceInfo acmeServiceInfo = mySvc.getAcmeServiceInfo();
DocTypeStatus status = mySvc.getDocTypeStatus();

The problem is that the instance variables set in getAcmeServiceInfo() are not available in getDocTypeStatus(). Is this the expected behavior? Or should the webservice instance variables be available across methods.
 
Sheriff
Posts: 9610
37
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!