Hi,
I am using the ebxml package (version 7.1 - Fix 3) on IS 7.1.2.
The “sendUsingTPA” service does not have an input for me to specify the service name, it only allows me to pass in the action in the TPA. Since I have mutiple CollaborationRoles defined in the CPA each having 1 service and each service having 1 or more actions, how should I use the “sendUsingTPA service” so that it can resolve the action for services defined in the CollaborationRoles other than the first one?
CPA with Multiple CollaborationRole:
tns:CollaborationRole
<tns:ProcessSpecification … />
<tns:Role tns:name=“ServiceProvider” xlink:href=“http://tobespecified” xlink:type=“simple”/>
tns:ServiceBinding
<tns:Service tns:type=“string”>OrderService</tns:Service>
tns:CanSend
<tns:ThisPartyActionBindingtns:action=“RequestOrder”
…
…
</tns:CollaborationRole>
tns:CollaborationRole
<tns:ProcessSpecification …/>
<tns:Role tns:name=“CommunicationsProvider” xlink:href=“http://tobespecified” xlink:type=“simple”/>
tns:ServiceBinding
<tns:Service tns:type=“string”>TroubleReportService</tns:Service>
tns:CanSend
<tns:ThisPartyActionBinding tns:action=“AutoNotification” …>
…
…
</tns:CollaborationRole>
I can only send ebxml messages using the “sendUsingTPA” service for actions in the “OrderService” service. When I try to use the actions in the “TroubleReportService” service the “sendUsingTPA” service gives a error stating it cannot find the action.
As per ebxml specification 2.0 a TPA can have 1 or more CollaborationRole. So the CPA is correct.
Any help with this will be really appriciated.
Regards,
Gaurav.