Hello Dink, The JAX-RPC 1.1 spec describes the "wrapped" style briefly. It is a variation of Document/literal, and is the recommended style/use to use.
With Axis, you have: Document/literal(wrapped): -s WRAPPED -y literal Document/literal: -s DOCUMENT -y literal RPC/literal: -s RPC -y literal RPC/encoded: -s RPC -y encoded I have never seen Document/encoded, maybe Axis doesn't even support it. #In case of Document/literal(wrapped), the WSDL says style="document", but SOAP engines use some criteria to recognize that they are "wrapped". The WSDD says "wrapped" if it recognized a Document/literal port as being Document/literal(wrapped). Regards, Dies Dink wrote: > Dear Sir: > > I have some confusion about the style and the use of web services. In WSDL > 1.1 specification, there are four kinds of combinations of style and use. > They are RPC/Encoded, RPC/literal, Document/Encoded, and Document/literal. > The RPC/Encoded and Document/literal are the most common used ones. In Axis, > the user guide tells me there are four kinds of styles of web services > defined. They are RPC, Document, Wrapped and Message. However the axis.jar > has a Java2WSDL tool, the tool provides us to specify the service style as > Document, RPC and Wrapped. Can somebody help me to classify the relationship > of these service styles between the WSDL specificatiom, Axis userguide and > Axis Java2WSDL tool? They really makes me confused a lot. Why not Axis > Java2WSDL provides all kinds of web service styles? Thanks in advance. > > Dink Lo
