Click here to Skip to main content
15,888,521 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I've a Silverlight application (website1) which communicates with WCF Service Library (hosted in IIS website2), everything works fine if I directly hit IIS Url of silverlight application, but when try using via iPlanet proxy server URL, Silverlight applcation is not able to communicate with WCF service library site, 401 Access denied, I got below information in ieHttpHeaders utility:

POST http: //MYSERVERHOST:1161/MYServiceLibrary/MYService.svc HTTP/1.1
Accept: */*
Accept-Language: en-US
Referer: http://MYSERVERHOST:1161/MYSilverlightApp/ClientBin/MySilverlightApp.xap
Content-Length: 651
Accept-Encoding: identity
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://tempuri.org/IMYService/GetAccounts"
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E; MS-RTC LM 8)
Host: MYSERVERHOST:1161
Proxy-Connection: Keep-Alive
Pragma: no-cache
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><GetAccounts xmlns="http://tempuri.org/"></GetAccounts></s:Body></s:Envelope>

HTTP/1.1 401 401: Access Denied
Server: Unknown Web Server
Date: Tue, 21 Dec 2010 18:55:14 GMT
Www-authenticate: basic realm="intranet-MYSERVERHOST [13:55:14:4800]"
Content-type: text/html
Cache-Control: proxy-revalidate
Content-length: 235
Proxy-Connection: Keep-Alive
Connection: Keep-Alive
Set-Cookie: SMCHALLENGE=YES; path=/; domain=.MYSERVERHOST; HTTPOnly
Proxy-support: Session-based-authentication


regards,
Kthatik
Posted

1 solution

Is it possible that the proxy server also requires authentication?

I'd check out what options you have to set proxy server authentication in either web.config, or through code in your ServiceClient or ChannelFactory, depending on which one you're using.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900