Error : Destination Unreachable ---> WSE816

aspnetdev
aspnetdev used Ask the Experts™
on
Hi,
I have a desktop app which calls a web service which is hosted along with the webapp in my prod server.The problem i am facing is that, when i use HTTP://blahblah.asmx the webserice works good but if i use HTTPS://blahblah.asmx i get following error

{"Destination Unreachable ---> WSE816: The <To> header must match the value of an incoming message's HTTP Request Url if the soap receiver does not have an actor name. The <To> header received contained \"https://abc/webservices/abcWebService.asmx\" while the HTTP Request Url was \"http://abc/webservices/abcWebService.asmx\"."}
This has become a real pain .Can anyone help me asap as this is out prod issue?
Thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2009
Commented:
You can give the Actor name as some constant URI, like urn:myActorName. That will remove this error, because this only happens when the actor name is empty. The actor name need not and should not point to a real we address.

the concept is explained in this response: http://www.dotnetmonster.com/Uwe/Forum.aspx/dotnet-web-services-enhancements/313/HTTPS-SoapActor

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial