This referenced schema
http://acc.object.com.cn/interface/yhtinterface.asmx?wsdl#types?schema1 is
not a valid xml schema because the import statement is not correct:

<s:import namespace="http://www.w3.org/2001/XMLSchema"; /> 

Should be 

<s:import namespace="http://www.w3.org/2001/XMLSchema";
schemaLocation="http://www.w3.org/2001/XMLSchema.xsd"/> 

or something similar.  The issue is that this import is not being resolved to
an actual schema and so the line

<s:element ref="s:schema" /> 

causes an error because the element schema is defined in
http://www.w3.org/2001/XMLSchema.xsd

Thatcher

-----Original Message-----
From: lee.daniel (JIRA) [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 16, 2006 2:46 AM
To: [email protected]
Subject: [xfire-dev] [jira] Created: (XFIRE-760) Cannot resolve the name
's:schema' to a(n) 'element declaration'


Cannot resolve the name 's:schema' to a(n) 'element declaration' 
-----------------------------------------------------------------

                 Key: XFIRE-760
                 URL: http://jira.codehaus.org/browse/XFIRE-760
             Project: XFire
          Issue Type: Bug
         Environment: eclipse3.2.1 jre1.5_06
            Reporter: lee.daniel
         Assigned To: Dan Diephouse
         Attachments: &#26700

gen-client:
    [wsgen] 2006-11-16 15:04:42 org.codehaus.xfire.gen.Wsdl11Generator
generate
    [wsgen] &#20449;&#24687;: Generating code for WSDL at
http://acc.object.com.cn/interface/yhtinterface.asmx?wsdl with a base URI of
http://acc.object.com.cn/interface/yhtinterface.asmx?wsdl
    [wsgen] 2006-11-16 15:04:44 org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl
warning
    [wsgen] &#20005;&#37325;: Error generating JAXB classes: src-resolve:
Cannot resolve the name 's:schema' to a(n) 'element declaration' component.
at -1,-1 in
http://acc.object.com.cn/interface/yhtinterface.asmx?wsdl#types?schema1

BUILD FAILED

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to