Uploaded image for project: 'ODE'
  1. ODE
  2. ODE-1065

PMAPI - Enhance process-info to include myRole EPR

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.3.7, 1.4
    • Management API
    • None

    Description

      Currently the <endpoints /> that are populated under the <process-info> are only partnerlink partnerRole EPR.

      Enhance this API to include myRole EPR

      In the PMAPI.xsd, endpoint-ref element has 2 attributes defined @partner-link and @partner-role.

      By adding additional attribute @my-role we can differentiate between myRole and partnerRole EPRs, something like this given below

      <ns:endpoints>
        <ns:endpoint-ref partner-link="executePartnerLink" my-role="executor">
          <ser:service-ref xmlns:ser="http://docs.oasis-open.org/wsbpel/2.0/serviceref">
            <add:EndpointReference xmlns:add="http://www.w3.org/2005/08/addressing">
              <add:Metadata>
                <wsdl:ServiceName EndpointName="MSExecutePort"
                               xmlns:wsdl="http://www.w3.org/2006/05/addressing/wsdl" 
                               xmlns:servicens="http://ode/bpel/unit-test.wsdl">
                    servicens:MSMainExecuteService
                 </wsdl:ServiceName>
              </add:Metadata>
              <add:Address>http://localhost:8080/ode/processes/MSMainExecuteService</add:Address>
            </add:EndpointReference>
          </ser:service-ref>
        </ns:endpoint-ref>
        <ns:endpoint-ref partner-link="responderPartnerLink" partner-role="responder">
          <ser:service-ref xmlns:ser="http://docs.oasis-open.org/wsbpel/2.0/serviceref">
            <add:EndpointReference xmlns:add="http://www.w3.org/2005/08/addressing">
              <add:Metadata>
                <wsdl:ServiceName EndpointName="MSResponderPort" xmlns:wsdl="http://www.w3.org/2006/05/addressing/wsdl" xmlns:servicens="http://ode/bpel/unit-test.wsdl">servicens:MSResponderService</wsdl:ServiceName>
               </add:Metadata>
               <add:Address>http://localhost:8080/ode/processes/MSResponderService</add:Address>
          </add:EndpointReference>
          </ser:service-ref>
      </ns:endpoint-ref>
      <ns:endpoint-ref partner-link="responderPartnerLink" my-role="main">
        <ser:service-ref xmlns:ser="http://docs.oasis-open.org/wsbpel/2.0/serviceref">
          <add:EndpointReference xmlns:add="http://www.w3.org/2005/08/addressing">
            <add:Metadata>
              <wsdl:ServiceName EndpointName="MSMainPort" xmlns:wsdl="http://www.w3.org/2006/05/addressing/wsdl" xmlns:servicens="http://ode/bpel/unit-test.wsdl">servicens:MSMainService</wsdl:ServiceName>
            </add:Metadata>
            <add:Address>http://localhost:8080/ode/processes/MSMainService</add:Address>
            </add:EndpointReference>
          </ser:service-ref>
        </ns:endpoint-ref>
      </ns:endpoints>
      

      Attachments

        Issue Links

          Activity

            People

              sathwik Sathwik
              sathwik Sathwik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: