Solicit Response And Notification in WSDL 1.1
Naresh Agarwal <[email protected]>
| Newsgroups | gmane.comp.windows.devel.soap.general |
|---|---|
| Message-ID | <[email protected]> |
Hi,
WSDL has four transmission primitives (Section 2.4, WSDL 1.1 ) that an endpoint (say X) can support-
* One-way. The endpoint X receives a message.
* Request-response. The endpoint X receives a message, and sends a correlated message.
* Solicit-response. The endpoint X sends a message, and receives a correlated message.
* Notification. The endpoint X sends a message.
In case of Solicit-response, WSDL for endpoint X, would look like as follows:
<wsdl:definitions .... >
<wsdl:portType .... > *
<wsdl:operation name="A" parameterOrder="nmtokens">
<wsdl:output name="nmtoken"? message="qname"/>
<wsdl:input name="nmtoken"? message="qname"/>
<wsdl:fault name="nmtoken" message="qname"/>*
</wsdl:operation>
</wsdl:portType >
</wsdl:definitions>
In case of Notification, WSDL for endpoint X, would look like as follows:.
<wsdl:definitions .... >
<wsdl:portType .... > *
<wsdl:operation name="B">
<wsdl:output name="nmtoken"? message="qname"/>
</wsdl:operation>
</wsdl:portType >
</wsdl:definitions>
Now an endpoint (say Y ), needs to communicate with X using it's WSDL.
In case of Solicit-Response and Notification, the endpoint X would send some message to endpoint Y.
Now, I have following queries:-
1) Who has (X or Y) implemented the operations A and B?
2) Who would call (X or Y) the operations A and B?
Any help would be greatly appreciated!
thanks,
regards,
Naresh Agarwal
You can read messages from the SOAP archive, unsubscribe from SOAP, or subscribe to other
DevelopMentor lists at http://discuss.develop.com.