add root node name in receive pipeline

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.

sampe json format like this

var data = '{"UserID" : "5454", "Name" : "Ja4545", "Password" : "pswd", "Email" : "jjjjf@live.in", "Country" : "India"}';
var data = '{"userid": "7878", "action":"User3434"}';

Thanks
Pavan.D


  • Edited by pavandhan 23 hours 57 minutes ago
May 20th, 2015 6:01am

But JSON messages don't have namespaces...?
Free Windows Admin Tool Kit Click here and download it now
May 20th, 2015 7:26am

If you are using BizTalk Server 2013 R2, there is an out-of-the-box JSON Decoder Pipeline Component, where both Root name and namespace can be set:

http://blog.vertica.dk/2014/06/28/working-with-json-in-biztalk-server-2013-r2/

Morten la Cour

May 21st, 2015 12:56am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics