I have a webservice that I created and I am using it througout my
asp.net 2.0 web application. It is being called via javascript using
ATLAS.
I am now trying to add a webservice that should be accessible
externally. I have not actually done anything (intentionally) to lock
down my existing webservice, however it is not accessible outside of
the application.
Any attempt to access my webservice (like
http://myserver.com/webservice.asmx) returns an error like the
following:
Request for the permission of type
'System.Security.Permissions.SecurityPermission, mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=xxxxxxxxxx' failed.
Is this something caused by the Atlas entries in my web.config file?
Is there another reason for this or a way around this?
Also is it possible to have two webservice on the same application one
that is internal only and one that is external (or both)?
Any help would be greatly appreciated.
Possible offending web.config part:
<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx"
type="Microsoft.Web.Services.ScriptHandlerFactory" validate="false"/>