xml-soap-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jung , Dr. Christoph" <christoph.j...@infor.de>
Subject AW: Referring to external xsds from a WSDL
Date Fri, 21 Jun 2002 15:27:42 GMT


-----Ursprüngliche Nachricht-----
Von: K. Swaminathan [mailto:swami@instantis.com] 
Gesendet: Donnerstag, 20. Juni 2002 21:00
An: soap-user@xml.apache.org
Betreff: Referring to external xsds from a WSDL


<?xml version="1.0"?>
<definitions
  name="SampleWebSvc"
  targetNamespace="http://my.company.com:SampleWebSvc"
  xmlns:tns="http://my.company.com:SampleWebSvc"
  xmlns:ssd="http://my.company.com/XMLSchemas"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
  xmlns="http://schemas.xmlsoap.org/wsdl/"
  xsi:schemaLocation='http://my.company.com/XMLSchemas
                      http://my.company.com/SomePath/main.xsd'>


I have never seen such a construct, couldn´t you write it like:

<definitions ...
	xmlns:mycompany="http://my.company.com/XMLSchemas"/>

 <!-- this is the wsdl:import, not the xsd:import which uses schemaLocation,
never heard of xsi:schemaLocation, btw -->
 <import namespace="http://my.company.com/XMLSchemas"
location="http://my.company.com/SomePath/main.xsd"/>

</definitions>

That´s the way how we generate such references from Axis-exposed Java
services and that will work at least with
.Net as client AFAIK.

CGJ
###########################################

This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.F-Secure.com/

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


Mime
View raw message