MichelleHartney
Programmer
I am trying to use an Orchestration in an Itinerary to transform using custom XSLT provided at runtime. I ran into problem and not able to resolve it. Can you point out where am I going wrong?
Once the orchestration gets the message, I need to perform two transformations before sending out the request to the WebService. And, When I get the response from the WebService, I need to perform another two transformations before sending it out to the caller. Note, that the transformations should be done using a .NET code and not using BizTalk Mapper. This is because the transformation logic is only available in the XSLT Style Sheet which would be available only at runtime. You can't user the mapper for the XSLT, because the path would be provided at runtime. I have written a Custom .NET code to do the transformations and I am able to pull call that code from the Orchestration and perform the transformation.
Initially, I thought of doing all this in an ESB Itinerary. The way I would do this is, one of the Itinerary Service would call the Orchestration to do the custom mapping using the XSLT style sheet provided at the runtime. Once the orchestration returns the transformed XML, another Itinerary Service would send it to the WebService for processing. When I get the response from WebService, another Itinerary Service would pick it up from there and call the Orchestration again to do the transformations before sending it back to the client. This is the perfect logic...
But where I am stuck is, one I get the transformed message back from Orchestration, I am not able to send it to WebService. The Itinerary Service that is supposed to pick this message and send it to Webservice isn't picking up. When I look at the event log, it says, The published message could not be routed because no subscribers were found. with status.
What could be wrong?? Do let me know. I would really appreciate your help!!! Is there any better way to do this?
Thanks a lot!!!
Once the orchestration gets the message, I need to perform two transformations before sending out the request to the WebService. And, When I get the response from the WebService, I need to perform another two transformations before sending it out to the caller. Note, that the transformations should be done using a .NET code and not using BizTalk Mapper. This is because the transformation logic is only available in the XSLT Style Sheet which would be available only at runtime. You can't user the mapper for the XSLT, because the path would be provided at runtime. I have written a Custom .NET code to do the transformations and I am able to pull call that code from the Orchestration and perform the transformation.
Initially, I thought of doing all this in an ESB Itinerary. The way I would do this is, one of the Itinerary Service would call the Orchestration to do the custom mapping using the XSLT style sheet provided at the runtime. Once the orchestration returns the transformed XML, another Itinerary Service would send it to the WebService for processing. When I get the response from WebService, another Itinerary Service would pick it up from there and call the Orchestration again to do the transformations before sending it back to the client. This is the perfect logic...
But where I am stuck is, one I get the transformed message back from Orchestration, I am not able to send it to WebService. The Itinerary Service that is supposed to pick this message and send it to Webservice isn't picking up. When I look at the event log, it says, The published message could not be routed because no subscribers were found. with status.
What could be wrong?? Do let me know. I would really appreciate your help!!! Is there any better way to do this?
Thanks a lot!!!