Talk About Network

Google





Software > Biz Talk Orchestration > RE: 401: Unauth...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 5 Topic 4154 of 4234
Post > Topic >>

RE: 401: Unauthorised Exception when calling orchestration publish

by =?Utf-8?B?WW9zc2kgRGFoYW4=?= <Yossi Dahan@[EMAIL PROTECTED] Jul 29, 2008 at 05:05 AM

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
 




 5 Posts in Topic:
401: Unauthorised Exception when calling orchestration published
=?Utf-8?B?U2F1?= <Sau@  2008-07-24 10:04:01 
RE: 401: Unauthorised Exception when calling orchestration publi
=?Utf-8?B?WW9zc2kgRGFoYW4  2008-07-25 00:31:00 
RE: 401: Unauthorised Exception when calling orchestration publi
=?Utf-8?B?U2F1?= <Sau@  2008-07-26 04:21:00 
RE: 401: Unauthorised Exception when calling orchestration publi
=?Utf-8?B?U2F1?= <Sau@  2008-07-28 14:46:22 
RE: 401: Unauthorised Exception when calling orchestration publi
=?Utf-8?B?WW9zc2kgRGFoYW4  2008-07-29 05:05:00 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Thu Jan 8 18:03:18 PST 2009.