Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Send Pipeline to wrap authentication xml..?
- This topic has 3 replies, 1 voice, and was last updated 9 years ago by
community-content.
-
AuthorPosts
-
-
March 13, 2008 at 9:12 AM #19065
Hello.
Preface: “I am a newbie!”
I have a message I’ve constructed and its ready for delivery, but I need to wrap an ‘authentication’ xml around the message before it goes out. I am trying to do this using a SEND pipeline so it can be used for all the messages that go out of the application.
Can someone point me to an example of this?
I dont have the schema for the authentication, do I need one?
I’ve researched online and in over 5 Biztalk books – this doesnt seem to be a subject thats heavily covered.
Thanks in advance!
-
March 31, 2008 at 2:00 AM #19192
JavaK,
Can you provide an example of how the Xml looks when it comes out of BizTalk and how it is supposed to look with this authentication Xml?
Cheers, Nick.
-
April 8, 2008 at 4:18 AM #19281
Hi JavaK,
[quote user="JavaK"]I dont have the schema for the authentication, do I need one[/quote]
yes, you have to have a schema for the authentication,
In case you need to extract some infromation from the message payload to use it in the authentication header, you may develop a custom pipeline component to accomplish this, the following link may be of help:
http://msdn2.microsoft.com/en-us/library/aa559443.aspx
Mike
-
April 8, 2008 at 1:07 PM #19288
Mike
Thanks! – When I go to that like there is a runtim error… I guess the site is down for a while.
I did overcome this problem – using an expression shape in my orchestration that assigned the message into an XmlDocument variable and then inserted it into a node in the authentication xml.
This is working fine for now, but I’ll have to revisit the pipeline component – This seems like a much cleaner way of doing it.
I did find a Pipeline Component Wizard that writes out all the required files and I’ll only have to transfer the code – or so it looks like.
I guess we’ll see.
Thanks for the update.
-
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.