| Author |
Can WSDL have both Document style and RPC Style ?
|
lavnish lalchandani
Ranch Hand
Joined: Feb 28, 2007
Posts: 78
|
|
Hi
As per my knowledge in a WSDL
A message part may declare either a type attribute or an element attribute, but not both. Which to use depends on the kind of messaging you're doing. If you're using RPC-style messaging, the part elements must use the type attribute; if you're using document-style messaging, the part elements must use the element attribute
Is a WSDL like this valid ?
<!-- message elements describe the input and output parameters -->
<message name="GetBookPriceRequest">
<part name="isbn" type="xsd:string" />
</message>
<message name="GetBookPriceResponse">
<part name="price" type="xsd:float" />
</message>
<message name="InvalidArgumentFault">
<part name="error_message" element="mh:InvalidIsbnFaultDetail" />
</message>
</definitions>
here GetBookPriceRequest & GetBookPriceResponse seems to be in RPC style and Fault seems to be in document style
|
 |
 |
I agree. Here's the link: jrebel
|
|
subject: Can WSDL have both Document style and RPC Style ?
|
|
|