Skip to main content

Part names in generated wsdl file are not mapping to argument names...

1 reply [Last post]
Joined: 2004-10-19

I have a question, is there any way to map part names in generated wsdl file to argument names of method declaration in interface.

partnames are String_1, String_2 in generated wsdl file, and it does not mean anything as below

My method decleration is as

public MM7Response processMm7CancelReq(String messageId, String senderAddress, String vasId, String vaspId) throws RemoteException;

and i want generated wsdl file as below

My wscompile command is as below,

wscompile -d etc -define -g -keep -model etc/model.xml.gz -verbose -Xprintstacktrace etc/config.xml -classpath java/classes

Best regards

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-06-16

Not with JAX-RPC, but with JAX-WS you can use the WebParam annotations. You can download JAX-WS EA2 at: