Examples of MapBuilder


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

   @Override
   public boolean handleOutbound(MessageContext msgContext)
   {
      log.info("handleResponse");
     
      MAPBuilder builder = MAPBuilderFactory.getInstance().getBuilderInstance();
      MAP inProps = builder.inboundMap(msgContext);
      MAP outProps = builder.newMap();
      if (inProps.getReplyTo() != null)
         outProps.initializeAsDestination(inProps.getReplyTo());
      outProps.setAction("http://org.jboss.ws/addressing/stateful/actionReply");
     
      outProps.installOutboundMapOnServerSide(msgContext, outProps);
      msgContext.setScope(builder.newConstants().getServerAddressingPropertiesOutbound(), Scope.APPLICATION);

      return true;
   }
View Full Code Here

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

      return (replyTo != null ? new NativeMAPEndpoint(replyTo) : null);
   }

   public MAPRelatesTo getRelatesTo()
   {
      MAPBuilder builder =  NativeMAPBuilder.getBuilder();
      Relationship[] relationship = implementation.getRelatesTo();
      if (relationship != null && relationship.length > 0)
      {
         Relationship relatesTo = relationship[0];
         return builder.newRelatesTo(relatesTo.getID().toString(), relatesTo.getType());
      }
      else
      {
         return null;
      }
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.