Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-1761

WSProvide ignores SOAPBinding declaration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jbossws-2.0.2
    • jbossws-2.0.0
    • None
    • None

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

      Code:

      ...
      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:
      Code:

      ...
      <binding name='KundenverwaltungBinding' type='tns:Kundenverwaltung'>
      <soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/>
      <operation ...

              tdiesler@redhat.com Thomas Diesler
              rhn-support-hbraun Heiko Braun
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: