[jbossws-issues] [JBoss JIRA] Commented: (JBWS-1761) WSProvide ignores SOAPBinding declaration

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Thu Oct 11 06:29:03 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBWS-1761?page=comments#action_12381644 ] 
            
Thomas Diesler commented on JBWS-1761:
--------------------------------------

    [junit] Running org.jboss.test.ws.jaxws.binding.SOAPBindingTestCase
    [junit] <definitions name='SOAPEndpointBeanService' targetNamespace='http://org.jboss.ws/jaxws/binding' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:soap12='http://schemas.xmlsoap.org/wsdl/soap12/' xmlns:tns='http://org.jboss.ws/jaxws/binding' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
    [junit]  <types/>
    [junit]  <message name='SOAPEndpoint_namespace'/>
    [junit]  <message name='SOAPEndpoint_namespaceResponse'>
    [junit]   <part name='return' type='xsd:string'/>
    [junit]  </message>
    [junit]  <portType name='SOAPEndpoint'>
    [junit]   <operation name='namespace'>
    [junit]    <input message='tns:SOAPEndpoint_namespace'/>
    [junit]    <output message='tns:SOAPEndpoint_namespaceResponse'/>
    [junit]   </operation>
    [junit]  </portType>
    [junit]  <binding name='SOAPEndpointBinding' type='tns:SOAPEndpoint'>
    [junit]   <soap12:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
    [junit]   <operation name='namespace'>
    [junit]    <soap12:operation soapAction=''/>
    [junit]    <input>
    [junit]     <soap12:body namespace='http://org.jboss.ws/jaxws/binding' use='literal'/>
    [junit]    </input>
    [junit]    <output>
    [junit]     <soap12:body namespace='http://org.jboss.ws/jaxws/binding' use='literal'/>
    [junit]    </output>
    [junit]   </operation>
    [junit]  </binding>
    [junit]  <service name='SOAPEndpointBeanService'>
    [junit]   <port binding='tns:SOAPEndpointBinding' name='SOAPEndpointPort'>
    [junit]    <soap12:address location='http://127.0.0.1:8080/jaxws-binding'/>
    [junit]   </port>
    [junit]  </service>
    [junit] </definitions>
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 7.317 sec


> WSProvide ignores SOAPBinding declaration
> -----------------------------------------
>
>                 Key: JBWS-1761
>                 URL: http://jira.jboss.com/jira/browse/JBWS-1761
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: jbossws-2.0.0
>            Reporter: Heiko Braun
>         Assigned To: Thomas Diesler
>             Fix For:  jbossws-2.0.2
>
>
> 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 ...	

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbossws-issues mailing list