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=14712>.
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=14712

wsdl2java can not do schema imports

           Summary: wsdl2java can not do schema imports
           Product: Axis
           Version: 1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: WSDL processing
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


In trying to employ xml:lang and xsi:schemaLocation, both of the import 
statements in the types section of the following wsdl cause error (errors 
documented in wsdl commnets):

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://www.oasis-
open.org/committees/wsrp/v1/wsdl/intf"
                  xmlns:intf="http://www.oasis-
open.org/committees/wsrp/v1/wsdl/intf"
                  xmlns:types="http://www.oasis-
open.org/committees/wsrp/v1/wsdl/types"

                  xmlns="http://schemas.xmlsoap.org/wsdl/";

                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
                  xmlns:xsd="http://www.w3.org/2001/XMLSchema";
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
                  xmlns:nsxml="http://www.w3.org/XML/1998/namespace";
                  >

  <wsdl:types>
    <schema targetNamespace="http://www.oasis-
open.org/committees/wsrp/v1/wsdl/types"
            xmlns="http://www.w3.org/2001/XMLSchema";
            elementFormDefault="qualified">

      <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
      <import namespace="http://www.w3.org/2001/XMLSchema-instance"; 
schemaLocation="http://www.w3.org/2001/XMLSchema-instance.xsd"/> -->
<import namespace="http://www.w3.org/XML/1998/namespace"; 
schemaLocation="http://www.w3.org/2001/xml.xsd"/>
<!-- Axis wsdl2java does not like the type=language for xml:lang
wsdl2j says: java.io.IOException: The XML Schema type 'language' is not 
currently supported.
-->
<import namespace="http://www.w3.org/2001/XMLSchema"; 
schemaLocation="http://www.w3.org/2001/XMLSchema.xsd"/>
<!-- Axis wsdl2java does not like the redefinition of types this causes
wsdl2j says: {http://www.w3.og/2001/XMLSchema}derivationSet already exists
....
java.io.IOException: Type {http://www.w3.og/2001/XMLSchema}anySimpleTYpe os 
referenced but not defined.
-->
    </schema>
 </wsdl:types>
 </wsdl:definitions>

Reply via email to