. . . but here is an IBM web page that shows an example (scroll down a little) of doc literal wrapped but it makes no sense to me as to why it is wrapped:
'. . . name of the input element is the same as the name of the operation . . .'
. . . so, my questions are:
1. Is the above IBM web page example also doc/literal wrapped?
2. If so, and for any WSDL, what specifically do I look at in Stylus Studio to know for sure if something is wrapped or not?
In other words, if I am looking at a diagram of some WSDL, what elements and/or names do I match up to know 100% it is wrapped and can I always do it at the WSDL level or do I need to sometimes look at the schema diagrams?
3. Is doc/literal wrapped officially defined by the w3 (I could not find it) or are folks using a loose definition of it?
Subject:Doc/Literal Wrapped Author:Ivan Pedruzzi Date:07 Apr 2009 01:49 AM
Hi Taylor,
Document/Literal/Wrapped is a convention invented by Microsoft, it is based on document/literal and adds some additional restrictions:
- The input messages always references a single global element named with the operation's name. The global elements embeds a complex type which inside defines the operation's parameters.
- The Output messages always references a single global element named with the operation name plus the suffix "Response".
The Stylus Studio WSDL editor should help you to determine if the above rules are used.
Subject:Doc/Literal Wrapped Author:taylor corey Date:07 Apr 2009 03:50 AM
Hi Ivan,
Thanks for the reply, that helps a lot. The diagrams are nice and I have no problems visually seeing what I read in a book about the different WSDL styles but doc/literal wrapped is really frustrating because I did not know what to look for in the diagram.
I searched the MS website and could not find anything that describes the wrapped style, is there such a page from MS?
Also, is the wrapped style a sort of 'loose' spec? In other words, if I look at a diagram of some WSDL and see all the elements you describe, but the output message references a global element that does not use a 'response' suffix, is it still a wrapped style?