You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Reynardine <re...@loveable.com> on 2003/06/20 00:22:59 UTC

Thanks ! Re: Lost service method parameter names when deploying

James and Chris,

Your advice worked.  With javac -g and Java2WSDL -i , my new WSDL file has full parameter names e.g..

   <wsdl:message name="getConvexityRequest">
      <wsdl:part name="couponpercent" type="xsd:double"/>
      <wsdl:part name="bondprice" type="xsd:double"/>
      <wsdl:part name="yearstomaturity" type="xsd:int"/>
      <wsdl:part name="couponfreq" type="xsd:int"/>
   </wsdl:message>

Previously it was...

   <wsdl:message name="getConvexityRequest">
      <wsdl:part name="in0" type="xsd:double"/>
      <wsdl:part name="in1" type="xsd:double"/>
      <wsdl:part name="in2" type="xsd:int"/>
      <wsdl:part name="in3" type="xsd:int"/>
   </wsdl:message>

Thank you for your help.

Rey.
   
----- Original Message -----
From: James Black <jb...@ieee.org>
Date: Thu, 19 Jun 2003 16:44:02 -0400
To: axis-user@ws.apache.org
Subject: Re: Lost service method parameter names when deploying

> Chris wrote:
> 
> >Not on interfaces . . . even with -g the information doesn't get saved. What
> >I was wondering is even if you say -g when you build, do you have to say -i
> >when you run Java2Wsdl.
> >
>   When you compile the implementation stub, which implements your 
> interface, then that should be compiled with the -g flag, then when you 
> use java2wsdl use -i.
>   Here is a part of my line:
> java org.apache.axis.wsdl.Java2Wsdl --implClass 
> edu.usf.acomp.axis.AxisLMSServerStub iT 1.2 edu.usf.acomp.axis.AxisLMSServer
> 
>   AxisLMSServer is my interface and AxisLMSServerStub is the 
> implementation class.
> 
> -- 
> "We do not lose our identity in our relations with others; in part, at least, we achieve our identity by those relations." Tony Blair, 1993
> 
> 
> 

-- 
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

CareerBuilder.com has over 400,000 jobs. Be smarter about your job search
http://corp.mail.com/careers


RE: Thanks ! Re: Lost service method parameter names when deploying

Posted by Chris <cl...@trefs.com>.
Good job Rey. Not sure my advice actually helped at all, but thanks!

Good luck,
Chris

-----Original Message-----
From: Reynardine [mailto:reynardine@loveable.com]
Sent: Thursday, June 19, 2003 5:23 PM
To: axis-user@ws.apache.org
Subject: Thanks ! Re: Lost service method parameter names when deploying


James and Chris,

Your advice worked.  With javac -g and Java2WSDL -i , my new WSDL file has
full parameter names e.g..

   <wsdl:message name="getConvexityRequest">
      <wsdl:part name="couponpercent" type="xsd:double"/>
      <wsdl:part name="bondprice" type="xsd:double"/>
      <wsdl:part name="yearstomaturity" type="xsd:int"/>
      <wsdl:part name="couponfreq" type="xsd:int"/>
   </wsdl:message>

Previously it was...

   <wsdl:message name="getConvexityRequest">
      <wsdl:part name="in0" type="xsd:double"/>
      <wsdl:part name="in1" type="xsd:double"/>
      <wsdl:part name="in2" type="xsd:int"/>
      <wsdl:part name="in3" type="xsd:int"/>
   </wsdl:message>

Thank you for your help.

Rey.

----- Original Message -----
From: James Black <jb...@ieee.org>
Date: Thu, 19 Jun 2003 16:44:02 -0400
To: axis-user@ws.apache.org
Subject: Re: Lost service method parameter names when deploying

> Chris wrote:
>
> >Not on interfaces . . . even with -g the information doesn't get saved.
What
> >I was wondering is even if you say -g when you build, do you have to
say -i
> >when you run Java2Wsdl.
> >
>   When you compile the implementation stub, which implements your
> interface, then that should be compiled with the -g flag, then when you
> use java2wsdl use -i.
>   Here is a part of my line:
> java org.apache.axis.wsdl.Java2Wsdl --implClass
> edu.usf.acomp.axis.AxisLMSServerStub iT 1.2
edu.usf.acomp.axis.AxisLMSServer
>
>   AxisLMSServer is my interface and AxisLMSServerStub is the
> implementation class.
>
> --
> "We do not lose our identity in our relations with others; in part, at
least, we achieve our identity by those relations." Tony Blair, 1993
>
>
>

--
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

CareerBuilder.com has over 400,000 jobs. Be smarter about your job search
http://corp.mail.com/careers