wsdl2java WSDL processing error [missing 
xmlns="http://schemas.xmlsoap.org/wsdl/";]
----------------------------------------------------------------------------------

         Key: AXIS-2041
         URL: http://issues.apache.org/jira/browse/AXIS-2041
     Project: Axis
        Type: Bug
  Components: WSDL processing  
    Versions: 1.2    
 Environment: Windows, oc4j 9.0.4
    Reporter: Roman Hrivik


AXIS generate WSDL without default xmlns attribute
i.e.:

<wsdl:definitions 
targetNamespace="http://localhost:8888/OPlus/services/OplusWS"; 
xmlns:impl="http://localhost:8888/OPlus/services/OplusWS"; 
xmlns:intf="http://localhost:8888/OPlus/services/OplusWS"; 
xmlns:apachesoap="http://xml.apache.org/xml-soap"; 
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:tns1="http://exception.ejb.ws.oplus.orange.sk"; 
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";>

there also must be a default xmlns="http://schemas.xmlsoap.org/wsdl/"; 
definition in case of sucessfully wsdl2java generation
see:

<wsdl:definitions 
targetNamespace="http://localhost:8888/OPlus/services/OplusWS"; 
xmlns:impl="http://localhost:8888/OPlus/services/OplusWS"; 
xmlns:intf="http://localhost:8888/OPlus/services/OplusWS"; 
xmlns:apachesoap="http://xml.apache.org/xml-soap"; 
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:tns1="http://exception.ejb.ws.oplus.orange.sk"; 
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
xmlns="http://schemas.xmlsoap.org/wsdl/";>




-- 
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