WS-Policy + Weblogic WebServer + Working

Finally a WS-Policy that worked. I was trying to do it in the JBOSS and Tomcat when a thought of using weblogic came to my mind. I used weblogic when it was in 7ish and 8ish versions but now it is in 10ish version. It grew up a lot :-D.

I’ve seen the whole workshop so simillar to Eclipse, I believe they use eclipse as their base environment and then integrate their own packages into it. When adding servers to your project, it even let you to add Tomcat servers, but no JBOSS (as I believe since JBOSS bought by Red Hat).

I used this helps / tutorials to do the simple project.


this called Neethi, API provided by the apache for using ws-policy with your web services. It is in 2.0.4th version.

This was the main help for me to associate a WS-Policy to a web service. Although it was for the 9th version but it helped a lot and I could figure out what to do. There were some minor changes in steps that I think anyone can get it while reading that.


This was  the place  that I added policies to the service, the policy is so simple that answer a request in specific time (e.g 2:30:00 PM to 3:00:00PM) and if not in that time the service called the answer would be something like this :

Access Denied to operation getCustomers

weblogic.wsee.util.AccessException: Access Denied to operation getCustomers
at weblogic.wsee.handler.HandlerIterator.handleRequest(
at weblogic.wsee.server.servlet.SoapProcessor.handlePost(
at weblogic.wsee.server.servlet.SoapProcessor.process(
at weblogic.wsee.server.servlet.BaseWSServlet$
at weblogic.wsee.server.servlet.BaseWSServlet.service(
at javax.servlet.http.HttpServlet.service(
at weblogic.servlet.internal.StubSecurityHelper$
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(
at weblogic.servlet.internal.ServletStubImpl.execute(
at weblogic.servlet.internal.ServletStubImpl.execute(
at weblogic.servlet.internal.WebAppServletContext$
at Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(
at weblogic.servlet.internal.WebAppServletContext.execute(

with the help of this you can see your web services deployed on your application server.

The nice thing about weblogic server I came up with was the lock & edit function, you could lock in your current status of server, do the changes and when everything satisfactory you are able to assign the changes to the server and services running.

1 thought on “WS-Policy + Weblogic WebServer + Working

Leave a Reply

Your email address will not be published. Required fields are marked *