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 "Roman Hrivik (JIRA)" <ax...@ws.apache.org> on 2005/06/06 15:53:54 UTC
[jira] Created: (AXIS-2041) wsdl2java WSDL processing error [missing xmlns="http://schemas.xmlsoap.org/wsdl/"]
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
[jira] Commented: (AXIS-2041) wsdl2java WSDL processing error [missing xmlns="http://schemas.xmlsoap.org/wsdl/"]
Posted by "Guillaume Sauthier (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-2041?page=comments#action_12312885 ]
Guillaume Sauthier commented on AXIS-2041:
------------------------------------------
wsdl2java has nothing to do with your problem.
Yes, the WSDL is not correct :
- we need to add default namespace pointing to wsdl namespace
- or we need to prefix types : we should have wsdl:types
This is WSDL4J that is writing the WSDL ?
Looks like some prefixes are missing :
- types should be wsdl:types
- documentation should be wsdl:documentation
> 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
[jira] Commented: (AXIS-2041) wsdl2java WSDL processing error [missing xmlns="http://schemas.xmlsoap.org/wsdl/"]
Posted by "Roman Hrivik (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-2041?page=comments#action_12312879 ]
Roman Hrivik commented on AXIS-2041:
------------------------------------
XERCES is not used
there is used xmlparserv2.jar - Oracle parser
> 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
[jira] Updated: (AXIS-2041) wsdl2java WSDL processing error [missing xmlns="http://schemas.xmlsoap.org/wsdl/"]
Posted by "Roman Hrivik (JIRA)" <ax...@ws.apache.org>.
[ 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
[jira] Commented: (AXIS-2041) wsdl2java WSDL processing error [missing xmlns="http://schemas.xmlsoap.org/wsdl/"]
Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-2041?page=comments#action_12312865 ]
Davanum Srinivas commented on AXIS-2041:
----------------------------------------
Am suspecting that you are not using Xerces. can you please post the whole stack trace?
> 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
[jira] Commented: (AXIS-2041) wsdl2java WSDL processing error [missing xmlns="http://schemas.xmlsoap.org/wsdl/"]
Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-2041?page=comments#action_12312797 ]
Davanum Srinivas commented on AXIS-2041:
----------------------------------------
oc4j???
> 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
[jira] Updated: (AXIS-2041) wsdl2java WSDL processing error [missing xmlns="http://schemas.xmlsoap.org/wsdl/"]
Posted by "Roman Hrivik (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-2041?page=all ]
Roman Hrivik updated AXIS-2041:
-------------------------------
Attachment: OplusWS.wsdl
AXIS generated file via URL
http://localhost:8888/OPlus/services/OplusWS?wsdl
> 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
[jira] Commented: (AXIS-2041) wsdl2java WSDL processing error [missing xmlns="http://schemas.xmlsoap.org/wsdl/"]
Posted by "Roman Hrivik (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-2041?page=comments#action_12312877 ]
Roman Hrivik commented on AXIS-2041:
------------------------------------
console output
c:\eclipseProjects\oplus-ws\test-client>ant OplusWS.wsdl2java
Buildfile: build.xml
prepare:
[echo] prepare C:\eclipseProjects\oplus-ws\test-client\build
OplusWS.wsdl2java:
[axis-wsdl2java] WSDL2Java C:\eclipseProjects\oplus-ws\test-client\wsdl-files\Op
lusWS.wsdl
[axis-wsdl2java] Running Wsdl2javaAntTask with parameters:
[axis-wsdl2java] verbose:false
[axis-wsdl2java] debug:false
[axis-wsdl2java] quiet:false
[axis-wsdl2java] server-side:false
[axis-wsdl2java] skeletonDeploy:false
[axis-wsdl2java] helperGen:true
[axis-wsdl2java] factory:null
[axis-wsdl2java] nsIncludes:[]
[axis-wsdl2java] nsExcludes:[]
[axis-wsdl2java] factoryProps:[]
[axis-wsdl2java] testCase:true
[axis-wsdl2java] noImports:false
[axis-wsdl2java] NStoPkg:{http://localhost:8888/OPlus/services/OplusWS=sk
.orange.oplus.ws.junit.axis.wsdl, http://exception.ejb.ws.oplus.orange.sk=sk.ora
nge.oplus.ws.junit.axis.wsdl.exception}
[axis-wsdl2java] output:C:\eclipseProjects\oplus-ws\test-client\wsdl-src
[axis-wsdl2java] protocolHandlerPkgs:
[axis-wsdl2java] deployScope:
[axis-wsdl2java] URL:C:\eclipseProjects\oplus-ws\test-client\wsdl-files\O
plusWS.wsdl
[axis-wsdl2java] all:true
[axis-wsdl2java] typeMappingVersion:1.2
[axis-wsdl2java] timeout:45000
[axis-wsdl2java] failOnNetworkErrors:false
[axis-wsdl2java] printStackTraceOnFailure:true
[axis-wsdl2java] namespaceMappingFile:null
[axis-wsdl2java] username:null
[axis-wsdl2java] :passwordnull
[axis-wsdl2java] :noWrappedfalse
[axis-wsdl2java] :allowInvalidURLfalse
[axis-wsdl2java] :implementationClassNamenull
[axis-wsdl2java] :classpathnull
[axis-wsdl2java] http.proxyHost=null
[axis-wsdl2java] http.proxyPort=null
[axis-wsdl2java] http.proxyUser=null
[axis-wsdl2java] http.proxyPassword=null
[axis-wsdl2java] socks.proxyHost=null
[axis-wsdl2java] socks.proxyPort=null
[axis-wsdl2java] WSDLException (at /wsdl:definitions/types): faultCode=INVALID_W
SDL: Encountered illegal extension element 'types' in the context of a 'javax.ws
dl.Definition'. Extension elements must be in a namespace other than WSDL's.:
[axis-wsdl2java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseExtensibilityEle
ment(Unknown Source)
[axis-wsdl2java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unkn
own Source)
[axis-wsdl2java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Sour
ce)
[axis-wsdl2java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Sour
ce)
[axis-wsdl2java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Sour
ce)
[axis-wsdl2java] at org.apache.axis.wsdl.symbolTable.SymbolTable.populate
(SymbolTable.java:514)
[axis-wsdl2java] at org.apache.axis.wsdl.symbolTable.SymbolTable.populate
(SymbolTable.java:493)
[axis-wsdl2java] at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Pars
er.java:360)
[axis-wsdl2java] at java.lang.Thread.run(Thread.java:534)
BUILD FAILED
C:\eclipseProjects\oplus-ws\test-client\build.xml:161: WSDL processing error for
C:\eclipseProjects\oplus-ws\test-client\wsdl-files\OplusWS.wsdl :
WSDLException (at /wsdl:definitions/types): faultCode=INVALID_WSDL: Encountered
illegal extension element 'types' in the context of a 'javax.wsdl.Definition'.
Extension elements must be in a namespace other than WSDL's.
Total time: 6 seconds
> 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
[jira] Commented: (AXIS-2041) wsdl2java WSDL processing error [missing xmlns="http://schemas.xmlsoap.org/wsdl/"]
Posted by "Roman Hrivik (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-2041?page=comments#action_12312844 ]
Roman Hrivik commented on AXIS-2041:
------------------------------------
oc4j is Oracle IAS application container
but anyway it does not matter.
the main thing is that if there is no
xmlns="http://schemas.xmlsoap.org/wsdl/
in generated WSDL
the wsdl2java ant task ends with error
WSDL processing error for
OplusWS.wsdl
WSDLException (at /wsdl:definitions/types): faultCode=INVALID_WSDL: Encountered
illegal extension element 'types' in the context of a 'javax.wsdl.Definition'.
Extension elements must be in a namespace other than WSDL's.
> 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
[jira] Resolved: (AXIS-2041) wsdl2java WSDL processing error [missing xmlns="http://schemas.xmlsoap.org/wsdl/"]
Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-2041?page=all ]
Davanum Srinivas resolved AXIS-2041:
------------------------------------
Resolution: Cannot Reproduce
Please switch to Xerces. I don't think there is anything we can fix. worst case, use a custom WSDL.
thanks,
dims
> 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