Hi Geza
I tried compiling...but it doesnt seem to work. This is my code in the .wsdd file. Will this suffice to change the parameter names?
<deployment xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"
xmlns:message="http://schemas.xmlsoap.org/message/">
<service name="ssoService" provider="java:RPC">
<parameter name="className" value="ssoService"/>
<parameter name="methodName" value="*"/>
<operation name="loginhere"> (method)
<parameter name="rc" mode="in"/> ( now in the wsdl.. the param name is arg0)
<parameter name="wq" mode="in"/>
</operation>
</service>
</deployment>
If I deploy using this wsdd ... and use the addParameters in my web service client class...wud there be a change in the wsdl? I am sorry if this is stupid....but pls I really need to know this asap! Thanx a lot for ur help!
Deepthi
>From: <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
>Subject: RE: Problem with WSDL message names
>Date: Wed, 17 Apr 2002 11:23:31 +0200
>
>
>Hi,
>
> The answer is in your classfile. If you deployed your
>service using a ready made class file, your parameter
>names will be lost, because they are not stored in the compiled
>class file. You have to recompile your java file using
>compile parameters to insert full debug info into the class.
>I don't exactly remember the option, but you'll check
>it with /?. This way the generated WSDL will comform to
>your needs. (hopefully). At least this is the way I've done
>it. I hope this helps.
>
> Geza
>
>-----Original Message-----
>From: ext DEEPTHI PRABHAKAR [mailto:[EMAIL PROTECTED]]
>Sent: 17. April 2002 10:13
>To: [EMAIL PROTECTED]
>Subject: Problem with WSDL message names
>
>
>Hi all
>
>I have an automatically generatd WSDL file using
>http://localhost:80/axis/...?wsdl format. In the wsdl, the in/out parameters have been assigned the default names like "arg0", "arg1" etc. However I want to change these into comprehensible names like "username", "pass" . Is there any way to do go about it. I could manage to change these parameter names in the SOAP request response format by adding call.addParameter( ) in my service invocation. Should I change my wsdd file, If I do, will that be reflected in the wsdl file that is generated??
>Hoping to get a reply asap!
>
>cheers
>Deepthi
>
>
>
>Join the world's largest e-mail service with MSN Hotmail. Click Here