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 11832] New: - WSDL2Java does not allow the '&' character in the end point address
Date Mon, 19 Aug 2002 19:08:29 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=11832>.
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=11832

WSDL2Java does not allow the '&' character in the end point address

           Summary: WSDL2Java does not allow the '&' character in the end
                    point address
           Product: Axis
           Version: current (nightly)
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: WSDL processing
        AssignedTo: axis-dev@xml.apache.org
        ReportedBy: pratik.datta@peregrine.com


I have a WSDL in which the end point address is like this:

  <soap:address location="http://evolution/arsys/services/ARService?
server=evolution&webService=WSForm" /> 

When I run it through WSDL2Java the URL becomes like this
private final java.lang.String WSFormSoap_address 
= "http://evolution/arsys/services/ARService?
server=evolution&amp;webService=WSForm";

Notice how the & is becoming  &amp;

I looked at the source of WSDLUtils.java and see that it deliberately doing an 
xmlEncodeString on the URL. Why is it doing that?


Pratik

Mime
View raw message