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 2002/08/19 21:08:29 UTC

DO NOT REPLY [Bug 11832] New: - WSDL2Java does not allow the '&' character in the end point address

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