<service name="LoginService" provider="java:RPC">
<operation returnQName="success" returnType="xsd:boolean" name="login"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<parameter name="username" type="xsd:string"/>
<parameter name="password" type="xsd:string"/>
</operation>
<parameter name="allowedMethods" value="login"/>
<parameter name="className" value="myservice.LoginInterface"/>
</service>
The operation tag can help you with it. We use it a lot because almost all our code is Session beans. It should replace your in0, in1 etc.. with username, password etc.. in the auto-generated WSDL.
Thanks!
-- Niranjan.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 26, 2003 3:27 PM
To: [EMAIL PROTECTED]
Subject: RE: WSDL Parameter NamesHI Lads,Thanks for the resposes guys. The problem is that the WSDL is autogenerated by jboss using the axis libs.. If you guys know where to amend the code in the Emitter so that it uses the implementation i.e. the session bean as opposed to the interface that would probably solve my problem. Thanks for all the help guys.Cheers,Mark.-----Original Message-----
From: Reynardine [mailto:[EMAIL PROTECTED]
Sent: 26 June 2003 19:25
To: [EMAIL PROTECTED]
Subject: Re: WSDL Parameter NamesMark,
In two stages... first just before generating your WSDL, recompile all your code with debug, then, when you generate your WSDL, pass the path to the implementation class (that contains all your parameter names) by supplying the -i parameter.
e.g. for java...
classes>javac -g yourpath\ws\*.java
classes>java org.apache.axis.wsdl.Java2WSDL -o yourfile.wsdl -l"http://localhost/axis/services/yourservice" -i yourpath.ws.yourImpl -n urn:yourservice -p"yourservice" urn:yourservice yourpath.ws.yourservice
Rey.
----- Original Message -----
From: <[EMAIL PROTECTED]>
Date: Thu, 26 Jun 2003 18:51:43 +0100
To: <[EMAIL PROTECTED]>
Subject: WSDL Parameter Names
Hi folks,Is there anyway to set the parameter Name's to something other than in0, in1 ...THanks,Mark.--_______________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
