Package org.jboss.ws.core.soap

Examples of org.jboss.ws.core.soap.SOAPConnectionImpl


         sb.append("</env:Body>");
         sb.append("</env:Envelope>");

         SOAPMessage reqMsg = msgFactory.createMessage(null, new ByteArrayInputStream(sb.toString().getBytes()));
         URL epURL = new URL(notifyTo.getAddress().getValue());
         new SOAPConnectionImpl().callOneWay(reqMsg, epURL);
      }
      catch (Exception e)
      {
         SubscriptionManagerMBean manager = factory.getSubscriptionManager();
         AttributedURIType address = this.endTo.getAddress();
View Full Code Here


      try
      {
         MessageFactory msgFactory = MessageFactory.newInstance();
         SOAPMessage reqMsg = msgFactory.createMessage(null, new ByteArrayInputStream(sb.toString().getBytes()));
         URL epURL = new URL(endTo.getAddress().getValue());
         new SOAPConnectionImpl().callOneWay(reqMsg, epURL);
      }
      catch (Exception e)
      {
         log.warn("Failed to send subscription end message to: " + this.endTo + "("+e.getMessage()+")");
      }
View Full Code Here

      }
      if (wsaTo != null)
      {
         log.debug("Sending response to addressing destination: " + wsaTo);
         SOAPMessage soapMessage = (SOAPMessage)resMessage;
         new SOAPConnectionImpl().callOneWay(soapMessage, wsaTo);
      }
      else
      {
         // FastInfoset support
         if (epMetaData.isFeatureEnabled(FastInfosetFeature.class) && resMessage instanceof SOAPMessage)
View Full Code Here

         sb.append("</env:Body>");
         sb.append("</env:Envelope>");

         SOAPMessage reqMsg = msgFactory.createMessage(null, new ByteArrayInputStream(sb.toString().getBytes()));
         URL epURL = new URL(notifyTo.getAddress().getValue());
         new SOAPConnectionImpl().callOneWay(reqMsg, epURL);
      }
      catch (Exception e)
      {
         SubscriptionManagerMBean manager = factory.getSubscriptionManager();
         AttributedURIType address = this.endTo.getAddress();
View Full Code Here

      try
      {
         MessageFactory msgFactory = MessageFactory.newInstance();
         SOAPMessage reqMsg = msgFactory.createMessage(null, new ByteArrayInputStream(sb.toString().getBytes()));
         URL epURL = new URL(endTo.getAddress().getValue());
         new SOAPConnectionImpl().callOneWay(reqMsg, epURL);
      }
      catch (Exception e)
      {
         log.warn("Failed to send subscription end message to: " + this.endTo + "("+e.getMessage()+")");
      }
View Full Code Here

/* 340 */         wsaTo = null;
/*     */     }
/* 342 */     if (wsaTo != null)
/*     */     {
/* 344 */       log.debug("Sending response to addressing destination: " + wsaTo);
/* 345 */       new SOAPConnectionImpl().callOneWay((SOAPMessage)resMessage, wsaTo);
/*     */     }
/*     */     else
/*     */     {
/* 349 */       resMessage.writeTo(outputStream);
/*     */     }
View Full Code Here

/*  98 */       sb.append("</env:Body>");
/*  99 */       sb.append("</env:Envelope>");
/*     */
/* 101 */       SOAPMessage reqMsg = msgFactory.createMessage(null, new ByteArrayInputStream(sb.toString().getBytes()));
/* 102 */       URL epURL = new URL(this.notifyTo.getAddress().getValue());
/* 103 */       new SOAPConnectionImpl().callOneWay(reqMsg, epURL);
/*     */     }
/*     */     catch (Exception e)
/*     */     {
/* 107 */       SubscriptionManagerMBean manager = this.factory.getSubscriptionManager();
/* 108 */       AttributedURIType address = this.endTo.getAddress();
View Full Code Here

/*     */     try
/*     */     {
/* 174 */       MessageFactory msgFactory = MessageFactory.newInstance();
/* 175 */       SOAPMessage reqMsg = msgFactory.createMessage(null, new ByteArrayInputStream(sb.toString().getBytes()));
/* 176 */       URL epURL = new URL(this.endTo.getAddress().getValue());
/* 177 */       new SOAPConnectionImpl().callOneWay(reqMsg, epURL);
/*     */     }
/*     */     catch (Exception e)
/*     */     {
/* 181 */       log.warn("Failed to send subscription end message to: " + this.endTo + "(" + e.getMessage() + ")");
/*     */     }
View Full Code Here

      }
      if (wsaTo != null)
      {
         log.debug("Sending response to addressing destination: " + wsaTo);
         SOAPMessage soapMessage = (SOAPMessage)resMessage;
         new SOAPConnectionImpl().callOneWay(soapMessage, wsaTo);
      }
      else
      {
         // FastInfoset support
         if (epMetaData.isFeatureEnabled(FastInfosetFeature.class) && resMessage instanceof SOAPMessage)
View Full Code Here

      }
      if (wsaTo != null)
      {
         log.debug("Sending response to addressing destination: " + wsaTo);
         SOAPMessage soapMessage = (SOAPMessage)resMessage;
         new SOAPConnectionImpl().callOneWay(soapMessage, wsaTo);
      }
      else
      {
         // FastInfoset support
         if (epMetaData.isFeatureEnabled(FastInfosetFeature.class) && resMessage instanceof SOAPMessage)
View Full Code Here

TOP

Related Classes of org.jboss.ws.core.soap.SOAPConnectionImpl

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.