Package org.jboss.internal.soa.esb.actions.bpel

Examples of org.jboss.internal.soa.esb.actions.bpel.ESBInvocationAdapter


    javax.xml.namespace.QName qname=javax.xml.namespace.QName.valueOf(serviceName);
   
    logger.debug("Invoking service: "+qname);

    // Create invocationContext
    ESBInvocationAdapter invocationContext =
      new ESBInvocationAdapter(_config.getAttribute(OPERATION), qname, _config.getAttribute(PORT));
    invocationContext.setRequestXML(mesgElem);
   
    establishHeaderParts(invocationContext);
   
    // invoke ODE
    try {
      engine.invoke(invocationContext);
    } catch(Throwable t) {
      // RIFTSAW-177 - prevent ODE specific exceptions being returned to ESB client where
      // a ClassNotFoundException would be thrown
      throw new Exception("BPEL invoke failed: "+t);
    }
   
    ret = handleResponse(invocationContext.getInvocationResult(),
              invocationContext.getFaultName(), serviceName, proxy, f_toText);

    return(ret);  
  }
View Full Code Here


  }

  public void invoke(InvocationAdapter invocationAdapter)
      throws Exception {
   
    ESBInvocationAdapter esbCtx = (ESBInvocationAdapter) invocationAdapter;
    m_request = esbCtx.getRequestXML();
    esbCtx.setResponseXML(m_response);
    esbCtx.setFaultName(m_faultName);
  }
View Full Code Here

TOP

Related Classes of org.jboss.internal.soa.esb.actions.bpel.ESBInvocationAdapter

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.