axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 22301] New: - Remove soapenc namespace from literal WSDL
Date Mon, 11 Aug 2003 14:12:45 GMT
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=22301>.
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=22301

Remove soapenc namespace from literal WSDL

           Summary: Remove soapenc namespace from literal WSDL
           Product: Axis
           Version: current (nightly)
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: WSDL processing
        AssignedTo: axis-dev@ws.apache.org
        ReportedBy: apachebugs@perham.net


I noticed when I generated a doc/lit WSDL from a java class that it included the
soapenc ns even though that shouldn't technically ever be referenced.  This
patch cleans that up.
 
Index: Emitter.java
===================================================================
RCS file:
/home/cvspublic/xml-axis/java/src/org/apache/axis/wsdl/fromJava/Emitter.java,v
retrieving revision 1.97
diff -r1.97 Emitter.java
687,690c687,692
<         def.addNamespace(Constants.NS_PREFIX_SOAP_ENC,
<                          Constants.URI_DEFAULT_SOAP_ENC);
<         namespaces.putPrefix(Constants.URI_DEFAULT_SOAP_ENC,
<                              Constants.NS_PREFIX_SOAP_ENC);
---
>   if (use == Use.ENCODED) {
>    def.addNamespace(Constants.NS_PREFIX_SOAP_ENC,
>         Constants.URI_DEFAULT_SOAP_ENC);
>    namespaces.putPrefix(Constants.URI_DEFAULT_SOAP_ENC,
>          Constants.NS_PREFIX_SOAP_ENC);
>   }

Mime
View raw message