The error is raised if the schema target namespace ("urn:currentns") and
the import namespace ("urn:importedns") are the same.
<xsd:schema elementFormDefault="qualified"
targetNamespace="urn:currentns"
xmlns:tns="urn:currentns"..
xmlns:xsd="
http://www.w3.org/2001/XMLSchema">
<!-- I M P O R T S -->
<xsd:import namespace="urn:importedns"
schemaLocation="ImportedSchema.xsd" />
If the schema doesn't have #targetNamespace or it's empty the value of
xmlns:tns will be used as a target namespace.
Try to provide different values for the target and import namespaces.
Tamara Kogan
Smalltalk development,
Cincom Systems
> -----Original Message-----
> From:
[hidden email] [mailto:
[hidden email]] On
Behalf
> Of Martin Rubi
> Sent: Tuesday, March 04, 2008 1:47 PM
> To:
[hidden email]
> Subject: [vwnc] problems trying to generate wdsl client
>
> Hi.
> I'm trying to use the Web Services Wizard to create a wdsl client, but
I
> get the folowwing error:
>
> "Creating XML to object binding error: Import may not have the same
> namespace as its enclosing schema"
>
> I'm just learning about web services in vw, what do you suggest to do
when
> the wizard is not able to generate the bindings for a particular wdsl
?
>
> thanks in advance
> martin
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc