|
top
|
 Subject: WSDL retruns no response Author: (Deleted User) 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
|
|
|