RE: Web Service that calls an external Web Service

From: MSFT (lukezhan_at_online.microsoft.com)
Date: 01/29/04


Date: Thu, 29 Jan 2004 02:58:18 GMT

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: Web Service that calls an external Web Service
    ... This URL is programatically set, I has an initial URL like: ... have full trust. ... I am Luke and I am review this issue ... the web service call another web service and ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: delay in first call to web service
    ... the IIS MMC and the asp.net worker process. ... > Luke Venediger ... >> i have a web service written in vb.net and hosted in asp.net under IIS ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: SOAP Help
    ... > Can you contact the owner of the web service and have them provide a WSDL ... Prev by Date: ...
    (microsoft.public.dotnet.framework.webservices)
  • RE: Marshal.GetActiveObject throws an exception in a C# webservice
    ... but got then the static error I posted earlier. ... > in an ASP.NET (Web service) project or others? ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • RE: Identity crisis on a WS
    ... I built a "regular" Web Application (not a Web Service) that uses the COM+ component and it does NOT work also, so the problem is not only Web Service related and it comun to all Web Applications. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)