You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2003/03/25 18:00:42 UTC

DO NOT REPLY [Bug 18326] New: - org.apache.axis.wsdl.toJava.JavaFaultWriter generates invalid Java names for DOC style messaging

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18326>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18326

org.apache.axis.wsdl.toJava.JavaFaultWriter generates invalid Java names for DOC style messaging

           Summary: org.apache.axis.wsdl.toJava.JavaFaultWriter generates
                    invalid Java names for DOC style messaging
           Product: Axis
           Version: current (nightly)
          Platform: All
               URL: http://dev.systinet.com/code_samples/demos/w3csearch
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: WSDL processing
        AssignedTo: axis-dev@ws.apache.org
        ReportedBy: lists@daleasberry.com


The following snippet from the 
file "http://soap.systinet.net/demos/W3CSearch/wsdl"

<wsdl:message 
name='W3CSearchService_search_com.systinet.demo.search.SearchException_Fault'>
    <wsdl:part name='idoox-java-
mapping.com.systinet.demo.search.SearchException' type='xsd:string'/>
</wsdl:message>

Produces the variable name:
idoox-java-mapping.com.systinet.demo.search.SearchException

which is NOT a valid Java name.

The following name is generated if the JavaFaultWriter is modified by wrapping 
certain variable generators with Utils.xmlNameToJava().