Hi all,
I have a very simple test WSE 3.0 enabled web service. The Web Service is
the default "Hello World" file based web service in VS 2005.
I used the wizard to secure this service using the "Username" authentication
and chose to authorize that the user is "testuser".
When I invoke the simple "helloworld" web method from a test client using
WSE 3.0, I can get the expected authentication error. If I simply invoke the
"helloworld" method from internet explorer, no authentication error is thrown
and the web method is invoked and returns a result (even though no
credentials were passed).
Why is WSE only authenticating / authorizing requests that come from a WSE
test client, and not Internet Explorer? Seems like I am missing something
very important here.
Thanks,
Jon
Pablo Cibraro - 30 Mar 2006 20:57 GMT
Hi Jon,
Yes, you are missing something import ;-).
<system.web>
<webServices>
<!-- uncomment for production use -->
<protocols>
<remove name="HttpGet"/>
<remove name="HttpPost"/>
<remove name="Documentation"/>
</protocols>
</webServices>
</system.web>
You have to remove those protocols from your ws virtual directory.
Regards,
Pablo Cibraro
http://weblogs.asp.net/cibrax
> Hi all,
>
[quoted text clipped - 18 lines]
> Thanks,
> Jon
Julie Lerman - 30 Mar 2006 23:30 GMT
just to add an extra penny onto Pablo's great advice, I wrote a post about
this that also has a pointer to more tips about configuring web services for
deployment:
http://www.thedatafarm.com/blog/PermaLink.aspx?guid=a564b67f-6162-460a-a8ee-44b9
167938e0
> Hi Jon,
>
[quoted text clipped - 42 lines]
>> Thanks,
>> Jon
Jon_ProactiveLogic - 31 Mar 2006 18:20 GMT
Thanks for the responses. However this solution did not work. I never had
this problem with WSE 2.0 (I had the settings you posted in WSE 2.0).
Could this be a WSE 3.0 issue? I also have an issue with WSE 3.0 not
generating WSE client proxies at all. Maybe this is some kind of related
install issue.
Any ideas? Any other info I can provide to make it easier to help?
Thanks,
Jon
> just to add an extra penny onto Pablo's great advice, I wrote a post about
> this that also has a pointer to more tips about configuring web services for
[quoted text clipped - 47 lines]
> >> Thanks,
> >> Jon
Ayoob.O.K - 31 Mar 2006 14:41 GMT
Hi..
pls tell me how du u test webservices made using WSE 3.O
ayoob_ok@infosys.com,ayoobok@gmail.com

Signature
Thank and rgds
Ayoob
> Hi all,
>
[quoted text clipped - 15 lines]
> Thanks,
> Jon