BizTalk Server General - How do I set the credentials when calling Web service from biztalk orchestration

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > June 2005 > How do I set the credentials when calling Web service from biztalk orchestration





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 How do I set the credentials when calling Web service from biztalk orchestration
okaminer

2005-06-20, 7:51 am

Any one know how to set the credentials when calling web service from
biztalk

Tomas Restrepo \(MVP\)

2005-06-20, 7:52 am

> Any one know how to set the credentials when calling web service from
> biztalk


Assumming you want to use HTTP authentication, then you can do it by
modifying the send port configuration from server explorer...


--
Tomas Restrepo
tomasr@mvps.org
http://www.winterdom.com/


Marvin Smit

2005-06-20, 7:52 am

Hi,

Depending on the send port you set up (or is set up for you when
deploying).

Goto the SOAP Transport properties of your send port. On the general
tab you can select:

- Anonymous (No security)
- Basic (Plain text)
- Digest (Hash)[vbcol=seagreen]
- NTLM (NT Lan Manager)[vbcol=seagreen]
as.

Hope this helps,

Marvin Smit



On 20 Jun 2005 01:24:51 -0700, "okaminer" <okaminer1@yahoo.com> wrote:
[vbcol=seagreen]
>Any one know how to set the credentials when calling web service from
>biztalk


okaminer

2005-06-23, 5:55 pm

Thanks for your reply

Actually I have manage to set the credentials in the following way:
I have put the following code inside an expression box

NOTE: SaveInfoWS_request is my message variable which is been sent to
the web service

SaveInfoWS_Request(SOAP.Password) = "Albert1";
SaveInfoWS_Request(SOAP.Username) = "ELBIT_NT\\dp23069";
SaveInfoWS_Request(SOAP.AuthenticationScheme) = "NTLM";

Marvin Smit

2005-06-23, 5:55 pm

Hi,

thats right... I was updating my BizTalk/XML and WebServices
postings... i got kinda mixed between BT & WS ... sorry for the
missmatch.

Glad you got it solved.

Marvin Smit

On 23 Jun 2005 07:35:22 -0700, "okaminer" <okaminer1@yahoo.com> wrote:

>Thanks for your reply
>
>Actually I have manage to set the credentials in the following way:
>I have put the following code inside an expression box
>
>NOTE: SaveInfoWS_request is my message variable which is been sent to
>the web service
>
>SaveInfoWS_Request(SOAP.Password) = "Albert1";
>SaveInfoWS_Request(SOAP.Username) = "ELBIT_NT\\dp23069";
>SaveInfoWS_Request(SOAP.AuthenticationScheme) = "NTLM";


Tomas Restrepo \(MVP\)

2005-06-23, 8:47 pm

okaminer,

> Thanks for your reply
>
> Actually I have manage to set the credentials in the following way:
> I have put the following code inside an expression box
>
> NOTE: SaveInfoWS_request is my message variable which is been sent to
> the web service
>
> SaveInfoWS_Request(SOAP.Password) = "Albert1";
> SaveInfoWS_Request(SOAP.Username) = "ELBIT_NT\\dp23069";
> SaveInfoWS_Request(SOAP.AuthenticationScheme) = "NTLM";


That's a valid way as well. But, what happens when the username or password
changes? You'll have to recompile and redeploy the orchestration assembly,
and that's a lot of work. By setting it in the port configuration, you'll be
able to change it using administrative tools, without having to go through
all the hassle of updating and redeploying the updated assembly.

BTW: you really should never post the actual username and password in the
newsgroups


--
Tomas Restrepo
tomasr@mvps.org
http://www.winterdom.com/


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com