Groups | Blog | Home
all groups > dotnet web services enhancements > august 2006 >

dotnet web services enhancements : WSE 3.0 and AJAX


Nate
8/14/2006 8:24:02 AM
I've been sifting thru article after article looking for an answer to 1
question. I'm hoping someone can help me with this.

Here's the problem. I have a website that I have enabled WSE 3.0 and have a
policy set for. Now, this works great for all of the desktop app clients
that connect to those services securely. But, I also have some web pages
that require unsecured calls via AJAX (javascript) to some other web
services. Any ideas on how to accomplish this?


Gaurav Vaish (www.EduJini.IN)
8/15/2006 12:00:00 AM
[quoted text, click to view]


You may want to look at Atlas framework that allows to interact with
WebServices in a beautiful manner.

http://atlas.asp.net


--
Happy Hacking,
Gaurav Vaish | http://www.mastergaurav.org
http://www.edujini.in | http://webservices.edujini.in
-------------------

Pablo Cibraro [MVP]
8/15/2006 9:43:53 AM
Hi,

For the moment, there is not way to execute secure web services using AJAX.
Atlas did not support that as well,
http://forums.asp.net/thread/1286648.aspx

Regards,
Pablo Cibraro
http://weblogs.asp.net/cibrax


[quoted text, click to view]

Gaurav Vaish (www.EduJini.IN)
8/16/2006 7:31:35 PM
[quoted text, click to view]

Agree.
But I think his question was...


[quoted text, click to view]

He's talking about unsecured web services... ;-)
Unless I understood it otherwise... :)

--
Happy Hacking,
Gaurav Vaish | http://www.mastergaurav.org
http://www.edujini.in | http://webservices.edujini.in
-------------------

Nate
8/18/2006 7:24:58 AM
Yes, this is correct. I need to have both. Can I create a sub virtual
directory that would not contain WSE secured web services?

[quoted text, click to view]
Gaurav Vaish (www.EduJini.IN)
8/22/2006 10:29:15 PM
[quoted text, click to view]

Yes... you can have the WSE enabled for only a specific location.

<location path='path'>
<microsoft.web.services2/3>
<!-- define the configuration for the corresponding path -->
<!-- To disable all input and output filters -->
<filters>
<input>
<clear />
</input>
</filters>
<!-- To disable all policies -->
<policy fileName='filename.config" />
</microsoft.web.services2/3>
</location>

And define your policy in path/filename.config.
Incase you want it to have no security policies but the parent folder has
one, you'll need to define a default policy with a DummyPolicy that does
nothing and validates all requests.

HTH


--
Happy Hacking,
Gaurav Vaish | http://www.mastergaurav.org
http://www.edujini.in | http://webservices.edujini.in
-------------------

AddThis Social Bookmark Button