xml-xmlbeans-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeffrey Crump" <jcr...@sonicsoftware.com>
Subject Type import problems
Date Tue, 27 Jul 2004 22:10:05 GMT
I'm having trouble dealing with WSDL documents that have an <import> in
their <declarations> section.
Basically, I want to be able to load a WSDL, and any schema that it
imports, into a SchemaTypeLoader on which I can call findType(QName).
Presently, I can only "see" types that are defined in the WSDL itself --
it doesn't seem to be recursively adding the imported types.   It seems
to me that this should work... or am I missing something?
Currently, I'm loading the WSDL with code that looks a lot like
SchemaCompiler.loadTypeSystem (especially the "WSDL" case).
Can anyone offer any suggestions? 


	From: Jeffrey Crump [mailto:jcrump@sonicsoftware.com] 
	Sent: Tuesday, July 27, 2004 11:41 AM
	To: xmlbeans-user@xml.apache.org
	Subject: Type import?
	Does XML Beans support WSDL type importing?
	<definitions name="Foo"  targetNamespace="myNS">
	      <import namespace="http://www.uri.com
<http://www.uri.com/> " schemaLocation="CustomerOrder.xsd" />
	And if so, how do I find the definition of that type in order to
create a SchemaTypeLoader?  For types that are defined in-line to the
WSDL, I'm importing them in the same way the SchemaCompiler does
(thanks, Cezar, for the tip).  But dpes XML Beans try to load the
external definition?
	I suppose the alternative is to navigate the WSDL independently
and just get a stream to that schema document, but if XML Beans is
already importing it, I don't want to duplicate work. 

View raw message