Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello all,
I want to Add/change the Target name space of a incomming message (JSON schema) in receive pipeline dynamically.

Can some one help me on this ? How can i design receive pipeline?

Note: Incoming Messages are json Format.

In simple words what i want is :

There will be different json schema files(incoming json schema) will open that schema in receive pipeline and will add/or Chnage the Targetname Space in it and will send to Send port ( this is my sample POC).

Note: we are sending request to /BTSHTTPReceive.dll through ajax request.

Thanks
Pavan.D
Posted
Comments
Abhipal Singh 20-May-15 4:40am    
The default receive pipeline components in BizTalk will not be able to help you change the target namespace.

You need to develop a custom pipeline component which will do the job of
1) Converting JSON to XML
2) Changing target namespace.

All you need to do is write a custom Decode component and call JsonConvert.DeserializeXmlNode() to convert JSON to XML and then you can change the target namespace of XML document.

However, if you explain what you are trying to implement a bit more, then may be we can provide a more elegant solution.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900