The BizTalk Server HTTP adapter does not support having the login credientals in the URL.

For example, you can't have a URL like the following configured in the HTTP send port.

https://www.example.com/webservice.aspx?fileType=MyFile&by=username:password

If you do that you will get an error like this:

Event Type: Error
Event Source: BizTalk Server 2004
Event Category: BizTalk Server 2004
Event ID: 5754
Date:  7/11/2006
Time:  1:50:17 AM
User:  N/A
Computer: MACHINE
Description:
The "HTTP" adapter is suspending an outbound message going to destination URL:"https://www.example.com/webservice.aspx?fileType=MyFile&by=username:password". Details:"The remote server returned an error: (411) Length Required.".

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Obviously having the credientals in the URL is a very bad idea but if you absolutely must do it, you could configure a dynamic send port and supply the URL at run time. Alternatively, you could write a pipeline component which appends the login details to the URL.

Mark

posted on Thursday, November 9, 2006 11:55 AM | Print

Comments

No comments posted yet.
Post Comment
Title *  
Name *  
Email
Url
Comment *  
Please add 1 and 1 and type the answer here: