BizTalk Server Orchestration - Web Services security

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > April 2005 > Web Services security





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 Web Services security
Tatiana

2005-04-11, 5:54 pm

Hi,

I'm new to BTS development. I have an orchestration that is exposed as a Web
Service. Orchestration consumes other Web-services. Exposed Web-service
virtual folder doesn't allow Anonymous access and uses Windows Integrated
security. Client application passes logged-on user credentials when it calls
orchestration (Web Service). My question is how can I configure consumed
Web-services (SOAP send ports) to use credentials passes to exposed Web
service?

Thanks in advance!
-Tatiana


Saravana Kumar

2005-04-12, 2:49 am

Hello Tatiana,

Here are the Solution to call a Consumed Web Service (SOAP Adapter) with
Credentials.

1. After adding the web reference, on the port type chnage it to "Dynamic"
(Initially I guess, it will be pointing to "Specify Now", configured with
the correct pipelines and the URL), you just need to change it from "Specify
now" to "Dynamic".
2. Inside the Orchestration put a expression shape and configure the
appropriate values for
Soap.AuthenticationScheme,Soap.UserName,Soap.Password. Since we configured
the adapter to be dynamic, you need to configure the end-point URL. Snippet
from my orch:

Port_1(Microsoft.XLANGs.BaseTypes.Address) =
"http://localhost/Saravana.Biztalk.Learning.WS/Default.asmx";
WS_Request_Msg.s = "abcd";

WS_Request_Msg(SOAP.AuthenticationScheme) = "Basic";

WS_Request_Msg(SOAP.Username) = "Administrator";

WS_Request_Msg(SOAP.Password) = Passw@rd1;


3. Build, Deploy and test.

Your first question:

I'm not very sure how to get the credentials passed to the original orch,
but i guess there should be link between HTTP Party resolution, or even
check the BTS.WindowsUser system property, in this way I'm not sure how you
can get the "Password". I'll post you if i get any update on this.

--
Cheers
Saravana [MCP - Biztalk Server 204]
http://saravanakumarmv.blogspot.com

"Tatiana" <Tatiana.Bogdanova@arcadia.spb.ru> wrote in message
news:OW118DqPFHA.2132@TK2MSFTNGP14.phx.gbl...
> Hi,
>
> I'm new to BTS development. I have an orchestration that is exposed as a
> Web
> Service. Orchestration consumes other Web-services. Exposed Web-service
> virtual folder doesn't allow Anonymous access and uses Windows Integrated
> security. Client application passes logged-on user credentials when it
> calls
> orchestration (Web Service). My question is how can I configure consumed
> Web-services (SOAP send ports) to use credentials passes to exposed Web
> service?
>
> Thanks in advance!
> -Tatiana
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com