[ 
https://issues.apache.org/jira/browse/TUSCANY-1645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524190
 ] 

Luciano Resende commented on TUSCANY-1645:
------------------------------------------

I have committed the wsld and xsd from TUSCANY-544 to java/sca/itest/wsdl2java 
(commented out for now). We could use that for validating the fix. I have also 
applied the patch locally and that seems to fix the issue, so please enable the 
new wsdl/xsd on the sca itest (in the pom.xml) once you committ this patch.

> XSD2JavaGenerator failed to gen on the wsdl files with only <xsd:import> 
> element in <xsd:schema>
> ------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1645
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1645
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Tools
>    Affects Versions: Java-SDO-1.0
>         Environment: WinXP
>            Reporter: Fuhwei Lwo
>             Fix For: Java-SDO-Next
>
>         Attachments: 1645.patch, EchoService_schema1.xsd, TUSCANY-544.wsdl
>
>
> NullPointerException was thrown when a WSDL with XSD definition like below 
> was used by the XSD2JavaGenerator. In this case, there is no targetNamespace 
> was specified in the <xsd:schema>
> <types>
>     <xsd:schema>
>       <xsd:import namespace="http://test/"; 
> schemaLocation="EchoService_schema1.xsd"/>
>     </xsd:schema>
>   </types>
> This problem was derived from SCA JIRA TUSCANY-544 and related to SDO JIRA 
> TUSCANY-1327.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to