As long as we're on the topic, I feel compelled to note that the distinction between doc/literal/wrapped and doc/literal/bare exists solely at the tool level. WSDL doesn't differentiate between them; services are just doc/literal. The ASMX code gen tools use a portType's operation's message's part's name attribute to decide what to do. If the value is “parameters”, the service is wrapped. In that case, the element in the message body maps to the operation and its contents map to parameters. If the value is anything else, e.g., “body”, the service is bare. In that case, the element(s) in the message body maps to parameter(s). (For WS-I Basic Profile compatibility, a bare service should only have one child element inside the body of a message.)
Posted
Jun 30 2004, 12:12 PM
by
tim-ewald