Hi All,
 
Could any 1 please help me sort this problem out. I'm still stuck at the same 
place :(
 
Regards
 
Nasreen


From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: RE: Stubs responseDate: Sun, 27 Jan 
2008 16:54:58 +0000


But when I run webservice is printing below result : 1: HSP 1, 2: HSP 3, 3: HSP 
5  So once I will be able to return this String, I have to separate it with 
Comma.   

> Date: Sun, 27 Jan 2008 16:53:59 +0100> From: [EMAIL PROTECTED]> Subject: RE: 
> Stubs response> To: axis-user@ws.apache.org> > You save in> 
> registeredservices = hspid3.toString();> an item and overrrite it with the 
> next item in your> method!> Your return has only one item and not like you 
> expect> a list of elements!> Your registrationService should be a Array. 
> After> that you should iterate your list to get items from > > > --- Nasreen 
> Laghari <[EMAIL PROTECTED]>> schrieb:> > > Actually what i'm worried here to 
> get String value> > from that service method or convert into String. > > > > 
> > > To: [EMAIL PROTECTED]: Re: Stubs> > responseDate: Sat, 26 Jan 2008 
> 15:51:29 -0500From:> > [EMAIL PROTECTED]> > > > > > > > > > the Java2WSDL 
> utility handles this by generating an> > inner public static class for the 
> Response as> > described here for LookupDataServiceStub > > package 
> ae.ead.egovernment.core.webservice.impl;> > /* LookupDataServiceStub java> > 
> implementation */> > public class LookupDataServiceStub> > extends 
> org.apache.axis2.client.Stub {> > /** Auto generated method> > signature 
> returning GetCountriesResponse > > * @see> >> 
> ae.ead.egovernment.core.webservice.impl.LookupDataService#getCountries*/> > 
> public > >> 
> ae.ead.egovernment.core.webservice.impl.LookupDataServiceStub.GetCountriesResponse>
>  > getCountries(> > ) > > throws java.rmi.RemoteException > > {> > > > 
> ..........> > }> > > > public static class> > GetCountriesResponse 
> implements> > org.apache.axis2.databinding.ADBBean > > { public static final> 
> > javax.xml.namespace.QName MY_QNAME = new> > javax.xml.namespace.QName( > > 
> "http://impl.webservice.core.egovernment.ead.ae";, > > "getCountriesResponse", 
> > > "ns3"); > > ............> > } //end static declaration> > 
> GetCountriesResponse..> > M-> > > > ----- Original Message ----- > > From: 
> Nasreen Laghari > > To: axis-user@ws.apache.org > > Sent: Saturday, January 
> 26, 2008 2:35 PM> > Subject: Stubs response> > Hi, I'm not sure if this is 
> the right place for this> > Problem. My webservice have following method: 
> public> > String GetAccessibleServiceList() { > > DBRetrieve one = new 
> DBRetrieve(); ArrayList> > hspid3 = one.RegisteredServices(userID); > > 
> Iterator it2 = hspid3.iterator(); while> > (it2.hasNext()) { > > 
> registeredservices = hspid3.toString(); > > System.out.println(" RETURN 
> REGISTERED HSP LIST> > >>>>>>>>>>>>>>>>> " + registeredservices); > > return 
> registeredservices; } > > return registeredservices; }This method return> > 
> the list of services from database. After creating> > the stub I have got 
> GetAccessibleServiceListResponse> > but not 
> GetAccessibleServiceList.Therefore at client> > side I made object > >> 
> AuthenticationServerStub.GetAccessibleServiceListResponse> > 
> registrationService = new> >> 
> AuthenticationServerStub.GetAccessibleServiceListResponse();> > But this 
> returns an object> >> [EMAIL PROTECTED]> > How can I get response or convert 
> this into string.> > Regards Nasreen> > > > Connect and share in new ways 
> with Windows Live. Get> > it now! > >> 
> _________________________________________________________________> > Shed 
> those extra pounds with MSN and The Biggest> > Loser!> > 
> http://biggestloser.msn.com/> > > > Heute schon einen Blick in die Zukunft 
> von E-Mails wagen? Versuchen Sie´s mit dem neuen Yahoo! Mail. 
> www.yahoo.de/mail> > 
> ---------------------------------------------------------------------> To 
> unsubscribe, e-mail: [EMAIL PROTECTED]> For additional commands, e-mail: 
> [EMAIL PROTECTED]> 

Need to know the score, the latest news, or you need your Hotmail®-get your 
"fix". Check it out. 
_________________________________________________________________
Helping your favorite cause is as easy as instant messaging. You IM, we give.
http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join

Reply via email to