ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthieu Riou" <matthieu.r...@gmail.com>
Subject Re: Are multiple schemas supported?
Date Thu, 19 Oct 2006 22:11:37 GMT
Ok, I've just committed a fix. See
https://issues.apache.org/jira/browse/ODE-70.

On 10/19/06, Matthieu Riou <matthieu.riou@gmail.com> wrote:
>
> Lance
>
> Your import should reference the namespace without a location. So your
> last section would look like:
>
>         <xsd:schema elementFormDefault="unqualified" targetNamespace="
> http://www.company.org" xmlns="http://www.company.org" xmlns:per="
> http://www.person.org" xmlns:pro=" http://www.product.org"
>             xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>
>             <xsd:import namespace=" http://www.person.org"/>
>             <xsd:import namespace="http://www.company.org"/>
>             <xsd:element name="Company">
>                 <xsd:complexType>
>                     <xsd:sequence>
>                         <xsd:element maxOccurs="unbounded" name="Person"
> type="per:PersonType"/>
>                         <xsd:element maxOccurs="unbounded" name="Product"
> type="pro:ProductType"/>
>                     </xsd:sequence>
>                 </xsd:complexType>
>             </xsd:element>
>         </xsd:schema>
>
> However Ode doesn't support that yet. There's a support for multiple
> schemas but they're not added in the resolver to have the following imports
> work. But you're lucky, I just started looking at this yesterday evening. So
> chances are that it will work tonight (may the force be with me).
>
> Matthieu
>
>
> On 10/18/06, Lance Waterman <lance.waterman@gmail.com> wrote:
> >
> > I have the follow wsdl:type element defined and would like to know if
> > this
> > is supported. The compilation is failing because it wants an import of
> > the
> > person and product namespace used within the company namespace and I
> > can't
> > figure out how to write that <import>.
> >
> > Thanks for any help,
> >
> > Lance
> >
> >
> >     <wsdl:types>
> >         <xsd:schema elementFormDefault="unqualified" targetNamespace="
> > http://www.person.org" xmlns="http://www.person.org" xmlns:per="
> > http://www.person.org" xmlns:pro=" http://www.product.org"
> >             xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> >             <xsd:complexType name="PersonType">
> >                 <xsd:sequence>
> >                     <xsd:element name="Name" type="xsd:string"/>
> >                     <xsd:element name="SSN" type="xsd:string"/>
> >                 </xsd:sequence>
> >             </xsd:complexType>
> >         </xsd:schema>
> >         <xsd:schema elementFormDefault="unqualified" targetNamespace="
> > http://www.product.org" xmlns="http://www.product.org" xmlns:per="
> > http://www.person.org" xmlns:pro=" http://www.product.org"
> >             xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> >             <xsd:complexType name="ProductType">
> >                 <xsd:sequence>
> >                     <xsd:element name="Type" type="xsd:string"/>
> >                 </xsd:sequence>
> >             </xsd:complexType>
> >         </xsd:schema>
> >         <xsd:schema elementFormDefault="unqualified" targetNamespace="
> > http://www.company.org" xmlns="http://www.company.org " xmlns:per="
> > http://www.person.org" xmlns:pro="http://www.product.org"
> >             xmlns:xsd=" http://www.w3.org/2001/XMLSchema">
> >             <xsd:element name="Company">
> >                 <xsd:complexType>
> >                     <xsd:sequence>
> >                         <xsd:element maxOccurs="unbounded" name="Person"
> >
> > type="per:PersonType"/>
> >                         <xsd:element maxOccurs="unbounded"
> > name="Product"
> > type="pro:ProductType"/>
> >                     </xsd:sequence>
> >                 </xsd:complexType>
> >             </xsd:element>
> >         </xsd:schema>
> >     </wsdl:types>
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message