Hi,
I have a wcf service with 3 operations. The corresponding send port in my biztalk app has a Soap Action Header that looks like the following:
<BtsActionMapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Operation Name="GetAllERGroupIds" Action="http://tempuri.org/IMapperService/GetAllERGroupIds" />
<Operation Name="GetDestinationERGroupIdFromERGroupId" Action="http://tempuri.org/IMapperService/GetDestinationERGroupIdFromERGroupId" />
<Operation Name="GetDestinationRateTypeFromERRateType" Action="http://tempuri.org/IMapperService/GetDestinationRateTypeFromERRateType" />
</BtsActionMapping>
Then, I have read that in order to be able to catch the exceptions comming from that service in my orchestration i must set the "Body Path Expression" textbox from the "Message" tab. The problem is that it seems i´m not able to
specify there all the possible messages comming from that service. How can i achieve this? The current Expression taht i´m using there is:
/*[local-name()='MapperException' and namespace-uri()='http://schemas.datacontract.org/2004/07/Entities']/*|/*[local-name()='Fault']/*[local-name()='Detail' or local-name()='detail']/*|/*[local-name()='GetAllERGroupIdsResponse' and namespace-uri()='http://tempuri.org/']/*[local-name()='GetAllERGroupIdsResult'
and namespace-uri()='http://tempuri.org/']/*|/*[local-name()='GetDestinationERGroupIdFromERGroupIdResponse' and namespace-uri()='http://tempuri.org/']/* | /*[local-name()='GetDestinationRateTypeFromERRateTypeResponse' and namespace-uri()='http://tempuri.org/']
That path contains the follwoing:
- xpath for the excpetions comming from the service
- xpath for GetAllERGroupIdsResponse messages
- xpath for GetDestinationERGroupIdFromERGroupIdResponse messages
- xpath for GetDestinationRateTypeFromERRateTypeResponse messages
For some reason i´m not able to specify all of them there. How can i configure the port in order to be able to get all messages responses, including the exception comming from the service?
Basically, i have tried to follow the same idea as explained here: http://msdn.microsoft.com/en-us/library/bb246117(v=bts.20).aspx
but my WCF service exposes more than 1 response operation.
thanks in advance,
Paola