This content has been marked as final.
Show 4 replies
-
1. Re: javaToWSDL ? How to configure message part names?
thomas.diesler May 10, 2006 9:24 AM (in response to steinar.ardal)This information is not available through java reflection, you will have to use JSR181 @WebParam
From JBossWS 1.0.0.GA it is also possible to specify the names of the
parameters to be used in the generated WSDL by adding an operation
mapping to the service element e.g.<service name="PhoneBookService" style="document" endpoint="com.darranl.ws.paramorder.PhoneBookService"> <operation name="lookup"> <parameter type="java.lang.String" xml-name="surname" /> <parameter type="java.lang.String" xml-name="foreName" /> <parameter type="java.util.Date" xml-name="dob" /> <parameter type="java.lang.String" xml-name="id" /> </operation> </service>
-
2. Re: javaToWSDL ? How to configure message part names?
sgao May 10, 2006 10:57 AM (in response to steinar.ardal)Hi
Where I can find more detailed configuration doc for the wstools and configuration file
Thanks -
3. Re: javaToWSDL ? How to configure message part names?
sgao May 10, 2006 10:59 AM (in response to steinar.ardal)For example, how many feature and options wstools support and how to use them.
UserGuide is not that complete which simply just point to its xsd.
Thanks -
4. Re: javaToWSDL ? How to configure message part names?
steinar.ardal May 10, 2006 11:10 AM (in response to steinar.ardal)You?re a star!!
We are still developing in Java 1.4, so we can?t use the JSR181 @WebParam, but the code you gave worked just fine!!
Thanks