You have the option of setting the web proxy settings at either the adapter
send handler level or the send ****t level.
This allows you to configure the proxy url and credentials to use.
"Sau" wrote:
> Hi, there is a place in my biztalk orchestration where i need to invoke
these
> service (i.e. the parent orchestration is invoking another child
> orchestration which is exposed as a service). In that case i do not have
the
> option of placing the code.
>
> Let me know what could be the workaround here.
>
> Regards
> Sau
>
> "Sau" wrote:
>
> >
> > Hi
> > If i add the following 2 lines of code in the winapp before calling
the
> > service method it works fine
> >
> > <WSobject>.PreAuthenticate = False
> > <WSobject>.Credentials = System.Net.CredentialCache.DefaultCredentials
> > <WSobject>.<methodname>
> >
> > In the LAN there is a proxy server, its set in the IE, tools, nternet
> > options, lan settings,i give thhe path of the automatic configuration
script.
> > However the same is there in the devl environment as well where it was
> > working fine before
> >
> > Thanks
> >
> > "Yossi Dahan [MVP]" wrote:
> >
> > > Could this be a web proxy issue?
> > > If you are using proxy on the network, try configuring the winForms
app to
> > > use it before calling the web service.
> > >
> > > I'm using code like this -
> > > System.Net.WebProxy proxy = new System.Net.WebProxy(<proxy url>);
> > > proxy.Credentials = System.Net.CredentialCache.DefaultCredentials;
> > > <Web service proxy>.Proxy = proxy;
> > >
> > > --
> > > Yossi Dahan
> > > MVP BizTalk Server
> > > http://www.sabratech.co.uk/blogs/yossidahan
> > >
> > >
> > > "Sau" wrote:
> > >
> > > > Hi,
> > > >
> > > > We have an orchestration published as a webservice , which we in
turn call
> > > > from a windows .NET form. This works fine in a development set up.
> > > > We have gone ahead and created the deployment MSI set up and have
deployed
> > > > the same in a Win2k3 server. However when i call the WS from the
WinApp i get
> > > > the 401: Unauthorised exception.
> > > >
> > > > However i am able to browse the asmx page (for the orchestration
service)
> > > > directly from IIS.
> > > >
> > > > Some of the settings cross checked are:
> > > > -The Website has anonymous authentication turned on and it uses a
> > > > pre-configured accont that has admin privileges in the machine
(Part of Admin
> > > > Group, IIS_WPG, BizTalk Administrations, Isolated Users)
> > > > - we are not using app pools, its turned off by setting IIS 5.0
> > > > compatibility, otherwise the when we try to browse the service ,
we get
> > > > Sevice Unavailable in the browser
> > > > - ASPNET user has been added to IIS_WPG, Admin Group,BizTalk
Administratiors


|