XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
+ Stylus Studio Technical Forum (14621)
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
- XQuery Help and Discussion (2017)
-> + Checking for Values in an Arra... (3)
-> + Adding embedded functions (11)
-> + multiple DTPs at the same leve... (2)
-> + java.lang.OutOfMemoryError: Ja... (3)
-> - xml validation against wsdl (2)
-> ->xml validation against ws...
-> + Using same Xquery (4)
-> + Changing name value pairs to t... (4)
-> + removing unwanted attributes r... (4)
-> + Repeated Crashing of System (2)
-> + Create multiple XML Files (5)
-> + Best xQuery engine? (2)
-> + Xquery outputs XML attributes ... (4)
-> + DataDirect SequeLink as a DB-t... (2)
-> + Using same xquery for 2 xml fi... (5)
-> + Performance of XQuery (2)
-> + fail to use Saxon Process for ... (4)
-> + Conditional statements in xque... (2)
-> + Option Declaration Using Saxon (2)
-> + Multiple option declarations (2)
-> + Importing modules with a Custo... (3)
-- Previous [241-260] [261-280] [281-300] Next
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
Topic  
Postnext
JIB JIBSubject: xml validation against wsdl
Author: JIB JIB
Date: 11 Apr 2008 01:36 AM
Originally Posted: 10 Apr 2008 10:18 PM
can anyone see what's wrong with validating this xml with this
wsdl....?

error.txt shows what i get when i run app as well
as what i get from xml-to-wsdl validation tool.

pls help.
bruce.


Unknowntest(21).xml
xml file

UnknownQuote3.wsdl
wsdl file

Unknownerror(2).txt
errors

Posttop
(Deleted User) Subject: xml validation against wsdl
Author: (Deleted User)
Date: 11 Apr 2008 05:43 AM
Hi Bruce,
if the XML document you posted is supposed to obey to the schema embedded in the WSDL, the root element is invalid as it is not in the http://quote3.webservice.pnet.aami.com.au target namespace.
You should add a xmlns="http://quote3.webservice.pnet.aami.com.au" attribute to the root, and remove all the other attributes from the rest of the document, as those elements will now inherit the one placed in the root element.

Hope this helps,
Alberto

   
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.