Uploaded image for project: 'RiftSaw'
  1. RiftSaw
  2. RIFTSAW-325

Dynamically assigning partnerLink EPR fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.2.0.CR1
    • Fix Version/s: 2.3.0.Final
    • Component/s: Integration
    • Labels:
      None
    • Environment:

      JBoss 5.1.0.GA, JBossWS Native 3.3.1.GA

    • Steps to Reproduce:
      Hide

      Create a BPEL workflow that assigns a static EPR from a literal (example above in description).

      Show
      Create a BPEL workflow that assigns a static EPR from a literal (example above in description).

      Description

      The dyamic EPR assignment operations from the ODE User Guide do not work. Specifically the cases for a Simple URL and a wrapped soap:address fail. This same operation performs correctly in ODE 1.3.4 in Tomcat 6.0

      These are the relevant portions of my BPEL spec:
      <bpel:partnerLinks>
      <bpel:partnerLink name="SafariFusionOssLink"
      partnerLinkType="sfWsdl:FusionOssLinkType"
      partnerRole="fusionOssService"
      initializePartnerRole="yes"/>
      </bpel:partnerLinks>

      <bpel:assign name="createFusionCreateRqst">
      <bpel:copy>
      <bpel:from>
      <bpel:literal>http://172.16.150.174:8080/safariap/OSS/FusionOss</bpel:literal>
      </bpel:from>
      <bpel:to partnerLink="SafariFusionOssLink"/>
      </bpel:copy>
      </bpel:assign>

      <bpel:invoke name="sendFusionCreateRqst"
      partnerLink="SafariFusionOssLink"
      portType="sfWsdl:FusionOssPort"
      operation="create"
      inputVariable="sndCreateRqst"
      outputVariable="sndEditResp" />

      From the WSDL:
      <plnk:partnerLinkType name="FusionOssLinkType">
      <plnk:role name="fusionOssService" portType="tns:FusionOssPort"/>
      </plnk:partnerLinkType>

      <wsdl:service name="FusionOss">
      <wsdl:port name="FusionOssSoap" binding="tns:FusionOssBinding">
      <soap:address location="http://localhost:8080/safariap/OSS/FusionOss"/> <!-- Note the different address -->
      </wsdl:port>
      </wsdl:service>

      When the invoke operation is performed the following exceptions are reported:
      18:26:32,954 ERROR [DispatchImpl] Cannot dispatch message
      java.io.IOException: Could not transmit message
      at org.jboss.ws.core.client.transport.NettyClient.invokeInternal(NettyClient.java:229)

      ...

      Caused by: java.io.IOException: Could not transmit message
      at org.jboss.ws.core.client.transport.NettyClient.invokeInternal(NettyClient.java:229)

      ...

      Caused by: org.jboss.ws.WSException: Invalid HTTP server response [404] - Not Found
      at org.jboss.ws.core.soap.SOAPMessageUnMarshallerHTTP.read(SOAPMessageUnMarshallerHTTP.java:75)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  objectiser Gary Brown
                  Reporter:
                  wdarby William Darby
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: