axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Schroeder <pete.schroe...@workstate.com>
Subject Re: parameterOrder
Date Tue, 20 Sep 2005 20:46:26 GMT
Dan,

I'm pretty sure you have to emit the debugging symbols for the class  
files you are generating the WSDL for.

From: http://ws.apache.org/axis/java/user-guide.html

 > Note: If you compile your class with debug information, Java2WSDL  
will use the debug information to obtain the method parameter names.

Pete



On Sep 20, 2005, at 4:23 PM, Dan Bush wrote:

> How do I get org.apache.axis.wsdl.Java2WSD to produce WSDL which
> respects the parameter names? see http://www.w3.org/TR/wsdl#_parameter
>
> Example method:
>
> public CustomerInfo getCustomerInfo(String customerId) ...
>
> The 1.2dev version(a nightly snap I grabbed some time ago) of Java2WSD
> would actually produce:
>
> <wsdl:operation name=3D"getCustomerInfo"  
> parameterOrder=3D"customerId">
>
> but 1.2.1 of Java2WSD produces:
>
> <wsdl:operation name=3D"getCustomerInfo" parameterOrder=3D"in0">
>
> I am generating RPC/literal and want the parameterOrder attributes=20
> - Hide quoted text -
> values to be the actual parameter names for interop with .NET. I have
> this working with a nightly snap but, I can't seam to get it together
> with the 1.2.1 final. Was there an impl change internally for
> compliance or is there some waw to control this behavior that I have
> overlooked? Or do I have to start with WSDL to make this work?
>
> Thanks,
> Dan
>


Mime
View raw message