Hi Mark

I am not using Java2Wsdl. Instead I am generating the wsdl file from the browser by http://localhost/axis/services/ssoService?wsdl. This gives me a wsdl automatically. So, I want to know whether any changes made in the deployment descriptor will be reflected in this wsdl. and also pls lemme know whether this is the right way to create the deplyment descriptor for this.

<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="com.ericsson.webservices.ssoService" locked="false"/>
 <parameter name="methodName" value="*"/>

 <operation name="loginhere">
   <parameter name="number" mode="inout"/>
   <parameter name="passwd" mode="in"/>
  </operation>

</service>

</deployment>

Will this work to change the parameter names from arg0 to "number"?

Thanx a lot!

Deepthi

 

>From: "Volkmann, Mark" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Subject: RE: Problem with WSDL message names
>Date: Wed, 17 Apr 2002 08:47:05 -0500
>
>I'm assuming you are generating your WSDL using Java2WSDL. If that's the
>case then you need to use the -i option to get correct parameter names in
>the WSDL. You also need to compile the web service implementation class with
>debug information.
>
>Here's my Ant target that compiles
>
> > description="compiles source files">
> > destdir="${build.dir}"
> classpathref="classpath"
> deprecation="on"
> debug="on">
>
>
>
>
>
>Notice how the Impl class is compiled with debug="on".
>
>Here's my Ant target that generates the WSDL.
>
> > description="generates WSDL from Java service implementation">
> > classpathref="classpath"
> fork="yes">
>
>
>
>
>
>
>
>
>
>Notice how this target depends on "compile.pre" and the -i option that
>references the Impl class.
>
>-----Original Message-----
>From: DEEPTHI PRABHAKAR [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, April 17, 2002 3:13 AM
>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??
>
>
>
>***********************************************************************************
>WARNING: All e-mail sent to and from this address will be received or
>otherwise recorded by the A.G. Edwards corporate e-mail system and is
>subject to archival, monitoring or review by, and/or disclosure to,
>someone other than the recipient.
>************************************************************************************


MSN Photos is the easiest way to share and print your photos: Click Here

Reply via email to