|
Yes and no. The normal programming model for .NET
is an RPC-style invocation -- and that's regardless of whether the message is
formatted using doc/literal or rpc/encoded. The really important thing to grok
here is that the application program really shouldn't be concerned with whether
it uses doc/literal or rpc/encoded. The SOAP runtime is responsible for
marshalling and unmarshalling the messages, so it handles the process of
creating doc/literal or rpc/encoding messages. From the service agent
developer's point of view, all he needs to do is choose one versus the other
(and based on WS-I BP, the developer should choose doc/literal). The SOAP
runtime should do the rest.
As I said, the .NET parameterStyle attribute tells
.NET how to generate the <types> section of the WSDL document when it's
generating the WSDL from the service code. My recommendation is NEVER use
"bare". Always use "wrapped". Most SOAP implementations don't know how to deal
with multiple child elements of the soap:body -- and "bare" generates a
different child element for each paramater, so "bare" will definitely cause
interop problems.
Frameworks like Axis don't need to be concerned
with what goes on inside .NET. They just need to properly interpret the WSDL
file. As long as it generates a SOAP message that corresponds to the WSDL
input message it should work.
Anne
|
Title: RE: wrapped services
- RE: wrapped services Krzysztof Swietlinski
- RE: wrapped services Davanum Srinivas
- RE: wrapped services Cory Wilkerson
- Re: wrapped services Anne Thomas Manes
- RE: wrapped services Wendy Smoak
- Re: wrapped services Anne Thomas Manes
- RE: wrapped services Wendy Smoak
- Re: wrapped services Anne Thomas Manes
- RE: wrapped services Cory Wilkerson
- RE: wrapped services Cory Wilkerson
- RE: wrapped services Anne Thomas Manes
- RE: wrapped services Wendy Smoak
- Re: wrapped services Anne Thomas Manes
- RE: wrapped services Mike Perham
