The problem is that Java does not store the paramter names in the class file. If the class is compiled with debugging, then they can be derrived, but the differing behavior would be confusing, so tools consistently goes with the type_position format.
You can however use the configuration file to change the name to whatever you like (for both parameters and the return value). For example: | <configuration xmlns="http://www.jboss.org/jbossws-tools" | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd"> | <java-wsdl> | <service name="AccountSignupService" | endpoint="org.jboss.test.ws.wsse.signup.AccountSignup" | style="document"> | <operation name="signup" return-xml-name="SignupResponse"> | <parameter xml-name="accountInfo" type="org.jboss.test.ws.wsse.signup.AccountInfo"/> | <parameter xml-name="discountAmount" type="float"/> | <parameter xml-name="signupTime" type="java.util.Date"/> | </operation> | </service> | <namespaces target-namespace="http://org.jboss.test.ws/wsse" | type-namespace="http://org.jboss.test.ws/wsse/types" /> | <mapping file="jaxrpc-mapping.xml"/> | <webservices servlet-link="AccountSignup"/> | </java-wsdl> | </configuration> | -Jason View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952789#3952789 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952789 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
