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 ....
This is a bug of the BPEL engine, which would be fixed. There is no need to fix the Studio