I'm using the Maven 2 plugin for executing Wsdl2Java.  Although my WSDL
is in doc/literal wrapped style, the generated code specifies
SOAPBinding.ParameterStyle.BARE.  And the style of the generated methods
is also bare-for example:

 

    @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)

    @WebResult(targetNamespace = "http://mycompany.com/ws";, partName =
"body", name = "MyOperationResponse")

    @WebMethod(operationName = "MyOperation")

    public com.mycompany.ws.MyOperationResponseType myOperation(

        @WebParam(targetNamespace = "http://mycompany.com/ws";, partName
= "body", name = "MyOperation")

        com.mycompany.ws.MyOperationType body

    );

 

If I run the same WSDL through the XFire 1.2.5 generator, it correctly
identifies it as doc/literal wrapped and generates code in that style.
So I suspect my WSDL is correct.

 

I didn't see any open issues regarding this-is anyone else having
problems with it?  Any suggestions for things I might try?  Any gotchas
between how XFire identifies wrapped style and how CXF identifies it?

 

Thanks,

Chris

 

 

Reply via email to