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 -----
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

Reply via email to