PDA

View Full Version : Xml Schema Problem


sasivm
09-15-2003, 16:02
Platform IS 4.6
----------------

Input XSD defined by target system is ...

`

--<?xml version="1.0"?>
--<xsd:schema targetNamespace="" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
--<xsd:element name="XRequest">
---
---


When i send xml to target system with

eg:

--<?xml version="1.0"?>
--<XRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="">
--<Header>
---
---

my validate (pub.schema:validate) is throwing error .. if i omit

--xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation=""

target system throws error saying interface agreement problem

how to solve this ...

thx

Sasi Vallikkat

sasivm
09-15-2003, 16:25
oops missed b2b validate error

pathName - /XRequest/@xsi:noNamespaceSchemaLocation
errorCode - VV-002
errorMessage - [B2BCORE.0082.9026] Undefined Object found