aspose file tools
The moose likes Web Services and the fly likes SOAP-ENC:Array instance validation Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "SOAP-ENC:Array instance validation" Watch "SOAP-ENC:Array instance validation" New topic
Author

SOAP-ENC:Array instance validation

Femi Byte
Ranch Hand

Joined: Jul 09, 2004
Posts: 40
Hi, I've been reading the(SOAP) 1.1 W3C note section on Arrays and I have a question.
The document denotes the following as an example of a schema fragment and an array containing integer members:



So I wanted to test conformance of the instance XML above to the schema and I created the following files;

arraySchema.xsd:



arrayInstance.xml

<numSet xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd ouble[3]">
<num>1.0</num>
<num>2.0</num>
<num>3.3</num>
</numSet>

I tried using an XML Validator to validate the instance against the schema file but got this error:


Can someone tell me what I'm doing wrong?
Femi Byte
Ranch Hand

Joined: Jul 09, 2004
Posts: 40
I got no replies on this question. Can anyone help?
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: SOAP-ENC:Array instance validation
 
Similar Threads
problem when trying to use return type Integer
JSP output a variable
nil or nill
Problem with arrays of primitive types
string[] definiton error in xsd file generated with WSAD