...
The SOAP messages are as follows:
1) createPullPoint
>>>>>
Code Block | ||||
---|---|---|---|---|
| ||||
<!-- |
...
Sample CreatePullPoint request sent to http://localhost:8192/CreatePullPoint/ |
...
--> |
...
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> |
...
<env:Header /> |
...
<env:Body> |
...
<wsnt:CreatePullPoint |
...
xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" /> |
...
</env:Body> |
...
</env:Envelope> |
<<<<<
Code Block | ||||
---|---|---|---|---|
| ||||
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> |
...
<env:Body> |
...
<ns4:CreatePullPointResponse |
...
xmlns:ns2="http://www.w3.org/2005/08/addressing" |
...
xmlns:ns4="http://docs.oasis-open.org/wsn/b-2" |
...
xmlns:ns3="http://docs.oasis-open.org/wsrf/bf-2" |
...
xmlns:ns5="http://docs.oasis-open.org/wsn/t-1"> |
...
<ns4:PullPoint> |
...
<ns2:Address> |
...
http://servicemix.org/wsnotification/PullPoint/ID-some-host-38972-1188922931357-6-0 |
...
</ns2:Address> |
...
</ns4:PullPoint> |
...
</ns4:CreatePullPointResponse> |
...
</env:Body> |
...
</env:Envelope> |
2) subscribe (pullPoint)
>>>>>
<!--
Sample Subscribe request sent to http://localhost:8192/Broker/
-->
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header />
<env:Body>
<wsnt:Subscribe xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"
xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsnt:ConsumerReference>
<wsa:Address>
<!-- returned from createPullPoint -->
endpoint:http://servicemix.org/wsnotification/PullPoint/ID-some-host-38972-1188922931357-6-0
</wsa:Address>
</wsnt:ConsumerReference>
<wsnt:Filter>
<wsnt:TopicExpression
Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Simple">
BrewProcess
</wsnt:TopicExpression>
</wsnt:Filter>
</wsnt:Subscribe>
</env:Body>
</env:Envelope>
...