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
Show tree view Topic
Go to previous topicPrev TopicGo to next topicNext 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

 
Go to previous topicPrev TopicGo to next topicNext Topic
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.