2 Replies Latest reply on Jun 29, 2007 10:24 AM by rainstar79

    [jBPM-BPEL]Endpoint does not contain operation metadata????

    rainstar79

      Hi,
      When I want to invoke my deployed BPEL process, I got a strange exception:

      17:25:34,241 ERROR [SOAPFaultHelperJAXRPC] SOAP request exception
      javax.xml.rpc.soap.SOAPFaultException: Endpoint {http://SampleProject}ProcessRol
      ePort does not contain operation meta data for: {http://SampleProject}operation1
      
       at org.jboss.ws.core.server.AbstractServiceEndpointInvoker.getDispatchDe
      stination(AbstractServiceEndpointInvoker.java:267)
       at org.jboss.ws.core.server.AbstractServiceEndpointInvoker.invoke(Abstra
      ctServiceEndpointInvoker.java:149)
       at org.jboss.ws.core.server.ServiceEndpoint.handleRequest(ServiceEndpoin
      t.java:204)
       at org.jboss.ws.core.server.ServiceEndpointManager.processSOAPRequest(Se
      rviceEndpointManager.java:440)
       at org.jboss.ws.core.server.AbstractServiceEndpointServlet.doPost(Abstra
      ctServiceEndpointServlet.java:114)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
       at org.jboss.ws.core.server.AbstractServiceEndpointServlet.service(Abstr
      actServiceEndpointServlet.java:75)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
      ....
      
      


      The deployment of the process goes perfect, but the invocation fails all the time. It is a pretty simple BPEL process - according to the hello world example. It assigns an input-string directly to an output string.

      Has anyone an idea how to solve this problem?!?

      I am using jBoss 4.0.5.GA, jbpm-bpel-1.1beta3, jwsdp 2.0, jdk 1.5.0_12

      Thanks


        • 1. Re: [jBPM-BPEL]Endpoint does not contain operation metadata?
          rainstar79

          Maybe I should post the code, which I produced with the Eclipse BPEL designer:

          This is SampleProcess.bpel

          <?xml version="1.0" encoding="UTF-8"?>
          <bpws:process xmlns:bpws="http://schemas.xmlsoap.org/ws/2004/03/business-process/"
           xmlns:ns="http://SampleProject/SampleProcessArtifacts"
          xmlns:ns0="http://SampleProject/SampleProcessInterface"
          expressionLanguage="http://www.w3.org/TR/1999/REC-xpath-19991116"
          name="SampleProcess" suppressJoinFailure="yes"
          targetNamespace="http://SampleProject">
          
           <bpws:import importType="http://schemas.xmlsoap.org/wsdl/"
          location="SampleProcessArtifacts.wsdl" namespace="http://SampleProject/SampleProcessArtifacts"/>
           <bpws:import importType="http://schemas.xmlsoap.org/wsdl/"
          location="SampleProcess.wsdl" namespace="http://SampleProject/SampleProcessInterface"/>
           <bpws:partnerLinks>
           <bpws:partnerLink myRole="ProcessRole" name="Client" partnerLinkType="ns:SampleProcessPartnerLinkType"/>
           </bpws:partnerLinks>
           <bpws:variables>
           <bpws:variable messageType="ns0:operation1Request" name="Input"/>
           <bpws:variable messageType="ns0:operation1Response" name="Output"/>
           </bpws:variables>
           <bpws:sequence name="Sequence">
           <bpws:receive createInstance="yes" name="Receive" operation="operation1" partnerLink="Client" portType="ns0:SampleProcess" variable="Input"/>
           <bpws:assign name="Assign">
           <bpws:copy>
           <bpws:from part="operation1Parameters" variable="Input"/>
           <bpws:to part="operation1Result" variable="Output"/>
           </bpws:copy>
           </bpws:assign>
           <bpws:reply name="Reply" operation="operation1" partnerLink="Client" portType="ns0:SampleProcess" variable="Output"/>
           </bpws:sequence>
          </bpws:process>
          


          ...and this is SampleProcess.wsdl

          <?xml version="1.0" encoding="UTF-8"?>
          <definitions xmlns:tns="http://SampleProject/SampleProcessInterface"
          xmlns:xsd="http://www.w3.org/2001/XMLSchema"
          xmlns="http://schemas.xmlsoap.org/wsdl/" name="SampleProcess"
          targetNamespace="http://SampleProject/SampleProcessInterface"
          
           xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://schemas.xmlsoap.org/wsdl/
           http://schemas.xmlsoap.org/wsdl/
           http://schemas.xmlsoap.org/ws/2003/05/partner-link/
           http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
          
          
           <plt:partnerLinkType name="SampleProcessPartnerLinkType">
           <plt:role name="ProcessRole">
           <plt:portType name="tns:SampleProcess"/>
          
           </plt:role>
           </plt:partnerLinkType>
          
           <message name="operation1Request">
           <part name="operation1Parameters" type="xsd:string"/>
          
           </message>
           <message name="operation1Response">
           <part name="operation1Result" type="xsd:string"/>
          
           </message>
           <portType name="SampleProcess">
           <operation name="operation1">
           <input message="tns:operation1Request"/>
           <output message="tns:operation1Response"/>
           </operation>
           </portType>
          </definitions>
          
          


          • 2. Re: [jBPM-BPEL]Endpoint does not contain operation metadata?
            rainstar79

            is there no one who can help me out of this????

            1000 USD for the man/woman who can help me ;-)