Examples of EbMSPortType


Examples of nl.clockwork.mule.ebms.service.EbMSPortType

  public Object onCall(MuleMessage message) throws Exception
  {
    if (message.getPayload() instanceof EbMSMessage)
    {
      EbMS service = new EbMS();
      EbMSPortType ebMS = service.getEbMSPort();

      EbMSMessage msg = (EbMSMessage)message.getPayload();

      CollaborationProtocolAgreement cpa = ebMSDAO.getCPA(msg.getMessageHeader().getCPAId());
      CPAUtils.getPartyInfo(cpa,msg.getMessageHeader().getTo().getPartyId());
      //get transportreceiver CPAUtils.
     
      String url = "http://localhost:63081/greeter";
      ((BindingProvider)ebMS).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,url);

      ebMS.message(msg.getMessageHeader(),msg.getSyncReply(),msg.getMessageOrder(),msg.getAckRequested(),msg.getManifest());
    }
    return message;
  }
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.