Say I have the following WSDL operation, with one WSDL message part per parameter, on an SCA reference:

<message name="getQuoteRequest">
<part name="symbol" ...>
<part name="time" ...>
</message>

<portType ...>
<operation name="getQuote" ...>
  <input message="getQuoteRequest" ...>
  ...
</operation>

Can I use the following doc-wrapped style WSDL operation, with one XSD element per parameter, on the binding configured on that reference?

<types>
<schema ...>
<element name="getQuote" ...>
  <element name="symbol" .../>
  <element name="time" .../>
</element>
</schema>
</types>

<message name="getQuoteRequest">
<part name="getQuote" element="getQuote" ...>
</message>

<portType ...>
<operation name="getQuote" ...>
  <input message="getQuoteRequest" ...>
  ...
</operation>

Is that combination allowed, or will I get a data binding validation error?

Is the Tuscany databinding framework (which I believe is able to automagically mediate between non-wrapped and doc-wrapped-style operations in some cases) capable of handling that combination and transforming invocations from the reference to the binding format?

--
Jean-Sebastien

Reply via email to