1. ODE
  2. ODE-601

Cannot Assign Dynamic EPRs To Partner Links


    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.2, 1.3.3
    • Fix Version/s: 1.3.3
    • Component/s: None
    • Labels:
    • Environment:


      My BPEL flows (I think, although its possible this hasn't been function as expected) used to work before changeset [765432] (on the ODE 1_XXX branch), they no longer do (and continue to work when I rever that changeset out.
      I think its something to do with the 'location' property now being set on the variable reference where it previously wasn't, but I'm very very out of depth. I've attached what I think is the relevant snipped of BPEL that I'm using for doing my invoke:

      <!-- in the bpel:variables section -->
      <bpel:variable name="DynamicEndpointRef" element="wsa:EndpointReference" />

      <!--- Trying to invoke a service call -->
      <bpel:assign name="proxyPreparation">
      <wsa:EndpointReference xmlns:swsdl="uri:swsdl">
      <wsa:Address />
      <wsa:ServiceName PortName="PPSSoap">swsdl:PPS</wsa:ServiceName>
      <bpel:to variable="DynamicEndpointRef" />
      <bpel:to variable="ProxyAddress" />
      <bpel:from variable="ProxyAddress" />
      <bpel:to variable="DynamicEndpointRef">
      <bpel:from variable="DynamicEndpointRef" />
      <bpel:to partnerLink="PPS" />
      <bpel:to variable="ppIn" part="parameters" />
      <bpel:invoke name="InvokePPS" partnerLink="PPS" portType="swsdl:PPSSoap" operation="PPI" inputVariable="ppIn" outputVariable="ppOut" />

      And when the flow executes I see an error along the lines of :

      ERROR - GeronimoLog.error(104) | Couldn't find endpoint for partner EPR <?xml version="1.0" encoding="UTF-8"?>
      <service-ref xmlns="http://docs.oasis-open.org/wsbpel/2.0/serviceref">
      <Address xmlns="http://schemas.xmlsoap.org/ws/2003/03/addressing">http://server/myaddress.asmx?wsdl</Address>
      <wsa:ServiceName xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing" PortName="PPSSoap">swsdl:PPS</wsa:ServiceName>

      I do not get this error, and the correct web service seems to get called when I revert the change.. any ideas, is my BPEL flawed, or has an issue been introduced?

      Please find attached a fully deployed process, this will require you to mock a service that adheres to the wsdl in proxy.wsdl.

      A request such as :
      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
      <wor:workItem version="54">

      Will cause the error to occur on trunk head, but the error won't occur if you revert changeset [765432] I do believe its to dow with the dynamic addressing breaking the partnerlink stuff, but I'm not clever enough to pin it down


        Ciaran Jessup created issue -
        Ciaran Jessup made changes -
        Field Original Value New Value
        Attachment InboundGateway.zip [ 12407882 ]
        Ciaran Jessup made changes -
        Attachment InboundGateway.zip [ 12407882 ]
        Ciaran Jessup made changes -
        Attachment InboundGateway-13.zip [ 12408568 ]
        Karthick Sankarachary made changes -
        Assignee Karthick Sankarachary [ karthick ]
        Karthick Sankarachary made changes -
        Summary *MY* dynamic endpoint references have suddenly stopped working :( Cannot Assign Dynamic EPRs To Partner Links
        Karthick Sankarachary made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Tammo van Lessen made changes -
        Fix Version/s 1.3.3 [ 12313905 ]


          • Assignee:
            Karthick Sankarachary
            Ciaran Jessup
          • Votes:
            0 Vote for this issue
            0 Start watching this issue


            • Created: