Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » Parsing a WSDL with embedded xsd
Parsing a WSDL with embedded xsd [message #579920] Tue, 21 October 2003 11:37
Hayden Marchant is currently offline Hayden MarchantFriend
Messages: 90
Registered: July 2009
I have a WSDL file that contains embedded XSD. The approach that I've been
taking is to take the xsd part and parse it as a seperate blob using
Eclipse XSD. This approach works for simple cases, but with the WSDL
below, where the targetNamespace of the file has a prefix called typens,
there is a complication parsing the xsd since it cannot resolve the
typens: prefix for the complex types. In fact I also have a problem with
the wsdl:arrayType but I'm not sure if that can be overcome.

Is there a way that I can set the targetNamespace of the document such
that I can overcome this problem.

<wsdl:definitions xmlns:typens=""
targetNamespace="" name="AmazonSearch">
<xsd:schema xmlns="" xmlns:xsd=""
<xsd:complexType name="ProductLineArray">
<xsd:restriction base="soapenc:Array">
<xsd:attribute ref="soapenc:arrayType"
wsdl:arrayType="typens:ProductLine[]" />
<xsd:complexType name="ProductLine">
<xsd:element name="Mode" type="xsd:string" minOccurs="0" />
<xsd:element name="ProductInfo" type="typens:ProductInfo" minOccurs="0"
Previous Topic:Loading one Resource using different URLs
Next help
Goto Forum:

Current Time: Tue Aug 04 18:50:28 GMT 2020

Powered by FUDForum. Page generated in 0.02013 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top