The resource id is generated by you in your home implementation.  Also, you seem to have the concept of web service and resource confused.  The web service is created by the soap engine at startup, however the resource instances (which are associated with a resource id) are created by a request to the resource home.
 
Take a look at the included example for Filesystem....The tutorial should give you a flavor of how this all works.
 
-Sal


From: Shahzad Younas [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 17, 2005 7:11 AM
To: [email protected]
Subject: Java code..

Hi all,
Can anyone forward me any java code for a method to instantiate a web service, and return its resource ID.
how is a resource ID generated? is it random?
 
i just want to send a single <CreateRequest> tag to the web service, and for it to return the resource ID.
 
Thanks!
Shahzad

Reply via email to