473,761 Members | 10,684 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2295
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:definitio ns xmlns:typens="u rn:ksv-premium"
xmlns:xsd="http ://www.w3.org/2001/XMLSchema"
xmlns:soap="htt p://schemas.xmlsoap .org/wsdl/soap/"
xmlns:soapenc=" http://schemas.xmlsoap .org/soap/encoding/"
xmlns:wsdl="htt p://schemas.xmlsoap .org/wsdl/"
xmlns="http://schemas.xmlsoap .org/wsdl/"
xmlns:mime="htt p://schemas.xmlsoap .org/wsdl/mime/"
targetNamespace ="urn:ksv-premium" name="KSVWS">
<import namespace="urn: ksv-premium" location="./ksv_types.xsd"/>
<message name="ksvLoginR equest">
<wsdl:documenta tion>
Request fuer Login
</wsdl:documentat ion>
<part name="ksvLogin" element="typens :address"/>
</message>
<message name="ksvLoginR esponse">
<wsdl:documenta tion>
Response fuer Login
</wsdl:documentat ion>
<part name="response" element="typens :address"/>
</message>
<message name="getPrefer enceRequest">
<wsdl:documenta tion>
<operation name="listVcdb" >
<wsdl:documenta tion>VCDB Liste</wsdl:documentat ion>
<input message="typens :listVcdbReques t"/>
<output message="typens :listVcdbRespon se"/>
</operation>
<operation name="getVcdbDo cument">
<wsdl:documenta tion>VCDB Eintrag</wsdl:documentat ion>
<input message="typens :getVcdbDocumen tRequest"/>
<output message="typens :getVcdbDocumen tResponse"/>
</operation>
<operation name="searchIdb Pers">
<wsdl:documenta tion>Personensu che Inland</wsdl:documentat ion>
<input message="typens :searchIdbPersR equest"/>
<output message="typens :searchIdbPersR esponse"/>
</operation>
<operation name="researchI dbFirm">
<wsdl:documenta tion>Firmenrech erche</wsdl:documentat ion>
<input message="typens :researchIdbFir mRequest"/>
<output message="typens :researchIdbFir mResponse"/>
</operation>
<operation name="researchI dbPers">
<wsdl:documenta tion>Personenre cherche</wsdl:documentat ion>
<input message="typens :researchIdbPer sRequest"/>
<output message="typens :researchIdbPer sResponse"/>
</operation>
<operation name="wkeSearch ByPerson">
<wsdl:documenta tion>WKE Personensuche</wsdl:documentat ion>
<input message="typens :wkeSearchByPer son"/>
<output message="typens :wkeSearchByPer sonResponse"/>
</operation>
<operation name="wkeSearch ByCase">
<wsdl:documenta tion>WKE Geschaeftsfalls uche</wsdl:documentat ion>
<input message="typens :wkeSearchByCas e"/>
<output message="typens :wkeSearchByCas eResponse"/>
</operation>
<operation name="wkeSearch ByHistory">
<wsdl:documenta tion>WKE Historie</wsdl:documentat ion>
<input message="typens :wkeSearchByHis tory"/>
<output message="typens :wkeSearchByHis toryResponse"/>
</operation>
<operation name="getEuroga teCountries">
<wsdl:documenta tion>Lderliste Eurogate</wsdl:documentat ion>
<input message="typens :getEurogateCou ntries"/>
<output message="typens :getEurogateCou ntriesResponse"/>
</operation>
<operation name="searchEur ogate">
<wsdl:documenta tion>Firmensuch e Ausland (Eurogate)</wsdl:documentat ion>
<input message="typens :searchEurogate "/>
<output message="typens :searchEurogate Response"/>
</operation>
<operation name="listAvail ableEurogatePro ducts">
<wsdl:documenta tion>Liste der verfogate Produkte</wsdl:documentat ion>
<input message="typens :listAvailableE urogateProducts "/>
<output message="typens :listAvailableE urogateProducts Response"/>
</operation>
<operation name="getEuroga teProduct">
<wsdl:documenta tion>Dokumenten bezug Ausland</wsdl:documentat ion>
<input message="typens :getEurogatePro duct"/>
<output message="typens :getEurogatePro ductResponse"/>
</operation>
<!-- <operation name="getBinary Data">
<wsdl:documenta tion>UNDER CONSTRUCTION</wsdl:documentat ion>
<input message="typens :getBinaryDataR equest"/>
<output message="typens :getBinaryDataR esponse"/>
</operation>-->
</portType>
<binding name="KSVInfoBi nding" type="typens:KS VInfoPort">
<soap:binding style="document "
transport="http ://schemas.xmlsoap .org/soap/http"/>
<operation name="ksvLogin" >
<wsdl:documenta tion>Login</wsdl:documentat ion>
<soap:operati on soapAction="urn :ksv-premium#ksvLogi n"/>
<input>
<soap:body use="literal" namespace="urn: ksv-premium"/>
</input>
<output>
<soap:body use="literal" namespace="urn: ksv-premium"/>
</output>
<fault name="loginErro r">
<soap:fault name="loginErro r" use="literal"/>
</fault>
</operation>
<operation name="getPrefer ence">
<wsdl:documenta tion>getPrefere nce</wsdl:documentat ion>
<soap:operati on soapAction="urn :ksv-premium#getPref erence"/>
<input>
<soap:body use="literal" namespace="urn: ksv-premium"/>
</input>
<output>
<soap:body use="literal" namespace="urn: ksv-premium"/>
</output>
</operation>
<operation name="checkPerm ission">
<wsdl:documenta tion>checkPermi ssion</wsdl:documentat ion>
<soap:operati on soapAction="urn :ksv-premium#checkPe rmission"/>
<input>
<soap:body use="literal" namespace="urn: ksv-premium"/>
</input>
<output>
<soap:body use="literal" namespace="urn: ksv-premium"/>
</output>
</operation>
<operation name="searchIdb Firm">
<wsdl:documenta tion>Firmensuch e Inland</wsdl:documentat ion>
<soap:operati on soapAction="urn :ksv-premium#searchI dbFirm"/>
<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:documenta tion>Logout</wsdl:documentat ion>
<soap:operati on soapAction="urn :ksv-premium#ksvLogo ut"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="listAvail ableIdbProducts ">
<wsdl:documenta tion>Liste der verfuegbaren Produkte</wsdl:documentat ion>
<soap:operati on soapAction="urn :ksv-premium#listAva ilableIdbProduc ts"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
<fault name="ObjectNot Found">
<soap:fault name="ObjectNot Found" use="literal"/>
</fault>
</operation>
<operation name="getIdbPro duct">
<wsdl:documenta tion>Dokumenten abruf Inland</wsdl:documentat ion>
<soap:operati on soapAction="urn :ksv-premium#getIdbP roduct"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
<fault name="NOT_ALLOW ED">
<soap:fault name="NOT_ALLOW ED" use="literal"/>
</fault>
</operation>
<operation name="getVcdbDo cument">
<wsdl:documenta tion>VCDB Eintrag</wsdl:documentat ion>
<soap:operati on soapAction="urn :ksv-premium#getVcdb Document"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="searchIdb Pers">
<wsdl:documenta tion>Personensu che Inland</wsdl:documentat ion>
<soap:operati on soapAction="urn :ksv-premium#searchI dbPers"/>
<input>
<soap:body use="literal" namespace="urn: ksv-premium"/>
</input>
<output>
<soap:body use="literal" namespace="urn: ksv-premium"/>
</output>
</operation>
<operation name="researchI dbFirm">
<wsdl:documenta tion>Firmenrech erche</wsdl:documentat ion>
<soap:operati on soapAction="urn :ksv-premium#researc hIdbFirm"/>
<input>
<soap:body use="literal" namespace="urn: ksv-premium"/>
</input>
<output>
<soap:body use="literal" namespace="urn: ksv-premium"/>
</output>
</operation>
<operation name="researchI dbPers">
<wsdl:documenta tion>Personenre cherche</wsdl:documentat ion>
<soap:operati on soapAction="urn :ksv-premium#researc hIdbPers"/>
<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:documenta tion>VCDB Liste</wsdl:documentat ion>
<soap:operati on soapAction="urn :ksv-premium#listVcd b"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="wkeSearch ByPerson">
<wsdl:documenta tion>WKE Personensuche</wsdl:documentat ion>
<soap:operati on soapAction="urn :ksv-premium#wkeSear chByPerson"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="wkeSearch ByCase">
<wsdl:documenta tion>WKE Geschaeftsfalls uche</wsdl:documentat ion>
<soap:operati on soapAction="urn :ksv-premium#wkeSear chByCase"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="wkeSearch ByHistory">
<wsdl:documenta tion>WKE Historie</wsdl:documentat ion>
<soap:operati on soapAction="urn :ksv-premium#wkeSear chByCase"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="getEuroga teCountries">
<wsdl:documenta tion>Eurogate Lderliste</wsdl:documentat ion>
<soap:operati on soapAction="urn :ksv-premium#getEuro gateCountries"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="searchEur ogate">
<wsdl:documenta tion>Firmensuch e Ausland (Eurogate)</wsdl:documentat ion>
<soap:operati on soapAction="urn :ksv-premium#searchE urogate"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="listAvail ableEurogatePro ducts">
<wsdl:documenta tion>Liste der vefogate Produkte</wsdl:documentat ion>
<soap:operati on
soapAction="urn :ksv-premium#listAva ilableEurogateP roducts"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="getEuroga teProduct">
<wsdl:documenta tion>Dokumenten bezug Ausland</wsdl:documentat ion>
<soap:operati on soapAction="urn :ksv-premium#getEuro gateProduct"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<service name="KSVInfoSe rvice">
<port name="KSVInfoPo rt" 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:documenta tion>Endpoint in der Testphase </wsdl:documentat ion>
</port>
</service>
</wsdl:definition s>

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
3709
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 the function that created the object. I have cut out some code as I dont think showing a for loop is helpful. void TMP3_Main_Form::LoadMP3() { TMemoryStream *MP3Stream = new TMemoryStream();...
2
1553
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
1456
by: Alex Nitulescu | last post by:
_______________________________________________________________________________________ System.IO.FileNotFoundException: File or assembly name biypfduw.dll, or one of its dependencies, was not found. File name: "biypfduw.dll" at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark) at...
2
2596
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 good while and I'm getting really frustrated now! My problem is this - my custom controls periodically disappear from my
6
4900
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 the html page controls the form fields that are required. It doesn't function like it's supposed to and I can leave all the fields blank and it still submits the form. Also I can't get it to transfer the file in the upload section. The file name...
1
1335
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 "include as link" the files of the win application in the web application?
3
16656
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 time being, I would like to add the Analytics (Urchin) script to the page, but there is no common components for the 100's of pages in the site. There is however a common javascript file that is referenced from all of the pages. I would like...
9
2218
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 define/implement them in cpp?
3
3395
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, when we want to update the DLL, we simply have to update it in that folder and it should normally be distributed to all the project that have references to it, and since it will be in our versioning system, people will simply need to update to get...
0
9333
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9945
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9900
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9765
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8768
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7324
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5214
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
3442
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2733
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.