[ http://issues.apache.org/jira/browse/AXIS-2041?page=all ]
Roman Hrivik updated AXIS-2041:
-------------------------------
Attachment: oplus-ws-root-error.log
log file after ANT task axis-wsdl2java
<pre>
<target name="OplusWS.wsdl2java" depends="prepare" description="Generate Java
sources from wsdl file">
<!--
WSDL is missing defult namespace !!
xmlns="http://schemas.xmlsoap.org/wsdl/"
it should be added after generation
-->
<axis-wsdl2java
output="${wsdl-src}"
url="${wsdl.files}/OplusWS.wsdl"
all="true"
helpergen="true"
testcase="true"
>
<mapping
namespace="http://exception.ejb.ws.oplus.orange.sk"
package="sk.orange.oplus.ws.junit.axis.wsdl.exception" />
<mapping
namespace="http://localhost:8888/OPlus/services/OplusWS"
package="sk.orange.oplus.ws.junit.axis.wsdl" />
</axis-wsdl2java>
</pre>
> 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
> Attachments: OplusWS.wsdl, oplus-ws-root-error.log
>
> 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