It's not a secret anymore!
The moose likes Web Services and the fly likes Weblogic security - ajax web service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Weblogic security - ajax web service" Watch "Weblogic security - ajax web service" New topic

Weblogic security - ajax web service


Joined: Apr 30, 2002
Posts: 7
Has anyone created a ajax WebService, then deployed your application within Weblogic and allowed for an unauthenticated user to access that service?

We have developed an application that includes several security constraints that provide access to areas of the app for authenticated users. But, now I would like for someone (anyone) to access a URL without being authenticated.

Within the web.xml, I've created a security constraint that that I assumed would allow anyone access:

This configuration works locally, but not when deployed to the dev server.

I've even tried providing an auth-constraint:

When I try to access the URL: http://localhost:8080/services/MyService, I get an error stating: faultString: org.xml.sax.SAXParseException: White spaces are required between publicId and systemId.

But, if I log in to the application then use that URL, I'm able to see the available webservices.

How do I get around the authentication??

Peer Reynders

Joined: Aug 19, 2005
Posts: 2933
Welcome to JavaRanch "WhyMe",

Please check your private messages.
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3753


Your name still does not conform to the JavaRanch Naming Policy. Please review the policy and update it appropriately. This is your second warning.

Scott Selikoff

[OCA 8 Book] [Blog]
I agree. Here's the link:
subject: Weblogic security - ajax web service
It's not a secret anymore!