[
https://issues.apache.org/jira/browse/ODE-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sathwik Bantwal Premakumar updated ODE-1065:
--------------------------------------------
Fix Version/s: 1.4
> PMAPI - Enhance process-info to include myRole EPR
> --------------------------------------------------
>
> Key: ODE-1065
> URL: https://issues.apache.org/jira/browse/ODE-1065
> Project: ODE
> Issue Type: Improvement
> Components: Management API
> Reporter: Sathwik Bantwal Premakumar
> Assignee: Sathwik Bantwal Premakumar
> Fix For: 1.3.7, 1.4
>
>
> 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
> {code:xml}
> <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>
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)