WSDL2Java is wrongly applying 
------------------------------

         Key: AXIS-2349
         URL: http://issues.apache.org/jira/browse/AXIS-2349
     Project: Apache Axis
        Type: Bug
  Components: WSDL processing  
    Versions: 1.3    
 Environment: Windows XP
    Reporter: Andrew Whelan


The JAX-RPC 1.1 spec has name collision rules, saying that when the binding 
name and the portType name are the same, "_PortType" should be appended to the 
generated SEI name (section 4.3.12)

I am working with a WSDL that has the following elements:

<wsdl:binding name="SomeWebServiceSoapBinding" type="impl:SomeWebService">

<wsdl:portType name="SomeWebService">

As you can see the PortType and Binding names are NOT the same yet when I run 
WSDL 2Java the _PortType  is now being appended to the generated Service 
Endpoint Interface class (ie SomeWebService_PortType.java). This wasn't 
happening when using Apache Axis 1.1 but it is with 1.3.

There is only one package I am dealing with so the only flags I am using are 
the -p (package name) and the -o (output directory for emitted files). 


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

Reply via email to