-----Original Message-----
From: Ekbote, Niranjan [mailto:[EMAIL PROTECTED]
Sent: 26 June 2003 20:16
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: RE: WSDL Parameter NamesWe faced a similar problem. Try putting this in the WSDD.<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
Title: Message
Hey
Niranjan,
Thanks a million for that Niranjan. I
couldn't find the dtd/xsd for the WSDD. You couldn't fire me on the URL for the
doctype could you?
I'm
looking to use xdoclet myself to generate the service deployment descriptor but
when I had a look, the only axis tags available were for @axis.service and
@axis.method.
Now
I'm very new to XDoclet (all of 2 hours and 30 mins old.. Aww!!) so maybe
I'm missing something here but it seems like to be able to
generate accurate WSDD's, I'd have to write some xdoclet
modules myself.
Listen
thanks again for your help,
Mark.
- WSDL Parameter Names Mark.Gargan
- RE: WSDL Parameter Names Chris
- Re: WSDL Parameter Names Reynardine
- RE: WSDL Parameter Names Mark.Gargan
- RE: WSDL Parameter Names Ekbote, Niranjan
- Mark.Gargan
