have wsn component working with subscribe and notify, topics and messages can
be viewed in the jmx console. now would like to createPullPont and
getMessages. createPullPoint request:

<wsnt:CreatePullPoint 
  xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2";
  xmlns:sm="http://servicemix.apache.org/wsn2005/1.0";>
  <sm:address> 
    http://www.consumer.org/service/endpoint
  </sm:address>
</wsnt:CreatePullPoint>

succeeds with this response:

<CreatePullPointResponse xmlns:ns2="http://www.w3.org/2005/08/addressing";
xmlns:ns3="http://docs.oasis-open.org/wsrf/bf-2";
xmlns:ns4="http://docs.oasis-open.org/wsn/b-2";
xmlns:ns5="http://docs.oasis-open.org/wsn/t-1";>
      <ns4:PullPoint>
        <ns2:Address>http://www.consumer.org/service/endpoint</ns2:Address>
      </ns4:PullPoint>
    </CreatePullPointResponse>

how do i construct a getMessages request for this example?  i believe was:To
address is required.
my servicemix config is per the wsn-http example:

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:http="http://servicemix.apache.org/http/1.0";
       xmlns:wsn="http://servicemix.org/wsnotification";>

  <http:endpoint service="wsn:NotificationBroker"
                 endpoint="http-binding"
                 targetService="wsn:NotificationBroker"
                 targetEndpoint="Broker"
                 role="consumer"
                 locationURI="http://localhost:8192/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="http://localhost:8192/CreatePullPoint/";
                 defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
                 soap="true"/>

</beans>




-- 
View this message in context: 
http://www.nabble.com/WSN-PullPoint-getMessages-tf4179625s12049.html#a11885355
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to