Hello! I have some questions about Wrapped/UnWrapped Document/Literal style in Axis 1.2beta2
When I run: java org.apache.axis.wsdl.WSDL2Java -s "Test1.wsdl" --typeMappingVersion 1.2 deploy.wsdd says style="document" and the Interface looks like this: public interface SomeLevelInterface extends java.rmi.Remote { public com.test.www.test._SomeLevelResponseW someLevel(com.test.www.test._SomeLevelW parameters) throws java.rmi.RemoteException; } When I run: java org.apache.axis.wsdl.WSDL2Java -s "Test2.wsdl" --typeMappingVersion 1.2 deploy.wsdd says style="wrapped" and the Interface looks like this: public interface SomeLevelInterface extends java.rmi.Remote { public java.lang.String someLevel(java.lang.String someLevelFoo, java.lang.String someLevelBar) throws java.rmi.RemoteException; } Question 1: The difference in these two WSDL's are W prefixed to the Type names in Test1.xsd. And I don't understand why Axis choose to make one Wrapped and the other UnWrapped. Question 2: In my view.. style="document" look Wrapped.. the parameters are wrapped in a Response and Request Wrapper-Class. And style="wrapped" looks UnWrapped. What am I missing ? Hope someone (Anne maybe ? :o) have some time to enlighten me Cheers & Happy Weekend! Are T. Tysnes
Test2.xsd
Description: Binary data
Test1.wsdl
Description: Binary data
Test1.xsd
Description: Binary data
Test2.wsdl
Description: Binary data