Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Using Orchestration in ESB Itinerary

Using Orchestration in ESB Itinerary

Using Orchestration in ESB Itinerary

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!!!

RE: Using Orchestration in ESB Itinerary

If a subscription fails, then you either:
Didn't promote the fields you want to subscribe on, do you have a property schema that tells BizTalk what fields to promote?
Or you don't have the subscription set right on the receive port that is picking it up to send it to the web service.

Given the problem description, is there a reason that you're using publish/subscribe?  It sounds like this is all one continuous process that can run synchronously,  and by publishing to the message box you are just creating correlation problems (making sure you are sending the right response for the right request if two are being processed at a given time).

You are doing a construct message in BizTalk prior to calling out to the XSLTs, correct?  BizTalk needs to know that there is a new message that it must handle, and then once you instantiate it you can populate it via your custom code and the XSLT.  Maybe you are missing the construction?


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close