04-12-05 07: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
>
>
[ Post a follow-up to this message ]
|