Package org.jboss.internal.soa.esb.webservice.addressing

Examples of org.jboss.internal.soa.esb.webservice.addressing.MAPEndpoint


      MAP outProps = builder.newMap();
      outProps.setTo("uri:jaxrpc-samples-wsaddressing/TestService");
      outProps.setMessageID("urn:uuid:" + UUIDGenerator.generateRandomUUIDString());
      outProps.setAction("http://webservice.webservicewsa.quickstart.samples.esb.soa.jboss.org/" + action);

      MAPEndpoint replyTo = builder.newEndpoint(ADDR.getAnonymousURI());
      outProps.setReplyTo(replyTo);

      // Assign a new clientid
      if (clientID == null)
      {
         clientID = "clientid-" + (++maxClientId);
         log.info("New clientid: " + clientID);
      }

      try
      {
         Element ele = DOMUtils.parse(getClientIdElement(clientID));
         replyTo.addReferenceParameter(ele);
      }
      catch (IOException e)
      {
         throw new RuntimeException(e);
      }
View Full Code Here


      if (addrProps == null)
         throw new IllegalStateException("Cannot obtain AddressingProperties");

      String clientid = null;
      MAPEndpoint replyTo = addrProps.getReplyTo();
      List<Object> refParams = replyTo == null? new ArrayList<Object>() : replyTo.getReferenceParameters();
      for (Object obj : refParams)
      {
         if (obj instanceof Element)
         {
            Element el = (Element)obj;
View Full Code Here

TOP

Related Classes of org.jboss.internal.soa.esb.webservice.addressing.MAPEndpoint

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.