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

Java2WSDL ignores @Oneway

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jbossws-1.0RC3
    • None
    • tools-jaxrpc
    • None

      See jsr-181 4.3

      The expected wsdl is something like

      <definitions>
      <message name="ping"/>
      <portType name="PingService">
      <operation name="ping">
      <input message="ping"/>
      </operation>
      </portType>
      </definitions>

      The actual generated WSDL is

      <definitions name="PingServiceService" targetNamespace="http://oneway.jsr181.ws.test.jboss.org/jaws" xmlns:tns="http://oneway.jsr181.ws.test.jboss.org/jaws" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://schemas.xmlsoap.org/wsdl/">
      <types>
      </types>
      <message name="PingService_ping">
      </message>
      <message name="PingService_pingResponse">
      </message>
      <portType name="PingService">
      <operation name="ping">
      <input message="tns:PingService_ping"/>
      <output message="tns:PingService_pingResponse"/>
      </operation>
      </portType>
      <binding name="PingServiceBinding" type="tns:PingService">
      <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
      <operation name="ping">
      <soap:operation soapAction=""/>
      <output>
      <soap:body use="literal" namespace="http://oneway.jsr181.ws.test.jboss.org/jaws"/>
      </output>
      </operation>
      </binding>
      <service name="PingServiceService">
      <port name="PingServicePort" binding="tns:PingServiceBinding">
      <soap:address location="http://TDDELL:8080/jbossws-jsr181-oneway/TestService"/>
      </port>
      </service>
      </definitions>

              jgreene@redhat.com Jason Greene
              tdiesler@redhat.com Thomas Diesler
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: