WebServices in WebLogic

Web services are de facto standards in today’s internet world. They use XML-based standards and transport protocols to exchange data with clients. The below post gives a brief understanding of the webservices in WebLogic Service. Before moving on with a sample WebServer demonstration, lets understand the structure of the WebLogic

Continue reading

Securing Webservices using BASIC Authentication on Weblogic Server.

To secure the Webservice to use Basic Authentication, we just need to use the @RolesAllowed annotation. No change needs to be done in the deployment descriptor. Here is a sample JWS. package demo; import javax.jws.*; import weblogic.jws.security.RolesAllowed; import weblogic.jws.security.SecurityRole; @RolesAllowed ( { @SecurityRole (role=”Adminstrators”,mapToPrincipals{“weblogic”}), } ) @WebService public class TestBasic

Continue reading