473,287 Members | 1,574 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

How to make reference from a xml file to another xml file

In a xml file, can we make reference to another xml file so that all contents
of the latter xml file will be included into the first xml file?

Had better give me an example for details.
Nov 16 '05 #1
1 2267
Hi
There is the import keyword that you case you to import a namespace into
another file as follows
<import namespace="urn:ksv-premium" location="./ksv_types.xsd"/>
If you want a complete example, this wsdl has it complex type implemented
in a file named ksv_types.xsd that it imports
then within the wsdl file . it can directly refer to types that are defined
in the namespace of the xsd file

<!-- edited with XMLSPY v5 rel. 3 U (http://www.xmlspy.com) by David
Ziegler (DZDATA Productions) -->
<wsdl:definitions xmlns:typens="urn:ksv-premium"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
targetNamespace="urn:ksv-premium" name="KSVWS">
<import namespace="urn:ksv-premium" location="./ksv_types.xsd"/>
<message name="ksvLoginRequest">
<wsdl:documentation>
Request fuer Login
</wsdl:documentation>
<part name="ksvLogin" element="typens:address"/>
</message>
<message name="ksvLoginResponse">
<wsdl:documentation>
Response fuer Login
</wsdl:documentation>
<part name="response" element="typens:address"/>
</message>
<message name="getPreferenceRequest">
<wsdl:documentation>
<operation name="listVcdb">
<wsdl:documentation>VCDB Liste</wsdl:documentation>
<input message="typens:listVcdbRequest"/>
<output message="typens:listVcdbResponse"/>
</operation>
<operation name="getVcdbDocument">
<wsdl:documentation>VCDB Eintrag</wsdl:documentation>
<input message="typens:getVcdbDocumentRequest"/>
<output message="typens:getVcdbDocumentResponse"/>
</operation>
<operation name="searchIdbPers">
<wsdl:documentation>Personensuche Inland</wsdl:documentation>
<input message="typens:searchIdbPersRequest"/>
<output message="typens:searchIdbPersResponse"/>
</operation>
<operation name="researchIdbFirm">
<wsdl:documentation>Firmenrecherche</wsdl:documentation>
<input message="typens:researchIdbFirmRequest"/>
<output message="typens:researchIdbFirmResponse"/>
</operation>
<operation name="researchIdbPers">
<wsdl:documentation>Personenrecherche</wsdl:documentation>
<input message="typens:researchIdbPersRequest"/>
<output message="typens:researchIdbPersResponse"/>
</operation>
<operation name="wkeSearchByPerson">
<wsdl:documentation>WKE Personensuche</wsdl:documentation>
<input message="typens:wkeSearchByPerson"/>
<output message="typens:wkeSearchByPersonResponse"/>
</operation>
<operation name="wkeSearchByCase">
<wsdl:documentation>WKE Geschaeftsfallsuche</wsdl:documentation>
<input message="typens:wkeSearchByCase"/>
<output message="typens:wkeSearchByCaseResponse"/>
</operation>
<operation name="wkeSearchByHistory">
<wsdl:documentation>WKE Historie</wsdl:documentation>
<input message="typens:wkeSearchByHistory"/>
<output message="typens:wkeSearchByHistoryResponse"/>
</operation>
<operation name="getEurogateCountries">
<wsdl:documentation>Lderliste Eurogate</wsdl:documentation>
<input message="typens:getEurogateCountries"/>
<output message="typens:getEurogateCountriesResponse"/>
</operation>
<operation name="searchEurogate">
<wsdl:documentation>Firmensuche Ausland (Eurogate)</wsdl:documentation>
<input message="typens:searchEurogate"/>
<output message="typens:searchEurogateResponse"/>
</operation>
<operation name="listAvailableEurogateProducts">
<wsdl:documentation>Liste der verfogate Produkte</wsdl:documentation>
<input message="typens:listAvailableEurogateProducts"/>
<output message="typens:listAvailableEurogateProductsRespo nse"/>
</operation>
<operation name="getEurogateProduct">
<wsdl:documentation>Dokumentenbezug Ausland</wsdl:documentation>
<input message="typens:getEurogateProduct"/>
<output message="typens:getEurogateProductResponse"/>
</operation>
<!-- <operation name="getBinaryData">
<wsdl:documentation>UNDER CONSTRUCTION</wsdl:documentation>
<input message="typens:getBinaryDataRequest"/>
<output message="typens:getBinaryDataResponse"/>
</operation>-->
</portType>
<binding name="KSVInfoBinding" type="typens:KSVInfoPort">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="ksvLogin">
<wsdl:documentation>Login</wsdl:documentation>
<soap:operation soapAction="urn:ksv-premium#ksvLogin"/>
<input>
<soap:body use="literal" namespace="urn:ksv-premium"/>
</input>
<output>
<soap:body use="literal" namespace="urn:ksv-premium"/>
</output>
<fault name="loginError">
<soap:fault name="loginError" use="literal"/>
</fault>
</operation>
<operation name="getPreference">
<wsdl:documentation>getPreference</wsdl:documentation>
<soap:operation soapAction="urn:ksv-premium#getPreference"/>
<input>
<soap:body use="literal" namespace="urn:ksv-premium"/>
</input>
<output>
<soap:body use="literal" namespace="urn:ksv-premium"/>
</output>
</operation>
<operation name="checkPermission">
<wsdl:documentation>checkPermission</wsdl:documentation>
<soap:operation soapAction="urn:ksv-premium#checkPermission"/>
<input>
<soap:body use="literal" namespace="urn:ksv-premium"/>
</input>
<output>
<soap:body use="literal" namespace="urn:ksv-premium"/>
</output>
</operation>
<operation name="searchIdbFirm">
<wsdl:documentation>Firmensuche Inland</wsdl:documentation>
<soap:operation soapAction="urn:ksv-premium#searchIdbFirm"/>
<input>
<soap:body use="literal" namespace="urn:ksv-premium"/>
</input>
<output>
<soap:body use="literal" namespace="urn:ksv-premium"/>
</output>
</operation>
<operation name="ksvLogout">
<wsdl:documentation>Logout</wsdl:documentation>
<soap:operation soapAction="urn:ksv-premium#ksvLogout"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="listAvailableIdbProducts">
<wsdl:documentation>Liste der verfuegbaren Produkte</wsdl:documentation>
<soap:operation soapAction="urn:ksv-premium#listAvailableIdbProducts"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
<fault name="ObjectNotFound">
<soap:fault name="ObjectNotFound" use="literal"/>
</fault>
</operation>
<operation name="getIdbProduct">
<wsdl:documentation>Dokumentenabruf Inland</wsdl:documentation>
<soap:operation soapAction="urn:ksv-premium#getIdbProduct"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
<fault name="NOT_ALLOWED">
<soap:fault name="NOT_ALLOWED" use="literal"/>
</fault>
</operation>
<operation name="getVcdbDocument">
<wsdl:documentation>VCDB Eintrag</wsdl:documentation>
<soap:operation soapAction="urn:ksv-premium#getVcdbDocument"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="searchIdbPers">
<wsdl:documentation>Personensuche Inland</wsdl:documentation>
<soap:operation soapAction="urn:ksv-premium#searchIdbPers"/>
<input>
<soap:body use="literal" namespace="urn:ksv-premium"/>
</input>
<output>
<soap:body use="literal" namespace="urn:ksv-premium"/>
</output>
</operation>
<operation name="researchIdbFirm">
<wsdl:documentation>Firmenrecherche</wsdl:documentation>
<soap:operation soapAction="urn:ksv-premium#researchIdbFirm"/>
<input>
<soap:body use="literal" namespace="urn:ksv-premium"/>
</input>
<output>
<soap:body use="literal" namespace="urn:ksv-premium"/>
</output>
</operation>
<operation name="researchIdbPers">
<wsdl:documentation>Personenrecherche</wsdl:documentation>
<soap:operation soapAction="urn:ksv-premium#researchIdbPers"/>
<input>
<soap:body use="literal" namespace="urn:ksv-premium"/>
</input>
<output>
<soap:body use="literal" namespace="urn:ksv-premium"/>
</output>
</operation>
<operation name="listVcdb">
<wsdl:documentation>VCDB Liste</wsdl:documentation>
<soap:operation soapAction="urn:ksv-premium#listVcdb"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="wkeSearchByPerson">
<wsdl:documentation>WKE Personensuche</wsdl:documentation>
<soap:operation soapAction="urn:ksv-premium#wkeSearchByPerson"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="wkeSearchByCase">
<wsdl:documentation>WKE Geschaeftsfallsuche</wsdl:documentation>
<soap:operation soapAction="urn:ksv-premium#wkeSearchByCase"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="wkeSearchByHistory">
<wsdl:documentation>WKE Historie</wsdl:documentation>
<soap:operation soapAction="urn:ksv-premium#wkeSearchByCase"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="getEurogateCountries">
<wsdl:documentation>Eurogate Lderliste</wsdl:documentation>
<soap:operation soapAction="urn:ksv-premium#getEurogateCountries"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="searchEurogate">
<wsdl:documentation>Firmensuche Ausland (Eurogate)</wsdl:documentation>
<soap:operation soapAction="urn:ksv-premium#searchEurogate"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="listAvailableEurogateProducts">
<wsdl:documentation>Liste der vefogate Produkte</wsdl:documentation>
<soap:operation
soapAction="urn:ksv-premium#listAvailableEurogateProducts"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="getEurogateProduct">
<wsdl:documentation>Dokumentenbezug Ausland</wsdl:documentation>
<soap:operation soapAction="urn:ksv-premium#getEurogateProduct"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<service name="KSVInfoService">
<port name="KSVInfoPort" binding="typens:KSVInfoBinding">
<soap:address
location="http://www.ksv.at/testws/services/urn:ksv-premium"/>
<!--<soap:address
location="http://localhost:5000/NASApp/axis/services/urn:ksv-premium"/>-->
<!--<soap:address
location="http://stcprod.ksv.at/NASApp/axis/services/urn:ksv-premium"/>-->
<wsdl:documentation>Endpoint in der Testphase </wsdl:documentation>
</port>
</service>
</wsdl:definitions>

Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Ian Robertson | last post by:
I am trying to write a function that takes a reference to an object as its arguement. The object is created in another function and I am trying to pass the object to another function from within...
2
by: moonriver | last post by:
In a xml file, can we make reference to another xml file so that all contents of the latter xml file will be included into the first xml file? Had better give me an example for details.
3
by: Alex Nitulescu | last post by:
_______________________________________________________________________________________ System.IO.FileNotFoundException: File or assembly name biypfduw.dll, or one of its dependencies, was not...
2
by: Suzanne | last post by:
Hi all, I'm reposting this message as I'm experiencing this problem more and more frequently : I really hope someone out there can help me as I've been tearing my hair out on this one for a...
6
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of...
1
by: pamelafluente | last post by:
Hi, Assume that I have a web application. I want to be able to use the classes that are in another project (say a Win application) on which I am working at the same time. Is it possible to...
3
by: Darrin | last post by:
I've seen a couple threads on this that did not answer my question and I could not add a post to them. I've inherited a web application that is going to be replaced in the coming months. For the...
9
by: xz | last post by:
What sense do h files make in c/cpp? I never thought about this question before. Does the existence of h files make sense at all? Why do we need to declare functions in h files and...
3
by: drop | last post by:
Hi all, I'm trying to figure out how references works in Web Application Projects. We have a third party dll that we use in many projects. I've created a folder containing that DLL. That way,...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.