check the archives (both axis-user and axis-dev) Yes, if you compile
your classes with debug (-g) on then you should get the correct
parameter names.

-- dims

----- Original Message -----
From: Dhanush Gopinath <[EMAIL PROTECTED]>
Date: Thu, 10 Jun 2004 15:34:11 +0530
Subject: Re: newbie question regarding wsdl file and method arguments
To: [EMAIL PROTECTED]









Can u please explain on that Dims ?


 

U mean can be generate the WSDL in the
form required by Shaun instead of "in0","in1" ....

 

Dhanush


  ----- Original Message ----- 
  
From:
  Davanum
  Srinivas 
  
To: [EMAIL PROTECTED] ; [EMAIL PROTECTED]
  
  
Cc: Dhanush Gopinath 
  
Sent: Thursday, June 10, 2004 3:06
  PM
  
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/




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

Reply via email to