Re: Web Service that calls an external Web Service

From: Isaias Formacio Serna (none_at_mail.com)
Date: 01/29/04


Date: Thu, 29 Jan 2004 09:09:10 -0600

This URL is programatically set, I has an initial URL like:
http://localhost/station/station.asmx but I change it with this code:

service.Url = "http://" + host + "/station/station.asmx";

When I've debugged I've seen that the URL is correct, actually, this same
webservice works fine on any other WinXP computer, but not on the Win2003.

And yes, the host: http://plasma as same as http://192.168.5.15 (it's IP)
have full trust.

Don't know what else to do...

Thanks for the help.

Isaias Formacio

"MSFT" <lukezhan@online.microsoft.com> wrote in message
news:lqNbIPh5DHA.1992@cpmsftngxa07.phx.gbl...
> Hello,
>
> Thank you for using the community. I am Luke and I am review this issue
> currently. As I understand, the web service call another web service and
> encounter an SecurityException.You have set:
>
> <IPermission class="System.Net.WebPermission, System, Version=1.0.5000.0,
> Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1">
> <ConnectAccess>
> <URI uri="http://plasma/station/station\.asmx"/>
> </ConnectAccess>
> </IPermission>
>
> If we made some changes:
>
> <URI uri="http://plasma/station/station/.*" />
>
> Wull this help?
>
> And how did you set the trust level for the external web service? full
> trust?
>
> For more information on Code Access Security with ASP .NET, you may refer
> to:
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/ht
> ml/THCMCh09.asp
>
> Luke
> Microsoft Online Support
>
> Get Secure! www.microsoft.com/security
> (This posting is provided "AS IS", with no warranties, and confers no
> rights.)
>



Relevant Pages

  • Re: Build Error while debugging ASP.net 2.0 Web Service on IIS
    ... does this change the behavior or does it trigger another error message that you are not allowed to change the trust level?? ... ASP.net 2.0 web service on IIS. ... Everything worked fine until I tried to debug the the ... web service on the local IIS server. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Sharepoint Documents Storage
    ... I also wrote a web service that communicates my application with the ... extranet server's database, so I can read/write info from there. ... CAS, and the level of trust, but I really don't understand what I have ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: zero touch deployment problem
    ... >> If you use the data access components in a application then full trust ... >> This is more than the full trust you can grant in a code group. ... >> You need to extract the data access stuff into a web service and call ... >> a web directory in the web server. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Build Error while debugging ASP.net 2.0 Web Service on IIS
    ... are you saying that in the web.confg in the framework CONFIG folder trust is set to Full? ... your IIS server is configured for partial trust - this can be set ... web service on the local IIS server. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • RE: Web Service that calls an external Web Service
    ... I am Luke and I am review this issue ... the web service call another web service and ... <URI uri="http://plasma/station/station/ .*" /> ... And how did you set the trust level for the external web service? ...
    (microsoft.public.dotnet.framework.aspnet.security)