BizTalk Server Orchestration - Credential in Dynamic Send Port?

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > October 2004 > Credential in Dynamic Send Port?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Credential in Dynamic Send Port?
Ben Jiang

2004-10-15, 9:09 pm

Hi there,
Can anyone help me how to provide credential information(user name and
password) in dynamic send port? I use the following in my Orchestration:

MySendPort(Microsoft.XLANGs.BaseTypes.Address) = Url

Where Url = "https://www.mypartner.com/receive.aspx", this does not work for
a https host with credential information.

I even try to use format:
Url="https://userName:password@www.mypartner.com/receive.aspx", it does not
work neither.

How do I specify this credential information in my Orchestration?
Thanks first.

Ben Jiang

Stephen W. Thomas

2004-10-15, 9:09 pm

You might want to try setting them in the message context inside the message
assignment shape
Out(HTTP.Password) = "yourpassword";
Out(HTTP.Username) = "yourusername";

I haven’t tried it, so I do not know for sure if it would work.

Stephen W. Thomas
http://www.geekswithblogs.net/sthomas


"Ben Jiang" wrote:

> Hi there,
> Can anyone help me how to provide credential information(user name and
> password) in dynamic send port? I use the following in my Orchestration:
>
> MySendPort(Microsoft.XLANGs.BaseTypes.Address) = Url
>
> Where Url = "https://www.mypartner.com/receive.aspx", this does not work for
> a https host with credential information.
>
> I even try to use format:
> Url="https://userName:password@www.mypartner.com/receive.aspx", it does not
> work neither.
>
> How do I specify this credential information in my Orchestration?
> Thanks first.
>
> Ben Jiang
>

Ben Jiang

2004-10-15, 9:09 pm

Stephen,
Is here Out a send port name?
I try it, it seems that the message context assignment shape does not accept
this syntax?
In BT2002, we always use syntax
"https://userName:password@www.mypartner.com/receive.aspx" to send
message. But with BT2004, is this feature out?
I think this feature is great that we have many partners sending us same
message type with their own URL and credential. So after we process the
message
we would like to dynamically send back response to each partners.
We do not want to configure thousands static ports on BT server. So we use
one dynamic send port upto orchestration runtime to decide the destination.
Maybe you have a good idea to guide me a better solution for this situation?

Cheers
Ben Jiang

"Stephen W. Thomas" wrote:
[vbcol=seagreen]
> You might want to try setting them in the message context inside the message
> assignment shape
> Out(HTTP.Password) = "yourpassword";
> Out(HTTP.Username) = "yourusername";
>
> I haven’t tried it, so I do not know for sure if it would work.
>
> Stephen W. Thomas
> http://www.geekswithblogs.net/sthomas
>
>
> "Ben Jiang" wrote:
>
Vikas Nahata [MSFT]

2004-10-15, 9:09 pm

No Out below is the outbound message.
You need to set the HTTP.Username and HTTP.Password on the message context
and that will work for you.
Also you would need to set the authentication schema on the message context
with HTTP.AuthenticationScheme

For the different message context properties with dynamic HTTP you can see:
http://msdn.microsoft.com/library/d...-us/operations/
htm/ebiz_ops_adapt_file_gvaa.asp


This posting is provided "AS IS" with no warranties, and confers no rights.

EBusiness Server Team
--------------------
| >>Thread-Topic: Credential in Dynamic Send Port?
| >>thread-index: AcSySPH/oTPq8Wa3ReaMw1qn52FW0g==
| >>X-WBNR-Posting-Host: 203.33.102.44
| >>From: =?Utf-8?B?QmVuIEppYW5n?= <BenJiang@discussions.microsoft.com>
| >>References: <F213E3C6-DC9F-470E-9FFD-3DC458726884@microsoft.com>
<40AEE9C0-F295-446E-921B-DAE72877364E@microsoft.com>
| >>Subject: RE: Credential in Dynamic Send Port?
| >>Date: Thu, 14 Oct 2004 16:53:04 -0700
| >>Lines: 51
| >>Message-ID: <E0EDF8AA-BB1D-41D8-A70D-EC286E5A3F0E@microsoft.com>
| >>MIME-Version: 1.0
| >>Content-Type: text/plain;
| >> charset="Utf-8"
| >>Content-Transfer-Encoding: 8bit
| >>X-Newsreader: Microsoft CDO for Windows 2000
| >>Content-Class: urn:content-classes:message
| >>Importance: normal
| >>Priority: normal
| >>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| >>Newsgroups: microsoft.public.biztalk.orchestration
| >>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
| >>Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
| >>Xref: cpmsftngxa10.phx.gbl microsoft.public.biztalk.orchestration:8686
| >>X-Tomcat-NG: microsoft.public.biztalk.orchestration
| >>
| >>Stephen,
| >>Is here Out a send port name?
| >>I try it, it seems that the message context assignment shape does not
accept
| >>this syntax?
| >>In BT2002, we always use syntax
| >>"https://userName:password@www.mypartner.com/receive.aspx" to send
| >>message. But with BT2004, is this feature out?
| >>I think this feature is great that we have many partners sending us
same
| >>message type with their own URL and credential. So after we process the
| >>message
| >>we would like to dynamically send back response to each partners.
| >>We do not want to configure thousands static ports on BT server. So we
use
| >>one dynamic send port upto orchestration runtime to decide the
destination.
| >>Maybe you have a good idea to guide me a better solution for this
situation?
| >>
| >>Cheers
| >>Ben Jiang
| >>
| >>"Stephen W. Thomas" wrote:
| >>
| >>> You might want to try setting them in the message context inside the
message
| >>> assignment shape
| >>> Out(HTTP.Password) = "yourpassword";
| >>> Out(HTTP.Username) = "yourusername";
| >>>
| >>> I haven’t tried it, so I do not know for sure if it would work.
| >>>
| >>> Stephen W. Thomas
| >>> http://www.geekswithblogs.net/sthomas
| >>>
| >>>
| >>> "Ben Jiang" wrote:
| >>>
| >>> > Hi there,
| >>> > Can anyone help me how to provide credential information(user name
and
| >>> > password) in dynamic send port? I use the following in my
Orchestration:
| >>> >
| >>> > MySendPort(Microsoft.XLANGs.BaseTypes.Address) = Url
| >>> >
| >>> > Where Url = "https://www.mypartner.com/receive.aspx", this does not
work for
| >>> > a https host with credential information.
| >>> >
| >>> > I even try to use format:
| >>> > Url="https://userName:password@www.mypartner.com/receive.aspx", it
does not
| >>> > work neither.
| >>> >
| >>> > How do I specify this credential information in my Orchestration?
| >>> > Thanks first.
| >>> >
| >>> > Ben Jiang
| >>> >
| >>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com