Package org.jboss.soa.esb.samples.quickstart.webservice_consumer2

Examples of org.jboss.soa.esb.samples.quickstart.webservice_consumer2.OrderProcessorWS


public class OrderProcessorWS
{
   @WebMethod
   public OrderStatus processOrder(@WebParam(name = "order") Order order)
   {
    OrderStatus status = new OrderStatus();
    System.out.println("Order is: " + order.toString());
    
    status.setComment("order processed");
    status.setId(order.getId());
    status.setReturnCode(OrderStatus.SUCCESS);
   
      return status;

   }
View Full Code Here


      assertTrue("Expected to find string " + RESULT_STRING + " found " + sinkMessages[0],
          sinkMessages[0].equals(RESULT_STRING));
  }

  public void sendMessage() throws Exception {
    SendJMSMessage sm = new SendJMSMessage();
    sm.setupConnection();
    sm.sendAMessage(JMS_MESSAGE);
    sm.stop();
  }
View Full Code Here

TOP

Related Classes of org.jboss.soa.esb.samples.quickstart.webservice_consumer2.OrderProcessorWS

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.