Skip to main content

A wsdl msg part created from a element or complex type,what is differences?

2 replies [Last post]
Joined: 2005-12-28

Thank you for reading my post
In netbeans we can create a wsdl from scratch and we can choose to import a xsd into the wsdl , after that we can set message parts' types from xsd elements or xsd complex type, what are/is differences between using element or "complex type" as message part type.


Reply viewing options

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

If you want your service as rpc/lit style, the standard way is to use complex types in the message part definitions. With doc/lit style, the message parts should refer to elements, as per the WS-I Basic profile.

Joined: 2003-06-09

It affects the XML representation on the wire slightly.

You should just choose the one you want to use. Really.