[ 
https://issues.apache.org/jira/browse/AXIS2-3036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12516923
 ] 

Stefan Lischke commented on AXIS2-3036:
---------------------------------------

Brian, i debugged with your Example and this is not the problem i mentioned in 
this bug, if you have a look in your wsdl, both imports use the same namespace. 
So when the resolver tries to find the faxnumber schema by namespace, it 
returns the one from telephone. So you really end up with the wsdl+ 2* 
telephone schemas. 

> "Duplicate global type" when importing the same xsd from two other xsd's
> ------------------------------------------------------------------------
>
>                 Key: AXIS2-3036
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3036
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>            Reporter: Stefan Lischke
>             Fix For: 1.3
>
>         Attachments: AXIS2-JIRA-3036.wsdl, wsdl.zip
>
>
> When running wsdl2java on the attached wsdl & xsd files i got:
>  [java] Caused by: org.apache.xmlbeans.XmlException: 
> project://local/xmldsig-core-schema.xsd:6:1: error: sch-props-correct.2: 
> Duplicate global type: [EMAIL PROTECTED]://www.w3.org/2000/09/xmldsig# 
> (Original global type found in file: xmldsig-core-schema.xsd)
> xmldsig-core-schema.xsd is imported from xkms.xsd and from xenc-schema.xsd
> seems to be very similar to AXIS2-1885 and AXIS2-1781

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