Examples of SubscriptionEndDocument


Examples of org.xmlsoap.schemas.ws.x2004.x08.eventing.SubscriptionEndDocument

         LOG.info( "SubscriptionEnd without notification" );
         return;
      }

      //send SubscriptionEnd Notification
      SubscriptionEndDocument                 sedom   = SubscriptionEndDocument.Factory.newInstance(  );
      SubscriptionEndDocument.SubscriptionEnd se      = sedom.addNewSubscriptionEnd(  );
      LanguageSpecificStringType              reasont = se.addNewReason(  );
      reasont.setStringValue( reason );
      try
      {
         //now call
         wsaSOAPConnection sconn = wsaSOAPConnection.newInstance(  );
         MessageFactory    mf    = MessageFactory.newInstance(  );
         SOAPMessage       soapm = mf.createMessage(  );

         //put XMLbean into SOAPBody
         soapm.getSOAPBody(  ).addDocument( (org.w3c.dom.Document) sedom.newDomNode(  ) );

         sconn.call( soapm, epr );
      }
      catch ( Exception e )
      {
View Full Code Here

Examples of org.xmlsoap.schemas.ws.x2004.x08.eventing.SubscriptionEndDocument

        if(epr==null){
            LOG.info("SubscriptionEnd without notification");
            return;
        }
        //send SubscriptionEnd Notification
        SubscriptionEndDocument sedom = SubscriptionEndDocument.Factory.newInstance();
        SubscriptionEndDocument.SubscriptionEnd se = sedom.addNewSubscriptionEnd();
        LanguageSpecificStringType reasont = se.addNewReason();
        reasont.setStringValue(reason);
        try{
            //now call
            wsaSOAPConnection sconn = wsaSOAPConnection.newInstance();
            MessageFactory mf = MessageFactory.newInstance();
            SOAPMessage soapm = mf.createMessage();
            //put XMLbean into SOAPBody
            soapm.getSOAPBody().addDocument((org.w3c.dom.Document) sedom.newDomNode());

            sconn.call(soapm, epr);
        }catch(Exception e){
            e.printStackTrace();
        }       
View Full Code Here

Examples of org.xmlsoap.schemas.ws.x2004.x08.eventing.SubscriptionEndDocument

         LOG.info( "SubscriptionEnd without notification" );
         return;
      }

      //send SubscriptionEnd Notification
      SubscriptionEndDocument                 sedom   = SubscriptionEndDocument.Factory.newInstance(  );
      SubscriptionEndDocument.SubscriptionEnd se      = sedom.addNewSubscriptionEnd(  );
      LanguageSpecificStringType              reasont = se.addNewReason(  );
      reasont.setStringValue( reason );
      try
      {
         //now call
         wsaSOAPConnection sconn = wsaSOAPConnection.newInstance(  );
         MessageFactory    mf    = MessageFactory.newInstance(  );
         SOAPMessage       soapm = mf.createMessage(  );

         //put XMLbean into SOAPBody
         soapm.getSOAPBody(  ).addDocument( (org.w3c.dom.Document) sedom.newDomNode(  ) );

         sconn.call( soapm, epr );
      }
      catch ( Exception e )
      {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.