| Author |
XSD Schema Error in WSAD
|
jayaram raja
Greenhorn
Joined: Dec 22, 2003
Posts: 1
|
|
Hi, I am using WSAD 5.0.I am trying to test a Web service.This webservice is based on the Literal XML Encoding.This service returns an objest with attribute array of String. I made use of the following XSD File. <?xml version="1.0" encoding="UTF-8"?> <schema attributeFormDefault="qualified" elementFormDefault="unqualified" targetNamespace="http:///" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" > <complexType name="twsDocResponseBean"> <sequence> <element name="result" nillable="true" type="string"/> <element name="duration" type="int"/> </sequence> </complexType> <complexType name="ArrayOfstring"> <complexContent> <restriction base="Array"> <attribute ref="arrayType" wsdl:arrayType="string[]" /> </restriction> </complexContent> </complexType> </schema> But this throws an error stating that the namespace http://schemas.xmlsoap.org/soap/encoding/ cannot be referenced from the above XSD file.Is that because XSD file cannot refer a different file. Please reply. Raja
|
 |
 |
|
|
subject: XSD Schema Error in WSAD
|
|
|