axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman Hrivik (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Commented: (AXIS-2041) wsdl2java WSDL processing error [missing xmlns="http://schemas.xmlsoap.org/wsdl/"]
Date Tue, 07 Jun 2005 07:31:46 GMT
    [ 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


Mime
View raw message