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

WSDL To Java - Case of service-interface and service-endpoint-interface in JAX-RPC mapping does not match generated interface when WSDL type begins with lower case.

XMLWordPrintable

      When a WSDL is processed with the following definitions: -

      <portType name='phoneBookPort'>
      <operation name='lookup'>
      <input message='tns:PhoneBook_lookup'/>
      <output message='tns:PhoneBook_lookupResponse'/>
      </operation>
      </portType>

      <binding name='phoneBookBinding' type='tns:phoneBookPort'>
      <soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/>
      <operation name='lookup'>
      <soap:operation soapAction=''/>
      <input>
      <soap:body use='literal' parts='parameters'/>
      </input>
      <output>
      <soap:body use='literal'/>
      </output>
      </operation>
      </binding>

      <service name='phoneBookService'>
      <port binding='tns:phoneBookBinding' name='PhoneBook'>
      <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
      </port>
      </service>

      The generated service-interface and generated service-endpoint-interface are correctly generated with the first letter upper, however the generated JAX-RPC mapping references the types with the first letter lower case.

              darran.lofthouse@redhat.com Darran Lofthouse
              darran.lofthouse@redhat.com Darran Lofthouse
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: