Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

XSD Schema Error in WSAD

 
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
 
A berm makes a great wind break. And we all like to break wind once in a while. Like this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic