Petals Studio

Duplicated tag in the invocation request generated by the BPEL engine when calling a partner

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Won't Fix
  • Affects Version/s: 1.0
  • Fix Version/s: 1.1.1
  • Component/s: BPEL Tools
  • Security Level: Public
  • Description:
    Hide

    When defining a new activity "Reply", by choosing directly the operation in the "QuickPick" box, the following code is produced :

    <bpel:reply name="Reply" partnerLink="OR002_PL" operation="recupMissionMobilite" variable="OR002_PLResponse"></bpel:reply>

    The message generated by the BPEL engine then follows this (incorrect) structure :

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
    <ns:RecupMissionMobilite_ResMsg xmlns:ns="http://veolia.ban.com/eau/Reseau/Intervention/service/OR002/v01">
    <RecupMissionMobilite_ResMsg xsi:type="tns:RecupMissionMobilite_ResMsgType" xmlns:tns="http://veolia.ban.com/eau/Reseau/Intervention/service/OR002/v01" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <INFOS_MISSION ....

    A fix is to define the "Reply" activity by first clicking on "port type" and then on the operation in the QuickPick box. The generated code is then :

    <bpel:reply name="Reply" partnerLink="OR002_PL" operation="recupMissionMobilite" portType="ns:OR002-RecupMissionMobilite_Itf" variable="OR002_PLResponse"></bpel:reply>

    The BPEL engine now generated the proper message :

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
    <ns:recupMissionMobiliteResponse xmlns:ns="http://veolia.ban.com/eau/Reseau/Intervention/service/OR002/v01">
    <RecupMissionMobilite_ResMsg xsi:type="tns:RecupMissionMobilite_ResMsgType" xmlns:tns="http://veolia.ban.com/eau/Reseau/Intervention/service/OR002/v01" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <INFOS_MISSION ....

    Show
    When defining a new activity "Reply", by choosing directly the operation in the "QuickPick" box, the following code is produced : <bpel:reply name="Reply" partnerLink="OR002_PL" operation="recupMissionMobilite" variable="OR002_PLResponse"></bpel:reply> The message generated by the BPEL engine then follows this (incorrect) structure : <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <ns:RecupMissionMobilite_ResMsg xmlns:ns="http://veolia.ban.com/eau/Reseau/Intervention/service/OR002/v01"> <RecupMissionMobilite_ResMsg xsi:type="tns:RecupMissionMobilite_ResMsgType" xmlns:tns="http://veolia.ban.com/eau/Reseau/Intervention/service/OR002/v01" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <INFOS_MISSION .... A fix is to define the "Reply" activity by first clicking on "port type" and then on the operation in the QuickPick box. The generated code is then : <bpel:reply name="Reply" partnerLink="OR002_PL" operation="recupMissionMobilite" portType="ns:OR002-RecupMissionMobilite_Itf" variable="OR002_PLResponse"></bpel:reply> The BPEL engine now generated the proper message : <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <ns:recupMissionMobiliteResponse xmlns:ns="http://veolia.ban.com/eau/Reseau/Intervention/service/OR002/v01"> <RecupMissionMobilite_ResMsg xsi:type="tns:RecupMissionMobilite_ResMsgType" xmlns:tns="http://veolia.ban.com/eau/Reseau/Intervention/service/OR002/v01" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <INFOS_MISSION ....
  • Environment:
    PetalsStudio-1.0

Activity

Hide
Charles Casadei added a comment - Wed, 11 Aug 2010 - 17:58:19 +0200

This is a bug of the BPEL engine, which would be fixed. There is no need to fix the Studio

Show
Charles Casadei added a comment - Wed, 11 Aug 2010 - 17:58:19 +0200 This is a bug of the BPEL engine, which would be fixed. There is no need to fix the Studio

People

Dates

  • Created:
    Mon, 2 Aug 2010 - 10:05:25 +0200
    Updated:
    Wed, 11 Aug 2010 - 17:58:27 +0200
    Resolved:
    Wed, 11 Aug 2010 - 17:58:19 +0200