hmm, What if I just provide the WSDL and no stubs ie) i'm not generating the stubs at all.
So John smith iternet user decides to connect to my web service using cold fusion or .net how can he tell what the args are/mean just by the wsdl file? - shaun > -----Original Message----- > From: Davanum Srinivas [mailto:[EMAIL PROTECTED] > Sent: Thursday, 10 June 2004 7:06 PM > To: [EMAIL PROTECTED]; Shaun Etherton > Cc: Dhanush Gopinath > Subject: Re: newbie question regarding wsdl file and method arguments > > > make sure u compile your classes with debug information "on" > > > ----- Original Message ----- > From: Shaun Etherton <[EMAIL PROTECTED]> > Date: Thu, 10 Jun 2004 15:23:53 +0930 > Subject: RE: newbie question regarding wsdl file and method arguments > To: Dhanush Gopinath <[EMAIL PROTECTED]>, [EMAIL PROTECTED] > > > > > > > > > > > > Hi > Dhanush, > > > > Thanks > for that. I was hoping that there was some configuration > option to set that > would do it for me. > > > > I want > users of the webservice to know which variables are which. > > so if > I have a method like: > > > > registerUser( String firstname, String lastname, String > favouriteColor) > > > > when > someone wants to consume my webservice they know which order > to put the values > and there meaning. > > > > I am > deploying the web service in jrun and the webservice consumer just > gets the wsdl > from the server. > > > > > > regards > > - > > shaun > > > > > > > > -----Original Message----- > From: Dhanush Gopinath > [mailto:[EMAIL PROTECTED] > Sent: Thursday, 10 June 2004 2:54 > PM > To: [EMAIL PROTECTED]; Shaun Etherton > Subject: > Re: newbie question regarding wsdl file and method > arguments > > > > Shaun > > > > I think u can manually editall the > "in0" to "username" in the WSDL and then again generate the > Stubs and > Skeletons using WSDL2Java tool. > > > > I dont hink this will cause any problem > as along as the type is xsd:string. > > > > Cheers > > > > Dhanush > > > ----- Original Message ----- > > From: > Shaun Etherton > > To: [EMAIL PROTECTED] > > Sent: Thursday, June 10, 2004 10:03 > AM > > Subject: newbie question regarding wsdl > file and method arguments > > > Hi, > > Apologies in advance if this is a stupid > question. > > Using axis for a web service that i have built and deployed > but when the > wdsl is generated it has the > following, > > <wsdl:message name="registerUser"> > <wsdl:part > name="in0" type="xsd:string"/> > . > etc. > > Can anyone tell me how > I can get the name of the parameter in0 to be the > same as the name of the > parameter in my java class? or at least what I > should be looking for, I > have googled and looked at the axis site, but > i'm quickly running out of > time. > > eg) > public String registerUser(String > username){ > //... > } > > <wsdl:message > name="registerUser"> > <wsdl:part name="username" > type="xsd:string"/> > > regards > - > shaun > > > > > > ********************************************************* > Disclaimer: > > > This message (including any attachments) contains > > confidential information intended for a specific > > individual and purpose, and is protected by law. > > If you are not the intended recipient, you should > > delete this message and are hereby notified that > > any disclosure, copying, or distribution of this > message, or the taking of any action based on it, > > is strictly prohibited. > > ********************************************************* > Visit us at http://www.mahindrabt.com > > > > > > -- > Davanum Srinivas - http://webservices.apache.org/~dims/ >