axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "DEEPTHI PRABHAKAR" <deep...@hotmail.com>
Subject RE: Problem with WSDL message names
Date Wed, 17 Apr 2002 09:37:45 GMT
<html><div style='background-color:'><DIV>
<P>Hi Geza</P>
<P>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?</P>
<P>&nbsp;&lt;deployment xmlns="http://xml.apache.org/axis/wsdd/"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
xmlns:message="http://schemas.xmlsoap.org/message/"&gt;</P>
<P>&nbsp;&lt;service name="ssoService" provider="java:RPC"&gt;</P>
<P>&nbsp;&lt;parameter name="className" value="ssoService"/&gt;<BR>&nbsp;&lt;parameter
name="methodName" value="*"/&gt;</P>
<P>&nbsp;&lt;operation name="loginhere"&gt;&nbsp; (method)<BR>&nbsp;&nbsp;
&lt;parameter name="rc" mode="in"/&gt; ( now in the wsdl.. the param name is arg0)
<BR>&nbsp;&nbsp; &lt;parameter name="wq" mode="in"/&gt;<BR>&nbsp;
&lt;/operation&gt;</P>
<P>&lt;/service&gt;</P>
<P>&lt;/deployment&gt;</P>
<P>If I deploy using this wsdd ... and use the addParameters in my web service client
class...wud there be a change in the wsdl?&nbsp; I am sorry if this is stupid....but pls
I really need to know this asap! Thanx a lot for ur help!</P>
<P>Deepthi<BR><BR></P></DIV>
<DIV></DIV>
<DIV></DIV>&gt;From: <GEZA.SZOCS@NOKIA.COM>
<DIV></DIV>&gt;Reply-To: axis-user@xml.apache.org 
<DIV></DIV>&gt;To: <AXIS-USER@XML.APACHE.ORG>
<DIV></DIV>&gt;Subject: RE: Problem with WSDL message names 
<DIV></DIV>&gt;Date: Wed, 17 Apr 2002 11:23:31 +0200 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Hi, 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; The answer is in your classfile. If you deployed your 
<DIV></DIV>&gt;service using a ready made class file, your parameter 
<DIV></DIV>&gt;names will be lost, because they are not stored in the compiled

<DIV></DIV>&gt;class file. You have to recompile your java file using 
<DIV></DIV>&gt;compile parameters to insert full debug info into the class.

<DIV></DIV>&gt;I don't exactly remember the option, but you'll check 
<DIV></DIV>&gt;it with /?. This way the generated WSDL will comform to 
<DIV></DIV>&gt;your needs. (hopefully). At least this is the way I've done

<DIV></DIV>&gt;it. I hope this helps. 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; Geza 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;-----Original Message----- 
<DIV></DIV>&gt;From: ext DEEPTHI PRABHAKAR [mailto:deep204@hotmail.com] 
<DIV></DIV>&gt;Sent: 17. April 2002 10:13 
<DIV></DIV>&gt;To: axis-user@xml.apache.org 
<DIV></DIV>&gt;Subject: Problem with WSDL message names 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Hi all 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;I have an automatically generatd WSDL file using 
<DIV></DIV>&gt;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?? 
<DIV></DIV>&gt;Hoping to get a reply asap! 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;cheers 
<DIV></DIV>&gt;Deepthi 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Join the world's largest e-mail service with MSN Hotmail. Click
Here 
<DIV></DIV></div><br clear=all><hr>Chat with friends online,
try MSN Messenger: <a href='http://g.msn.com/1HM503401/x'>Click Here</a><br></html>

Mime
View raw message