namespace prefix to URL resolution [message #575113] |
Thu, 31 July 2003 16:50 |
Eclipse User |
|
|
|
Originally posted by: carman.itc.it
Dear All,
I'm trying to obtain the (simple) type definitions of "elements" within
soap encoded arrays. Here's an example of one such array declaration:
<xsd:attribute ref="soapenc:arrayType"
wsdl:arrayType="typens:CustomerReview[]"/>
Here the attribute, "arrayType" is a string, but the SOAP engine
understands that the string really contains objects of type
"typens:CustomerReview" as a single dimensional array. (Ugly way of
encoding your data, I know, but people seem to use this construction!)
My problem is, that when inspecting such an attribute, I want to resolve
the "typens:CustomerReview" (simple) type definition and view its
properties. Before calling the resolveSimpleTypeDefinition() method, I
need to find the URL which the namespace prefix "typens" represents. I had
a look in both the XSD and DOM apis and couldn't find a method to do this.
Does anybody know how to map prefixes to the URLs they represent? I'm sure
it must be really simple.
Thanks a lot,
Mark
|
|
|
Powered by
FUDForum. Page generated in 0.04312 seconds