Package org.apache.ws.muws.interop.client

Examples of org.apache.ws.muws.interop.client.ResourceStub


   */
  public void onConnect() {
        try {
          startListener();
          // Subscribe
      m_resource = new ResourceStub( getEpr(subsciberInfoJPanel.getResourceUrl(),null) );
      EndpointReference response = m_resource.subscribe(subsciberInfoJPanel.getNotificationLister(),new QName(subsciberInfoJPanel.getTopicNamespace(),subsciberInfoJPanel.getTopicName()));
     
     
    } catch (XmlException e) {
      // TODO Auto-generated catch block
View Full Code Here


                   XmlException
    {
        //build a resource stub for the weather station you plan to talk to
        XmlBeansEndpointReference xepr =
                new XmlBeansEndpointReference(WEATHER_STATION_1_EPR_DOC.getEndpointReference());
        m_resource = new ResourceStub(xepr);

        //make sure to have path in consumer url...not sure if he still needs it be we had added at one point
        String consumerUrl = "http://12.35.246.160:8001/notifs";

        //subscribe for the events
View Full Code Here

     *
     * @param xepr
     */
    private void sendRecalibrateRequest(XmlBeansEndpointReference xepr)
    {
        ResourceStub sstub = new ResourceStub(xepr);
        RecalibrateDocument recalibrateDocument = RecalibrateDocument.Factory.newInstance();
        recalibrateDocument.addNewRecalibrate();
        sstub.sendRequest(recalibrateDocument,
                          "http://recalibrate");
    }
View Full Code Here

TOP

Related Classes of org.apache.ws.muws.interop.client.ResourceStub

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.