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
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
richard allanSubject: WSDL retruns no response
Author: richard allan
Date: 06 Jun 2007 03:11 AM
Originally Posted: 06 Jun 2007 03:02 AM
I have just downloaded and purchased Stylus Studio, and cannot connect to the wsdl. it returns a message saying saying

the wsdl is
Schema Representation Constraint: Namespace 'urn:types.sales_2_5.transactions.webservices.netsuite.com' is referenced with <import> declaration

however all the other xsd for the types are consistent, so I cannot see what this particular one is causing problems.

the wsdl is
https://webservices.netsuite.com/wsdl/v2_5_0/netsuite.wsdl

When I try and make a call I get no response.

Any ideas?

Thanks
Richard

Posttop
Alberto MassariSubject: WSDL retruns no response
Author: Alberto Massari
Date: 06 Jun 2007 09:39 AM
Hi Richard,
the schema at https://webservices.netsuite.com/xsd/transactions/v2_5_0/customers.xsd has indeed an error; the complex type CustomerPayment references the type platformCommonTyp:AvsMatchCode but that namespace (urn:types.common_2_5.platform.webservices.netsuite.com) has not been imported (the customers.xsd only imports urn:core_2_5.platform.webservices.netsuite.com, urn:common_2_5.platform.webservices.netsuite.com and urn:types.customers_2_5.transactions.webservices.netsuite.com).

This is the log of Xerces:

Validating netsuite_customer.xml...
https://webservices.netsuite.com/xsd/transactions/v2_5_0/customers.xsd:178,107: Schema Representation Constraint: Namespace 'urn:types.common_2_5.platform.webservices.netsuite.com' is referenced without <import> declaration
https://webservices.netsuite.com/xsd/transactions/v2_5_0/customers.xsd:179,104: Schema Representation Constraint: Namespace 'urn:types.common_2_5.platform.webservices.netsuite.com' is referenced without <import> declaration
https://webservices.netsuite.com/xsd/transactions/v2_5_0/customers.xsd:181,110: Schema Representation Constraint: Namespace 'urn:types.common_2_5.platform.webservices.netsuite.com' is referenced without <import> declaration

This is Saxon:

Error at element on line 178 of https://webservices.netsuite.com/xsd/transactions/v2_5_0/customers.xsd:
Cannot reference schema components in namespace
urn:types.common_2_5.platform.webservices.netsuite.com as it has not been imported
Error at element on line 179 of https://webservices.netsuite.com/xsd/transactions/v2_5_0/customers.xsd:
Cannot reference schema components in namespace
urn:types.common_2_5.platform.webservices.netsuite.com as it has not been imported
Error at element on line 181 of https://webservices.netsuite.com/xsd/transactions/v2_5_0/customers.xsd:
Cannot reference schema components in namespace
urn:types.common_2_5.platform.webservices.netsuite.com as it has not been imported

This is the validator built-in in Java:

Running custom validation engine Java built-in...

Java built-in Validation Starting (Xalan Java 2.6.0).
https://webservices.netsuite.com/xsd/transactions/v2_5_0/customers.xsd:178,107: (Error) src-resolve.4.2: Error resolving component 'platformCommonTyp:AvsMatchCode'. It was detected that 'platformCommonTyp:AvsMatchCode' is in namespace 'urn:types.common_2_5.platform.webservices.netsuite.com', but components from this namespace are not referenceable from schema document 'https://webservices.netsuite.com/xsd/transactions/v2_5_0/customers.xsd'. If this is the incorrect namespace, perhaps the prefix of 'platformCommonTyp:AvsMatchCode' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'https://webservices.netsuite.com/xsd/transactions/v2_5_0/customers.xsd'.
Java built-in Validation completed with one error.

Hope this helps,
Alberto

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 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.