ws-soap-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hansen, Richard" <Richard.Han...@westgroup.com>
Subject RE: WSDL
Date Wed, 06 Jun 2001 18:52:20 GMT
Here is what worked for me:

<types>
  <schema
    xmlns="http://www.w3.org/1999/XMLSchema"
    targetNamespace="http://www.registrationservice/xsd"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  
    <complexType name="ArrayOfString"> 
      <complexContent> 
          <restriction base="SOAP-ENC:Array"> 
              <attribute ref="SOAP-ENC:arrayType"
wsdl:arrayType="xsd:string[]" /> 
          </restriction> 
      </complexContent> 
    </complexType> 
  </schema>
</types>

> 
> I am defining string array in WSDL using the following:
> <types>
> 		<xsd:schema targetNamespace="SOAPTester"
> xmlns="http://www.w3.org/2000/10/XMLSchema">
> 			<complexType name="ArrayOfstring">
> 				<xsd:complexContent>
> 					<xsd:restriction
> base="SOAP-ENC:Array">
> 						<xsd:attribute
> ref="SOAP-ENC:arrayType" wsdl:arrayType="xsd:string[]" />
> 					</xsd:restriction>
> 				</xsd:complexContent>
> 			</complexType>
> 		</xsd:schema>
> </types>
> 
> WSDL Reader complains that it doesn't recognize wsdl:, how do 
> I declare
> wsdl namespace in my WSDL?
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


Mime
View raw message