I am using the javaToWSDL tool to generate the WSDL file from a SLSB, which
works just fine.
The only issue I have is that the tool is generating the WSDL file using
String_1, String_2 etc for the method parameter names
The method in the Service Interface
public java.lang.String echo( java.lang.String echo )
Ant code
<wstools dest="${meta-inf.dir}" config="${resources.dir}/dd/ws/jboss-ws.xml" />
The configuration file
<configuration xmlns="http://www.jboss.org/jbossws-tools">
| <javaToWSDL>
| <service name="DataRetrieve" wsdlStyle="rpc"
endpoint="com.me.ws.interfaces.DataRetrieveService"/>
| <namespaces targetNamespace="http://com.me.ws/DataRetrieve"
typeNamespace="http://com.me.ws/types"/>
| <mapping fileName="jaxrpc-mapping.xml"/>
| <wsxml ejbLink="DataRetrieve"/>
| </javaToWSDL>
| </configuration>
Part of the generated WSDL file
<message name="DataRetrieveService_echo">
| <part name="String_1" type="xsd:string" />
| </message>
What I want to achieve is to get the WSDL file to use the same name for the
part name as the parameter, e.g:
<message name="DataRetrieveService_echo">
| <part name="echo" type="xsd:string" />
| </message>
Anybody?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3942494#3942494
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3942494
-------------------------------------------------------
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