Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

XSD Schema Error in WSAD  RSS feed

 
jayaram raja
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!