1 Reply Latest reply on Sep 27, 2006 4:51 PM by Claus Wittmann

    BPEL - beta2 "no port implements the required port type"

    Claus Wittmann Newbie

      Hi there!

      I wanted to migrate my implementation from beta1 to beta2 but I get this error...
      I have allready found in fisheye which part throws this failure, but I cannot find where I made this failure?

      I get the following message:

      Caused by: java.lang.RuntimeException: no port implements the required port type: portType={urn:samples:agilpro}AgilproIssuer
       at org.jbpm.bpel.integration.exe.SoapEndpointReference.selectPort(SoapEndpointReference.java:139)
       at org.jbpm.bpel.integration.exe.SoapEndpointReference.selectPort(SoapEndpointReference.java:95)
       at org.jbpm.bpel.integration.jms.IntegrationControl.getPartnerClient(IntegrationControl.java:234)
       at org.jbpm.bpel.integration.jms.JmsIntegrationService.invoke(JmsIntegrationService.java:171)
       at org.jbpm.bpel.def.Invoke.execute(Invoke.java:44)
       at org.jbpm.bpel.def.Activity.enter(Activity.java:101)
       ... 24 more

      OK - it says me urn:samples:agilpro and AgilproIssuer.
      I get this error when I try to start an invoke activity.

      It is the same code as bevore but It won't work now...
      Can someone give me a hint what causes this error really?

      Greetings
      Claus

        • 1. Re: BPEL - beta2
          Claus Wittmann Newbie

          Problem found and solved.
          I have forgotten to add my new wsdl to the bpel-application.xml
          (This file can be found at \doc\atm\src\main\bpel\resources\WEB-INF\classes\)


          By the way:
          A question to this file:
          In beta 1 there was more data in this file:

          <partnerLinks>
          
           <partnerLink name="ticketRelation">
           <partnerRole>
           <wsa:EndpointReference>
           <wsa:Address>USE_ACTUAL_URI_FROM_CATALOG</wsa:Address>
           <wsa:ServiceName xmlns:serviceNS="urn:samples:ticket">serviceNS:ticketService</wsa:ServiceName>
           </wsa:EndpointReference>
           </partnerRole>
           </partnerLink>
          
           <partnerLink name="accountRelation">
           <partnerRole>
           <wsa:EndpointReference>
           <wsa:Address>USE_ACTUAL_URI_FROM_CATALOG</wsa:Address>
           <wsa:ServiceName xmlns:serviceNS="urn:samples:account">serviceNS:accountService</wsa:ServiceName>
           </wsa:EndpointReference>
           </partnerRole>
           </partnerLink>
          
           <partnerLink name="agilproRelation">
           <partnerRole>
           <wsa:EndpointReference>
           <wsa:Address>USE_ACTUAL_URI_FROM_CATALOG</wsa:Address>
           <wsa:ServiceName xmlns:serviceNS="urn:samples:agilpro">serviceNS:agilproService</wsa:ServiceName>
           </wsa:EndpointReference>
           </partnerRole>
           </partnerLink>
          
           </partnerLinks>


          Isn't this code needed anymore?

          Greetings

          Claus