[jboss-user] [JBossWS] - Re: JBoss 2.0: Specifying SOAP 1.2 for WSProvideTask ?

Juergen.Zimmermann do-not-reply at jboss.com
Tue Jul 24 04:09:38 EDT 2007


I specified the SOAPBinding in the EJB3 stateless session bean as follows:

...
  | import static javax.xml.ws.soap.SOAPBinding.SOAP12HTTP_BINDING;
  | ...
  | @WebService(name="Kundenverwaltung",
  |              targetNamespace="http://ws.hska.de/kundenverwaltung",
  |              serviceName="KundenverwaltungService")
  | @BindingType(SOAP12HTTP_BINDING)
  | 
  | @Stateless
  | @Remote(KundenverwaltungService.class)
  | @RolesAllowed(ROLLE_MITARBEITER)
  | 
  | @WebContext(contextRoot="/hska/KundenverwaltungService",
  |             urlPattern="/*",
  |             authMethod="BASIC",
  |             transportGuarantee="NONE")
  | @SecurityDomain("hska")
  | @EndpointConfig(configName="Standard WSSecurity Endpoint")
  | public class KundenverwaltungServiceBean implements KundenverwaltungService {...

The generated WSDL looks as follows:
...
  |  <binding name='KundenverwaltungBinding' type='tns:Kundenverwaltung'>
  |   <soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/>
  |   <operation ...

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066909



More information about the jboss-user mailing list