0 Replies Latest reply on Mar 18, 2011 10:07 AM by prasadbirje

    Problem accessing an http provider end point from BPEL process

    prasadbirje

      Hi,

       

      I have a designed a BPEL process using Apache ODE. The BPEL process accesses a couple of CXF web services deployed in the same Fuse ESB container as that of BPEL process. I am noticing strange behavior with the execution of the BPEL process. The process works without any issue sometimes whereas gives following error most of the times.

       

      DomainRegistrationService has thrown exception, unwinding now

      org.apache.cxf.interceptor.Fault: Operation not bound on this message

           at org.apache.servicemix.cxfbc.interceptors.StaxJbiWrapper.getOperation(StaxJbiWrapper.java:548)[146:servicemix-cxf-bc:2010.02.0.fuse-00-00]

           at org.apache.servicemix.cxfbc.interceptors.StaxJbiWrapper.(StaxJbiWrapper.java:67)[146:servicemix-cxf-bc:2010.02.0.fuse-00-00]

           at org.apache.servicemix.cxfbc.interceptors.JbiInWsdl1Interceptor.handleMessage(JbiInWsdl1Interceptor.java:113)[146:servicemix-cxf-bc:2010.02.0.fuse-00-00]

       

       

      15:46:16,234 | WARN  | strationService/ | PhaseInterceptorChain            | ache.cxf.common.logging.LogUtils  365 |  -  -  | Interceptor for DomainRegistrationService#IsDomainAvailable has thrown exception, unwinding now

      org.apache.cxf.interceptor.Fault: Unable to convert DOM node to an Element

           at org.apache.servicemix.cxfbc.CxfBcConsumer.toElement(CxfBcConsumer.java:1072)[146:servicemix-cxf-bc:2010.02.0.fuse-00-00]

           at org.apache.servicemix.cxfbc.CxfBcConsumer.access$800(CxfBcConsumer.java:129)[146:servicemix-cxf-bc:2010.02.0.fuse-00-00]

           at

       

       

      The xbean.xml contains following HTTP end point configuration.

       

           <http:endpoint service="dm:DomainRegistrationService"

                 endpoint="DomainRegistrationPort"

                 soap="true"

                 soapVersion="1.1"

                 role="provider"  

                 locationURI="http://localhost:8192/DomainRegistrationService/"

                 defaultMep="http://www.w3.org/2004/08/wsdl/in-out" />

       

      The "Unable to convert DOM node to an Element" error is observed even when I invoke the CXF web service directly. If I remove the BPEL service assembly then the CXF web service works correctly.

       

      I also noticed when the BPEL process is deployed and the nmr:list command shows 2 endpoints of the same name as

       

      DomainRegistrationService:DomainRegistrationPort

      DomainRegistrationService:DomainRegistrationPort

       

      Can somebody please assist me with the correct configuration of the HTTP provider end point?

       

      Regards,

      Prasad