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 "swati deshmukh (JIRA)" <ji...@apache.org> on 2006/05/15 19:05:08 UTC

[jira] Created: (AXIS2-738) WSDL2Java cannot find imported XSD files in same directory

WSDL2Java cannot find imported XSD files in same directory
----------------------------------------------------------

         Key: AXIS2-738
         URL: http://issues.apache.org/jira/browse/AXIS2-738
     Project: Apache Axis 2.0 (Axis2)
        Type: Bug

  Components: wsdl  
    Versions: 1.0    
 Environment: Windows xp
    Reporter: swati deshmukh


Running WSDL2Java command. All required files WSDL and XSDs are in same folder . Initially it retrieves all the info from the files. At one context file it does not find Resource bundle,creates it then goes back 2 levels up to find the same file.

Attached along are all wsdls and xsds thatare being used.The errors we are getting are as follows.

org.apache.axis2.i18n.ProjectResourceBundle - loadBundle: Ignoring MissingResourceException: Can't find bundle for base name org.apache.axis2
.resource, locale en_US

It then creates the ResourceBundle.

[main] DEBUG org.apache.axis2.i18n.ProjectResourceBundle - Root package no
t found, cross link to org.apache.axis2.i18n.resource
[main] DEBUG org.apache.axis2.i18n.ProjectResourceBundle - Created org.apa
che.axis2.wsdl.i18n.resource, linked to parent org.apache.axis2.i18n.resource

And looks for the files 2 levels up.

Caused by: org.apache.axis2.AxisFault: org.apache.ws.commons.schema.XmlSchemaExc
eption: D:\Documents and Settings\sushil.r.meda\IBM\rationalsdp6.0\workspace\SAF
\wsdl\MemberService_Interface_V0100.xsd (The system cannot find the file specifi
ed); 



-- 
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: (AXIS2-738) WSDL2Java cannot find imported XSD files in same directory

Posted by "Ajith Harshana Ranabahu (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-738?page=comments#action_12422161 ] 
            
Ajith Harshana Ranabahu commented on AXIS2-738:
-----------------------------------------------

For me the schema loading works fine. It seems that perhaps your class path is having a problem (inferred from the exception that says something about the resource bundle). However I get the unmatched type exception for both ADB and XMLbeans so still there could be a schema processing problem

> WSDL2Java cannot find imported XSD files in same directory
> ----------------------------------------------------------
>
>                 Key: AXIS2-738
>                 URL: http://issues.apache.org/jira/browse/AXIS2-738
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.0
>         Environment: Windows xp
>            Reporter: swati deshmukh
>         Assigned To: Ajith Harshana Ranabahu
>         Attachments: createIssue.wsdl, createIssue.xsd, EBSWebService.zip
>
>
> Running WSDL2Java command. All required files WSDL and XSDs are in same folder . Initially it retrieves all the info from the files. At one context file it does not find Resource bundle,creates it then goes back 2 levels up to find the same file.
> Attached along are all wsdls and xsds thatare being used.The errors we are getting are as follows.
> org.apache.axis2.i18n.ProjectResourceBundle - loadBundle: Ignoring MissingResourceException: Can't find bundle for base name org.apache.axis2
> .resource, locale en_US
> It then creates the ResourceBundle.
> [main] DEBUG org.apache.axis2.i18n.ProjectResourceBundle - Root package no
> t found, cross link to org.apache.axis2.i18n.resource
> [main] DEBUG org.apache.axis2.i18n.ProjectResourceBundle - Created org.apa
> che.axis2.wsdl.i18n.resource, linked to parent org.apache.axis2.i18n.resource
> And looks for the files 2 levels up.
> Caused by: org.apache.axis2.AxisFault: org.apache.ws.commons.schema.XmlSchemaExc
> eption: D:\Documents and Settings\sushil.r.meda\IBM\rationalsdp6.0\workspace\SAF
> \wsdl\MemberService_Interface_V0100.xsd (The system cannot find the file specifi
> ed); 

-- 
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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-738) WSDL2Java cannot find imported XSD files in same directory

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-738?page=all ]

Davanum Srinivas resolved AXIS2-738.
------------------------------------

    Resolution: Fixed

Swati,

this should be fixed in latest nightly. Please let us know and we can reopen the bug if it is still broken.

-- dims

> WSDL2Java cannot find imported XSD files in same directory
> ----------------------------------------------------------
>
>                 Key: AXIS2-738
>                 URL: http://issues.apache.org/jira/browse/AXIS2-738
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.0
>         Environment: Windows xp
>            Reporter: swati deshmukh
>         Assigned To: Ajith Harshana Ranabahu
>         Attachments: createIssue.wsdl, createIssue.xsd, EBSWebService.zip
>
>
> Running WSDL2Java command. All required files WSDL and XSDs are in same folder . Initially it retrieves all the info from the files. At one context file it does not find Resource bundle,creates it then goes back 2 levels up to find the same file.
> Attached along are all wsdls and xsds thatare being used.The errors we are getting are as follows.
> org.apache.axis2.i18n.ProjectResourceBundle - loadBundle: Ignoring MissingResourceException: Can't find bundle for base name org.apache.axis2
> .resource, locale en_US
> It then creates the ResourceBundle.
> [main] DEBUG org.apache.axis2.i18n.ProjectResourceBundle - Root package no
> t found, cross link to org.apache.axis2.i18n.resource
> [main] DEBUG org.apache.axis2.i18n.ProjectResourceBundle - Created org.apa
> che.axis2.wsdl.i18n.resource, linked to parent org.apache.axis2.i18n.resource
> And looks for the files 2 levels up.
> Caused by: org.apache.axis2.AxisFault: org.apache.ws.commons.schema.XmlSchemaExc
> eption: D:\Documents and Settings\sushil.r.meda\IBM\rationalsdp6.0\workspace\SAF
> \wsdl\MemberService_Interface_V0100.xsd (The system cannot find the file specifi
> ed); 

-- 
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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-738) WSDL2Java cannot find imported XSD files in same directory

Posted by "swati deshmukh (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-738?page=all ]

swati deshmukh updated AXIS2-738:
---------------------------------

    Attachment: createIssue.wsdl

All the wsdl files are pasted in this file

> WSDL2Java cannot find imported XSD files in same directory
> ----------------------------------------------------------
>
>          Key: AXIS2-738
>          URL: http://issues.apache.org/jira/browse/AXIS2-738
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>   Components: wsdl
>     Versions: 1.0
>  Environment: Windows xp
>     Reporter: swati deshmukh
>  Attachments: createIssue.wsdl
>
> Running WSDL2Java command. All required files WSDL and XSDs are in same folder . Initially it retrieves all the info from the files. At one context file it does not find Resource bundle,creates it then goes back 2 levels up to find the same file.
> Attached along are all wsdls and xsds thatare being used.The errors we are getting are as follows.
> org.apache.axis2.i18n.ProjectResourceBundle - loadBundle: Ignoring MissingResourceException: Can't find bundle for base name org.apache.axis2
> .resource, locale en_US
> It then creates the ResourceBundle.
> [main] DEBUG org.apache.axis2.i18n.ProjectResourceBundle - Root package no
> t found, cross link to org.apache.axis2.i18n.resource
> [main] DEBUG org.apache.axis2.i18n.ProjectResourceBundle - Created org.apa
> che.axis2.wsdl.i18n.resource, linked to parent org.apache.axis2.i18n.resource
> And looks for the files 2 levels up.
> Caused by: org.apache.axis2.AxisFault: org.apache.ws.commons.schema.XmlSchemaExc
> eption: D:\Documents and Settings\sushil.r.meda\IBM\rationalsdp6.0\workspace\SAF
> \wsdl\MemberService_Interface_V0100.xsd (The system cannot find the file specifi
> ed); 

-- 
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: (AXIS2-738) WSDL2Java cannot find imported XSD files in same directory

Posted by "swati deshmukh (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-738?page=all ]

swati deshmukh updated AXIS2-738:
---------------------------------

    Attachment: createIssue.xsd

All  XSDs are pasted in this file

> WSDL2Java cannot find imported XSD files in same directory
> ----------------------------------------------------------
>
>          Key: AXIS2-738
>          URL: http://issues.apache.org/jira/browse/AXIS2-738
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>   Components: wsdl
>     Versions: 1.0
>  Environment: Windows xp
>     Reporter: swati deshmukh
>  Attachments: createIssue.wsdl, createIssue.xsd
>
> Running WSDL2Java command. All required files WSDL and XSDs are in same folder . Initially it retrieves all the info from the files. At one context file it does not find Resource bundle,creates it then goes back 2 levels up to find the same file.
> Attached along are all wsdls and xsds thatare being used.The errors we are getting are as follows.
> org.apache.axis2.i18n.ProjectResourceBundle - loadBundle: Ignoring MissingResourceException: Can't find bundle for base name org.apache.axis2
> .resource, locale en_US
> It then creates the ResourceBundle.
> [main] DEBUG org.apache.axis2.i18n.ProjectResourceBundle - Root package no
> t found, cross link to org.apache.axis2.i18n.resource
> [main] DEBUG org.apache.axis2.i18n.ProjectResourceBundle - Created org.apa
> che.axis2.wsdl.i18n.resource, linked to parent org.apache.axis2.i18n.resource
> And looks for the files 2 levels up.
> Caused by: org.apache.axis2.AxisFault: org.apache.ws.commons.schema.XmlSchemaExc
> eption: D:\Documents and Settings\sushil.r.meda\IBM\rationalsdp6.0\workspace\SAF
> \wsdl\MemberService_Interface_V0100.xsd (The system cannot find the file specifi
> ed); 

-- 
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: (AXIS2-738) WSDL2Java cannot find imported XSD files in same directory

Posted by "swati deshmukh (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-738?page=all ]

swati deshmukh updated AXIS2-738:
---------------------------------

    Attachment: EBSWebService.zip

> WSDL2Java cannot find imported XSD files in same directory
> ----------------------------------------------------------
>
>          Key: AXIS2-738
>          URL: http://issues.apache.org/jira/browse/AXIS2-738
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>   Components: wsdl
>     Versions: 1.0
>  Environment: Windows xp
>     Reporter: swati deshmukh
>  Attachments: EBSWebService.zip, createIssue.wsdl, createIssue.xsd
>
> Running WSDL2Java command. All required files WSDL and XSDs are in same folder . Initially it retrieves all the info from the files. At one context file it does not find Resource bundle,creates it then goes back 2 levels up to find the same file.
> Attached along are all wsdls and xsds thatare being used.The errors we are getting are as follows.
> org.apache.axis2.i18n.ProjectResourceBundle - loadBundle: Ignoring MissingResourceException: Can't find bundle for base name org.apache.axis2
> .resource, locale en_US
> It then creates the ResourceBundle.
> [main] DEBUG org.apache.axis2.i18n.ProjectResourceBundle - Root package no
> t found, cross link to org.apache.axis2.i18n.resource
> [main] DEBUG org.apache.axis2.i18n.ProjectResourceBundle - Created org.apa
> che.axis2.wsdl.i18n.resource, linked to parent org.apache.axis2.i18n.resource
> And looks for the files 2 levels up.
> Caused by: org.apache.axis2.AxisFault: org.apache.ws.commons.schema.XmlSchemaExc
> eption: D:\Documents and Settings\sushil.r.meda\IBM\rationalsdp6.0\workspace\SAF
> \wsdl\MemberService_Interface_V0100.xsd (The system cannot find the file specifi
> ed); 

-- 
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] Assigned: (AXIS2-738) WSDL2Java cannot find imported XSD files in same directory

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-738?page=all ]

Deepal Jayasinghe reassigned AXIS2-738:
---------------------------------------

    Assign To: Ajith Harshana Ranabahu

> WSDL2Java cannot find imported XSD files in same directory
> ----------------------------------------------------------
>
>          Key: AXIS2-738
>          URL: http://issues.apache.org/jira/browse/AXIS2-738
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>   Components: wsdl
>     Versions: 1.0
>  Environment: Windows xp
>     Reporter: swati deshmukh
>     Assignee: Ajith Harshana Ranabahu
>  Attachments: EBSWebService.zip, createIssue.wsdl, createIssue.xsd
>
> Running WSDL2Java command. All required files WSDL and XSDs are in same folder . Initially it retrieves all the info from the files. At one context file it does not find Resource bundle,creates it then goes back 2 levels up to find the same file.
> Attached along are all wsdls and xsds thatare being used.The errors we are getting are as follows.
> org.apache.axis2.i18n.ProjectResourceBundle - loadBundle: Ignoring MissingResourceException: Can't find bundle for base name org.apache.axis2
> .resource, locale en_US
> It then creates the ResourceBundle.
> [main] DEBUG org.apache.axis2.i18n.ProjectResourceBundle - Root package no
> t found, cross link to org.apache.axis2.i18n.resource
> [main] DEBUG org.apache.axis2.i18n.ProjectResourceBundle - Created org.apa
> che.axis2.wsdl.i18n.resource, linked to parent org.apache.axis2.i18n.resource
> And looks for the files 2 levels up.
> Caused by: org.apache.axis2.AxisFault: org.apache.ws.commons.schema.XmlSchemaExc
> eption: D:\Documents and Settings\sushil.r.meda\IBM\rationalsdp6.0\workspace\SAF
> \wsdl\MemberService_Interface_V0100.xsd (The system cannot find the file specifi
> ed); 

-- 
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