hi,
I managed to get it working using a WS-Client instead of the client.xml provided. I am able to send a subscribe request and a notification to the broker. I have a web service that receives notifications but it receives the notification without the Soap Header just as explained in this chain. Is there a solution for the problem?
I added one endpoint in the wsn.xml file provided for a role as 'Provider' but there is no difference. The soap attribute is set to 'true' but still it sends the notification without the Soap headers.
<http:endpoint service="wsn:NotificationBroker"
endpoint="http-binding"
targetService="wsn:NotificationBroker"
targetEndpoint="Broker"
role="consumer"
locationURI="${baseUrl}/Broker/"
defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
soap="true"/>
<http:endpoint service="wsn:NotificationBroker"
endpoint="http-binding"
targetService="wsn:NotificationBroker"
targetEndpoint="Broker"
role="provider"
locationURI="${baseUrl}/Broker/"
defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
soap="true"/>
<http:endpoint service="wsn:CreatePullPoint"
endpoint="http-binding2"
targetService="wsn:CreatePullPoint"
targetEndpoint="Broker"
role="consumer"
locationURI="${baseUrl}/CreatePullPoint/"
defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
soap="true"/>