Home > general > Annotations for SSL WebServices

Annotations for SSL WebServices

These can be used instead of declarations in web.xml. Haven’t tested it and frankly I like the XML declarations better

@WebService(name = "Statements", targetNamespace = "http://www.mysite.com/",
serviceName = "StatementsService", portName = "StatementsPort")
@SOAPBinding(style = SOAPBinding.Style.DOCUMENT, parameterStyle =
SOAPBinding.ParameterStyle.WRAPPED)
@BindingType(value = "http://schemas.xmlsoap.org/wsdl/soap/http?mtom=true")
@WebContext(secureWSDLAccess = false)
// @WebContext(secureWSDLAccess = true, transportGuarantee = "CONFIDENTIAL",
authMethod = "CLIENT-CERT")
// @SecurityDomain("Statements")
// @RolesAllowed("consumer")
public class StatementHandler
...

View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168482#4168482

Advertisements
Categories: general Tags:
  1. No comments yet.
  1. 12 October 2008 at 10:00

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: