calinutz
asked on
Multiple xsd files...
I want to import a wsdl into my Delphi 2010, but I have a problem. The web service provider , gave me 5 files. One is the
- file.wsdl,
and the other 4 are xsd files of form:
- file.xsd0
- file.xsd1
- file.xsd2
- file.xsd3
My delphi WSDL import wizard does not ask me for other related files. It just wants to simply import the WSDL file.
The problem is that file.WSDL references some types that are not declared inside the file.wsdl.
Is there any way of combining (external to my wizard) the 5 files into a single WSDL so I can import it just like that?
There should be a way.
- file.wsdl,
and the other 4 are xsd files of form:
- file.xsd0
- file.xsd1
- file.xsd2
- file.xsd3
My delphi WSDL import wizard does not ask me for other related files. It just wants to simply import the WSDL file.
The problem is that file.WSDL references some types that are not declared inside the file.wsdl.
Is there any way of combining (external to my wizard) the 5 files into a single WSDL so I can import it just like that?
There should be a way.
Yes - just include the XSD contents inside a <schema></schema> in your WSDL:
<?xml ...
<wsdl:definitions
<wsdl:types>
<xs:schema
the contents here
</xs:schema>
</wsdl:types>
<wsdl:message
the rest of your wsdl
</wsdl:definitions>
<?xml ...
<wsdl:definitions
<wsdl:types>
<xs:schema
the contents here
</xs:schema>
</wsdl:types>
<wsdl:message
the rest of your wsdl
</wsdl:definitions>
ASKER
marklorenz:
can you do that for me?
I have little to no experience at all with this
Here is the code for the wsdl:
<?xml version="1.0" encoding="utf-8"?><wsdl:de finitions name="QuotationManagementS ervice" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:tns="http://tempuri.org/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"><wsp:Policy wsu:Id="BasicHttpBinding_I QuotationM anagementS ervice_pol icy"><wsp: ExactlyOne ><wsp:All> <sp:Transp ortBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><s p:Transpor tToken><ws p:Policy>< sp:HttpsTo ken RequireClientCertificate=" false"/></ wsp:Policy ></sp:Tran sportToken ><sp:Algor ithmSuite> <wsp:Polic y><sp:Basi c256/></ws p:Policy>< /sp:Algori thmSuite>< sp:Layout> <wsp:Polic y><sp:Stri ct/></wsp: Policy></s p:Layout>< /wsp:Polic y></sp:Tra nsportBind ing></wsp: All></wsp: ExactlyOne ></wsp:Pol icy><wsdl: types><xsd :schema targetNamespace="http://tempuri.org/Imports"><xsd:im port schemaLocation="https://azt-direct/SharedWebServices.DEV/QuotationManagementService.svc?xsd=xsd0" namespace="http://tempuri.org/"/><xsd:import schemaLocation="https://azt-direct/SharedWebServices.DEV/QuotationManagementService.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/><xsd:import schemaLocation="https://azt-direct/SharedWebServices.DEV/QuotationManagementService.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/AZT.NET.Insurance.Entities.Auto"/><xsd:import schemaLocation="https://azt-direct/SharedWebServices.DEV/QuotationManagementService.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/AZT.NET.Common.Entities"/></xsd:schema ></wsdl:ty pes><wsdl: message name="IQuotationManagement Service_Ge tBonusMalu sByPolicyN o_InputMes sage"><wsd l:part name="parameters" element="tns:GetBonusMalus ByPolicyNo "/></wsdl: message><w sdl:messag e name="IQuotationManagement Service_Ge tBonusMalu sByPolicyN o_OutputMe ssage"><ws dl:part name="parameters" element="tns:GetBonusMalus ByPolicyNo Response"/ ></wsdl:me ssage><wsd l:message name="IQuotationManagement Service_Ge tBonusMalu sByUIAndVi n_InputMes sage"><wsd l:part name="parameters" element="tns:GetBonusMalus ByUIAndVin "/></wsdl: message><w sdl:messag e name="IQuotationManagement Service_Ge tBonusMalu sByUIAndVi n_OutputMe ssage"><ws dl:part name="parameters" element="tns:GetBonusMalus ByUIAndVin Response"/ ></wsdl:me ssage><wsd l:message name="IQuotationManagement Service_Va lidateCeda mService_I nputMessag e"><wsdl:p art name="parameters" element="tns:ValidateCedam Service"/> </wsdl:mes sage><wsdl :message name="IQuotationManagement Service_Va lidateCeda mService_O utputMessa ge"><wsdl: part name="parameters" element="tns:ValidateCedam ServiceRes ponse"/></ wsdl:messa ge><wsdl:m essage name="IQuotationManagement Service_Cr eateQuotat ionRco_Inp utMessage" ><wsdl:par t name="parameters" element="tns:CreateQuotati onRco"/></ wsdl:messa ge><wsdl:m essage name="IQuotationManagement Service_Cr eateQuotat ionRco_Out putMessage "><wsdl:pa rt name="parameters" element="tns:CreateQuotati onRcoRespo nse"/></ws dl:message ><wsdl:mes sage name="IQuotationManagement Service_Cr eateQuotat ionRcoPj_I nputMessag e"><wsdl:p art name="parameters" element="tns:CreateQuotati onRcoPj"/> </wsdl:mes sage><wsdl :message name="IQuotationManagement Service_Cr eateQuotat ionRcoPj_O utputMessa ge"><wsdl: part name="parameters" element="tns:CreateQuotati onRcoPjRes ponse"/></ wsdl:messa ge><wsdl:m essage name="IQuotationManagement Service_Cr eateQuotat ionCasco_I nputMessag e"><wsdl:p art name="parameters" element="tns:CreateQuotati onCasco"/> </wsdl:mes sage><wsdl :message name="IQuotationManagement Service_Cr eateQuotat ionCasco_O utputMessa ge"><wsdl: part name="parameters" element="tns:CreateQuotati onCascoRes ponse"/></ wsdl:messa ge><wsdl:m essage name="IQuotationManagement Service_Cr eateQuotat ionTravel_ InputMessa ge"><wsdl: part name="parameters" element="tns:CreateQuotati onTravel"/ ></wsdl:me ssage><wsd l:message name="IQuotationManagement Service_Cr eateQuotat ionTravel_ OutputMess age"><wsdl :part name="parameters" element="tns:CreateQuotati onTravelRe sponse"/>< /wsdl:mess age><wsdl: message name="IQuotationManagement Service_Br owseCatego riesRco_In putMessage "><wsdl:pa rt name="parameters" element="tns:BrowseCategor iesRco"/>< /wsdl:mess age><wsdl: message name="IQuotationManagement Service_Br owseCatego riesRco_Ou tputMessag e"><wsdl:p art name="parameters" element="tns:BrowseCategor iesRcoResp onse"/></w sdl:messag e><wsdl:me ssage name="IQuotationManagement Service_Br owseCatego riesRcoCom plete_Inpu tMessage"> <wsdl:part name="parameters" element="tns:BrowseCategor iesRcoComp lete"/></w sdl:messag e><wsdl:me ssage name="IQuotationManagement Service_Br owseCatego riesRcoCom plete_Outp utMessage" ><wsdl:par t name="parameters" element="tns:BrowseCategor iesRcoComp leteRespon se"/></wsd l:message> <wsdl:mess age name="IQuotationManagement Service_Br owseCatego riesCasco_ InputMessa ge"><wsdl: part name="parameters" element="tns:BrowseCategor iesCasco"/ ></wsdl:me ssage><wsd l:message name="IQuotationManagement Service_Br owseCatego riesCasco_ OutputMess age"><wsdl :part name="parameters" element="tns:BrowseCategor iesCascoRe sponse"/>< /wsdl:mess age><wsdl: message name="IQuotationManagement Service_Br owseBrands _InputMess age"><wsdl :part name="parameters" element="tns:BrowseBrands" /></wsdl:m essage><ws dl:message name="IQuotationManagement Service_Br owseBrands _OutputMes sage"><wsd l:part name="parameters" element="tns:BrowseBrandsR esponse"/> </wsdl:mes sage><wsdl :message name="IQuotationManagement Service_Br owseModels _InputMess age"><wsdl :part name="parameters" element="tns:BrowseModels" /></wsdl:m essage><ws dl:message name="IQuotationManagement Service_Br owseModels _OutputMes sage"><wsd l:part name="parameters" element="tns:BrowseModelsR esponse"/> </wsdl:mes sage><wsdl :portType name="IQuotationManagement Service">< wsdl:opera tion name="GetBonusMalusByPolic yNo"><wsdl :input wsaw:Action="http://tempuri.org/IQuotationManagementService/GetBonusMalusByPolicyNo" message="tns:IQuotationMan agementSer vice_GetBo nusMalusBy PolicyNo_I nputMessag e"/><wsdl: output wsaw:Action="http://tempuri.org/IQuotationManagementService/GetBonusMalusByPolicyNoResponse" message="tns:IQuotationMan agementSer vice_GetBo nusMalusBy PolicyNo_O utputMessa ge"/></wsd l:operatio n><wsdl:op eration name="GetBonusMalusByUIAnd Vin"><wsdl :input wsaw:Action="http://tempuri.org/IQuotationManagementService/GetBonusMalusByUIAndVin" message="tns:IQuotationMan agementSer vice_GetBo nusMalusBy UIAndVin_I nputMessag e"/><wsdl: output wsaw:Action="http://tempuri.org/IQuotationManagementService/GetBonusMalusByUIAndVinResponse" message="tns:IQuotationMan agementSer vice_GetBo nusMalusBy UIAndVin_O utputMessa ge"/></wsd l:operatio n><wsdl:op eration name="ValidateCedamService "><wsdl:in put wsaw:Action="http://tempuri.org/IQuotationManagementService/ValidateCedamService" message="tns:IQuotationMan agementSer vice_Valid ateCedamSe rvice_Inpu tMessage"/ ><wsdl:out put wsaw:Action="http://tempuri.org/IQuotationManagementService/ValidateCedamServiceResponse" message="tns:IQuotationMan agementSer vice_Valid ateCedamSe rvice_Outp utMessage" /></wsdl:o peration>< wsdl:opera tion name="CreateQuotationRco"> <wsdl:inpu t wsaw:Action="http://tempuri.org/IQuotationManagementService/CreateQuotationRco" message="tns:IQuotationMan agementSer vice_Creat eQuotation Rco_InputM essage"/>< wsdl:outpu t wsaw:Action="http://tempuri.org/IQuotationManagementService/CreateQuotationRcoResponse" message="tns:IQuotationMan agementSer vice_Creat eQuotation Rco_Output Message"/> </wsdl:ope ration><ws dl:operati on name="CreateQuotationRcoPj "><wsdl:in put wsaw:Action="http://tempuri.org/IQuotationManagementService/CreateQuotationRcoPj" message="tns:IQuotationMan agementSer vice_Creat eQuotation RcoPj_Inpu tMessage"/ ><wsdl:out put wsaw:Action="http://tempuri.org/IQuotationManagementService/CreateQuotationRcoPjResponse" message="tns:IQuotationMan agementSer vice_Creat eQuotation RcoPj_Outp utMessage" /></wsdl:o peration>< wsdl:opera tion name="CreateQuotationCasco "><wsdl:in put wsaw:Action="http://tempuri.org/IQuotationManagementService/CreateQuotationCasco" message="tns:IQuotationMan agementSer vice_Creat eQuotation Casco_Inpu tMessage"/ ><wsdl:out put wsaw:Action="http://tempuri.org/IQuotationManagementService/CreateQuotationCascoResponse" message="tns:IQuotationMan agementSer vice_Creat eQuotation Casco_Outp utMessage" /></wsdl:o peration>< wsdl:opera tion name="CreateQuotationTrave l"><wsdl:i nput wsaw:Action="http://tempuri.org/IQuotationManagementService/CreateQuotationTravel" message="tns:IQuotationMan agementSer vice_Creat eQuotation Travel_Inp utMessage" /><wsdl:ou tput wsaw:Action="http://tempuri.org/IQuotationManagementService/CreateQuotationTravelResponse" message="tns:IQuotationMan agementSer vice_Creat eQuotation Travel_Out putMessage "/></wsdl: operation> <wsdl:oper ation name="BrowseCategoriesRco" ><wsdl:inp ut wsaw:Action="http://tempuri.org/IQuotationManagementService/BrowseCategoriesRco" message="tns:IQuotationMan agementSer vice_Brows eCategorie sRco_Input Message"/> <wsdl:outp ut wsaw:Action="http://tempuri.org/IQuotationManagementService/BrowseCategoriesRcoResponse" message="tns:IQuotationMan agementSer vice_Brows eCategorie sRco_Outpu tMessage"/ ></wsdl:op eration><w sdl:operat ion name="BrowseCategoriesRcoC omplete">< wsdl:input wsaw:Action="http://tempuri.org/IQuotationManagementService/BrowseCategoriesRcoComplete" message="tns:IQuotationMan agementSer vice_Brows eCategorie sRcoComple te_InputMe ssage"/><w sdl:output wsaw:Action="http://tempuri.org/IQuotationManagementService/BrowseCategoriesRcoCompleteResponse" message="tns:IQuotationMan agementSer vice_Brows eCategorie sRcoComple te_OutputM essage"/>< /wsdl:oper ation><wsd l:operatio n name="BrowseCategoriesCasc o"><wsdl:i nput wsaw:Action="http://tempuri.org/IQuotationManagementService/BrowseCategoriesCasco" message="tns:IQuotationMan agementSer vice_Brows eCategorie sCasco_Inp utMessage" /><wsdl:ou tput wsaw:Action="http://tempuri.org/IQuotationManagementService/BrowseCategoriesCascoResponse" message="tns:IQuotationMan agementSer vice_Brows eCategorie sCasco_Out putMessage "/></wsdl: operation> <wsdl:oper ation name="BrowseBrands"><wsdl: input wsaw:Action="http://tempuri.org/IQuotationManagementService/BrowseBrands" message="tns:IQuotationMan agementSer vice_Brows eBrands_In putMessage "/><wsdl:o utput wsaw:Action="http://tempuri.org/IQuotationManagementService/BrowseBrandsResponse" message="tns:IQuotationMan agementSer vice_Brows eBrands_Ou tputMessag e"/></wsdl :operation ><wsdl:ope ration name="BrowseModels"><wsdl: input wsaw:Action="http://tempuri.org/IQuotationManagementService/BrowseModels" message="tns:IQuotationMan agementSer vice_Brows eModels_In putMessage "/><wsdl:o utput wsaw:Action="http://tempuri.org/IQuotationManagementService/BrowseModelsResponse" message="tns:IQuotationMan agementSer vice_Brows eModels_Ou tputMessag e"/></wsdl :operation ></wsdl:po rtType><ws dl:binding name="BasicHttpBinding_IQu otationMan agementSer vice" type="tns:IQuotationManage mentServic e"><wsp:Po licyRefere nce URI="#BasicHttpBinding_IQu otationMan agementSer vice_polic y"/><soap: binding transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operat ion name="GetBonusMalusByPolic yNo"><soap :operation soapAction="http://tempuri.org/IQuotationManagementService/GetBonusMalusByPolicyNo" style="document"/><wsdl:in put><soap: body use="literal"/></wsdl:inpu t><wsdl:ou tput><soap :body use="literal"/></wsdl:outp ut></wsdl: operation> <wsdl:oper ation name="GetBonusMalusByUIAnd Vin"><soap :operation soapAction="http://tempuri.org/IQuotationManagementService/GetBonusMalusByUIAndVin" style="document"/><wsdl:in put><soap: body use="literal"/></wsdl:inpu t><wsdl:ou tput><soap :body use="literal"/></wsdl:outp ut></wsdl: operation> <wsdl:oper ation name="ValidateCedamService "><soap:op eration soapAction="http://tempuri.org/IQuotationManagementService/ValidateCedamService" style="document"/><wsdl:in put><soap: body use="literal"/></wsdl:inpu t><wsdl:ou tput><soap :body use="literal"/></wsdl:outp ut></wsdl: operation> <wsdl:oper ation name="CreateQuotationRco"> <soap:oper ation soapAction="http://tempuri.org/IQuotationManagementService/CreateQuotationRco" style="document"/><wsdl:in put><soap: body use="literal"/></wsdl:inpu t><wsdl:ou tput><soap :body use="literal"/></wsdl:outp ut></wsdl: operation> <wsdl:oper ation name="CreateQuotationRcoPj "><soap:op eration soapAction="http://tempuri.org/IQuotationManagementService/CreateQuotationRcoPj" style="document"/><wsdl:in put><soap: body use="literal"/></wsdl:inpu t><wsdl:ou tput><soap :body use="literal"/></wsdl:outp ut></wsdl: operation> <wsdl:oper ation name="CreateQuotationCasco "><soap:op eration soapAction="http://tempuri.org/IQuotationManagementService/CreateQuotationCasco" style="document"/><wsdl:in put><soap: body use="literal"/></wsdl:inpu t><wsdl:ou tput><soap :body use="literal"/></wsdl:outp ut></wsdl: operation> <wsdl:oper ation name="CreateQuotationTrave l"><soap:o peration soapAction="http://tempuri.org/IQuotationManagementService/CreateQuotationTravel" style="document"/><wsdl:in put><soap: body use="literal"/></wsdl:inpu t><wsdl:ou tput><soap :body use="literal"/></wsdl:outp ut></wsdl: operation> <wsdl:oper ation name="BrowseCategoriesRco" ><soap:ope ration soapAction="http://tempuri.org/IQuotationManagementService/BrowseCategoriesRco" style="document"/><wsdl:in put><soap: body use="literal"/></wsdl:inpu t><wsdl:ou tput><soap :body use="literal"/></wsdl:outp ut></wsdl: operation> <wsdl:oper ation name="BrowseCategoriesRcoC omplete">< soap:opera tion soapAction="http://tempuri.org/IQuotationManagementService/BrowseCategoriesRcoComplete" style="document"/><wsdl:in put><soap: body use="literal"/></wsdl:inpu t><wsdl:ou tput><soap :body use="literal"/></wsdl:outp ut></wsdl: operation> <wsdl:oper ation name="BrowseCategoriesCasc o"><soap:o peration soapAction="http://tempuri.org/IQuotationManagementService/BrowseCategoriesCasco" style="document"/><wsdl:in put><soap: body use="literal"/></wsdl:inpu t><wsdl:ou tput><soap :body use="literal"/></wsdl:outp ut></wsdl: operation> <wsdl:oper ation name="BrowseBrands"><soap: operation soapAction="http://tempuri.org/IQuotationManagementService/BrowseBrands" style="document"/><wsdl:in put><soap: body use="literal"/></wsdl:inpu t><wsdl:ou tput><soap :body use="literal"/></wsdl:outp ut></wsdl: operation> <wsdl:oper ation name="BrowseModels"><soap: operation soapAction="http://tempuri.org/IQuotationManagementService/BrowseModels" style="document"/><wsdl:in put><soap: body use="literal"/></wsdl:inpu t><wsdl:ou tput><soap :body use="literal"/></wsdl:outp ut></wsdl: operation> </wsdl:bin ding><wsdl :service name="QuotationManagementS ervice"><w sdl:port name="BasicHttpBinding_IQu otationMan agementSer vice" binding="tns:BasicHttpBind ing_IQuota tionManage mentServic e"><soap:a ddress location="https://azt-direct/SharedWebServices.DEV/QuotationManagementService.svc"/></wsdl:port>< /wsdl:serv ice></wsdl :definitio ns>
can you do that for me?
I have little to no experience at all with this
Here is the code for the wsdl:
<?xml version="1.0" encoding="utf-8"?><wsdl:de
ASKER
And now xsd0:
<?xml version="1.0" encoding="utf-8"?><xs:sche ma elementFormDefault="qualif ied" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://tempuri.org/"><xs:import schemaLocation="https://azt-direct/SharedWebServices.DEV/QuotationManagementService.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/AZT.NET.Insurance.Entities.Auto"/><xs:element name="GetBonusMalusByPolic yNo"><xs:c omplexType ><xs:seque nce><xs:el ement minOccurs="0" name="policySerial" nillable="true" type="xs:string"/><xs:elem ent minOccurs="0" name="policyNo" nillable="true" type="xs:string"/></xs:seq uence></xs :complexTy pe></xs:el ement><xs: element name="GetBonusMalusByPolic yNoRespons e"><xs:com plexType>< xs:sequenc e><xs:elem ent minOccurs="0" name="GetBonusMalusByPolic yNoResult" nillable="true" type="xs:string"/></xs:seq uence></xs :complexTy pe></xs:el ement><xs: element name="GetBonusMalusByUIAnd Vin"><xs:c omplexType ><xs:seque nce><xs:el ement minOccurs="0" name="uniqueIdentifier" nillable="true" type="xs:string"/><xs:elem ent minOccurs="0" name="vin" nillable="true" type="xs:string"/></xs:seq uence></xs :complexTy pe></xs:el ement><xs: element name="GetBonusMalusByUIAnd VinRespons e"><xs:com plexType>< xs:sequenc e><xs:elem ent minOccurs="0" name="GetBonusMalusByUIAnd VinResult" nillable="true" type="xs:string"/></xs:seq uence></xs :complexTy pe></xs:el ement><xs: element name="ValidateCedamService "><xs:comp lexType><x s:sequence /></xs:com plexType>< /xs:elemen t><xs:elem ent name="ValidateCedamService Response"> <xs:comple xType><xs: sequence>< xs:element minOccurs="0" name="ValidateCedamService Result" type="xs:boolean"/></xs:se quence></x s:complexT ype></xs:e lement><xs :element name="CreateQuotationRco"> <xs:comple xType><xs: sequence>< xs:element minOccurs="0" name="xquotation" nillable="true" type="xs:string"/></xs:seq uence></xs :complexTy pe></xs:el ement><xs: element name="CreateQuotationRcoRe sponse"><x s:complexT ype><xs:se quence><xs :element minOccurs="0" name="CreateQuotationRcoRe sult" nillable="true" type="xs:string"/></xs:seq uence></xs :complexTy pe></xs:el ement><xs: element name="CreateQuotationRcoPj "><xs:comp lexType><x s:sequence ><xs:eleme nt minOccurs="0" name="xquotation" nillable="true" type="xs:string"/></xs:seq uence></xs :complexTy pe></xs:el ement><xs: element name="CreateQuotationRcoPj Response"> <xs:comple xType><xs: sequence>< xs:element minOccurs="0" name="CreateQuotationRcoPj Result" nillable="true" type="xs:string"/></xs:seq uence></xs :complexTy pe></xs:el ement><xs: element name="CreateQuotationCasco "><xs:comp lexType><x s:sequence ><xs:eleme nt minOccurs="0" name="xquotation" nillable="true" type="xs:string"/></xs:seq uence></xs :complexTy pe></xs:el ement><xs: element name="CreateQuotationCasco Response"> <xs:comple xType><xs: sequence>< xs:element minOccurs="0" name="CreateQuotationCasco Result" nillable="true" type="xs:string"/></xs:seq uence></xs :complexTy pe></xs:el ement><xs: element name="CreateQuotationTrave l"><xs:com plexType>< xs:sequenc e><xs:elem ent minOccurs="0" name="xquotation" nillable="true" type="xs:string"/></xs:seq uence></xs :complexTy pe></xs:el ement><xs: element name="CreateQuotationTrave lResponse" ><xs:compl exType><xs :sequence> <xs:elemen t minOccurs="0" name="CreateQuotationTrave lResult" nillable="true" type="xs:string"/></xs:seq uence></xs :complexTy pe></xs:el ement><xs: element name="BrowseCategoriesRco" ><xs:compl exType><xs :sequence/ ></xs:comp lexType></ xs:element ><xs:eleme nt name="BrowseCategoriesRcoR esponse">< xs:complex Type><xs:s equence><x s:element minOccurs="0" name="BrowseCategoriesRcoR esult" nillable="true" type="q1:ArrayOfCategorySu mmary" xmlns:q1="http://schemas.datacontract.org/2004/07/AZT.NET.Insurance.Entities.Auto"/></xs:sequence ></xs:comp lexType></ xs:element ><xs:eleme nt name="BrowseCategoriesRcoC omplete">< xs:complex Type><xs:s equence/>< /xs:comple xType></xs :element>< xs:element name="BrowseCategoriesRcoC ompleteRes ponse"><xs :complexTy pe><xs:seq uence><xs: element minOccurs="0" name="BrowseCategoriesRcoC ompleteRes ult" nillable="true" type="q2:ArrayOfCategorySu mmary" xmlns:q2="http://schemas.datacontract.org/2004/07/AZT.NET.Insurance.Entities.Auto"/></xs:sequence ></xs:comp lexType></ xs:element ><xs:eleme nt name="BrowseCategoriesCasc o"><xs:com plexType>< xs:sequenc e/></xs:co mplexType> </xs:eleme nt><xs:ele ment name="BrowseCategoriesCasc oResponse" ><xs:compl exType><xs :sequence> <xs:elemen t minOccurs="0" name="BrowseCategoriesCasc oResult" nillable="true" type="q3:ArrayOfCategorySu mmary" xmlns:q3="http://schemas.datacontract.org/2004/07/AZT.NET.Insurance.Entities.Auto"/></xs:sequence ></xs:comp lexType></ xs:element ><xs:eleme nt name="BrowseBrands"><xs:co mplexType> <xs:sequen ce><xs:ele ment minOccurs="0" name="categoryid" type="xs:int"/></xs:sequen ce></xs:co mplexType> </xs:eleme nt><xs:ele ment name="BrowseBrandsResponse "><xs:comp lexType><x s:sequence ><xs:eleme nt minOccurs="0" name="BrowseBrandsResult" nillable="true" type="q4:ArrayOfBrandSumma ry" xmlns:q4="http://schemas.datacontract.org/2004/07/AZT.NET.Insurance.Entities.Auto"/></xs:sequence ></xs:comp lexType></ xs:element ><xs:eleme nt name="BrowseModels"><xs:co mplexType> <xs:sequen ce><xs:ele ment minOccurs="0" name="categoryid" type="xs:int"/><xs:element minOccurs="0" name="brandid" type="xs:int"/></xs:sequen ce></xs:co mplexType> </xs:eleme nt><xs:ele ment name="BrowseModelsResponse "><xs:comp lexType><x s:sequence ><xs:eleme nt minOccurs="0" name="BrowseModelsResult" nillable="true" type="q5:ArrayOfAutoMapIte m" xmlns:q5="http://schemas.datacontract.org/2004/07/AZT.NET.Insurance.Entities.Auto"/></xs:sequence ></xs:comp lexType></ xs:element ></xs:sche ma>
<?xml version="1.0" encoding="utf-8"?><xs:sche
ASKER
and xsd1:
<?xml version="1.0" encoding="utf-8"?><xs:sche ma attributeFormDefault="qual ified" elementFormDefault="qualif ied" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/"><xs:element name="anyType" nillable="true" type="xs:anyType"/><xs:ele ment name="anyURI" nillable="true" type="xs:anyURI"/><xs:elem ent name="base64Binary" nillable="true" type="xs:base64Binary"/><x s:element name="boolean" nillable="true" type="xs:boolean"/><xs:ele ment name="byte" nillable="true" type="xs:byte"/><xs:elemen t name="dateTime" nillable="true" type="xs:dateTime"/><xs:el ement name="decimal" nillable="true" type="xs:decimal"/><xs:ele ment name="double" nillable="true" type="xs:double"/><xs:elem ent name="float" nillable="true" type="xs:float"/><xs:eleme nt name="int" nillable="true" type="xs:int"/><xs:element name="long" nillable="true" type="xs:long"/><xs:elemen t name="QName" nillable="true" type="xs:QName"/><xs:eleme nt name="short" nillable="true" type="xs:short"/><xs:eleme nt name="string" nillable="true" type="xs:string"/><xs:elem ent name="unsignedByte" nillable="true" type="xs:unsignedByte"/><x s:element name="unsignedInt" nillable="true" type="xs:unsignedInt"/><xs :element name="unsignedLong" nillable="true" type="xs:unsignedLong"/><x s:element name="unsignedShort" nillable="true" type="xs:unsignedShort"/>< xs:element name="char" nillable="true" type="tns:char"/><xs:simpl eType name="char"><xs:restrictio n base="xs:int"/></xs:simple Type><xs:e lement name="duration" nillable="true" type="tns:duration"/><xs:s impleType name="duration"><xs:restri ction base="xs:duration"><xs:pat tern value="\-?P(\d*D)?(T(\d*H) ?(\d*M)?(\ d*(\.\d*)? S)?)?"/><x s:minInclu sive value="-P10675199DT2H48M5. 4775808S"/ ><xs:maxIn clusive value="P10675199DT2H48M5.4 775807S"/> </xs:restr iction></x s:simpleTy pe><xs:ele ment name="guid" nillable="true" type="tns:guid"/><xs:simpl eType name="guid"><xs:restrictio n base="xs:string"><xs:patte rn value="[\da-fA-F]{8}-[\da- fA-F]{4}-[ \da-fA-F]{ 4}-[\da-fA -F]{4}-[\d a-fA-F]{12 }"/></xs:r estriction ></xs:simp leType><xs :attribute name="FactoryType" type="xs:QName"/><xs:attri bute name="Id" type="xs:ID"/><xs:attribut e name="Ref" type="xs:IDREF"/></xs:sche ma>
<?xml version="1.0" encoding="utf-8"?><xs:sche
ASKER
and xsd2:
<?xml version="1.0" encoding="utf-8"?><xs:sche ma elementFormDefault="qualif ied" targetNamespace="http://schemas.datacontract.org/2004/07/AZT.NET.Insurance.Entities.Auto" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.datacontract.org/2004/07/AZT.NET.Insurance.Entities.Auto"><xs:import schemaLocation="https://azt-direct/SharedWebServices.DEV/QuotationManagementService.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/AZT.NET.Common.Entities"/><xs:complexT ype name="ArrayOfCategorySumma ry"><xs:se quence><xs :element minOccurs="0" maxOccurs="unbounded" name="CategorySummary" nillable="true" type="tns:CategorySummary" /></xs:seq uence></xs :complexTy pe><xs:ele ment name="ArrayOfCategorySumma ry" nillable="true" type="tns:ArrayOfCategoryS ummary"/>< xs:complex Type name="CategorySummary"><xs :complexCo ntent mixed="false"><xs:extensio n base="q1:EntityBase" xmlns:q1="http://schemas.datacontract.org/2004/07/AZT.NET.Common.Entities"><xs:sequence>< xs:element minOccurs="0" name="Id" type="xs:int"/><xs:element minOccurs="0" name="Name" nillable="true" type="xs:string"/></xs:seq uence></xs :extension ></xs:comp lexContent ></xs:comp lexType><x s:element name="CategorySummary" nillable="true" type="tns:CategorySummary" /><xs:comp lexType name="ArrayOfBrandSummary" ><xs:seque nce><xs:el ement minOccurs="0" maxOccurs="unbounded" name="BrandSummary" nillable="true" type="tns:BrandSummary"/>< /xs:sequen ce></xs:co mplexType> <xs:elemen t name="ArrayOfBrandSummary" nillable="true" type="tns:ArrayOfBrandSumm ary"/><xs: complexTyp e name="BrandSummary"><xs:co mplexConte nt mixed="false"><xs:extensio n base="q2:EntityBase" xmlns:q2="http://schemas.datacontract.org/2004/07/AZT.NET.Common.Entities"><xs:sequence>< xs:element minOccurs="0" name="Id" type="xs:int"/><xs:element minOccurs="0" name="Name" nillable="true" type="xs:string"/></xs:seq uence></xs :extension ></xs:comp lexContent ></xs:comp lexType><x s:element name="BrandSummary" nillable="true" type="tns:BrandSummary"/>< xs:complex Type name="ArrayOfAutoMapItem"> <xs:sequen ce><xs:ele ment minOccurs="0" maxOccurs="unbounded" name="AutoMapItem" nillable="true" type="tns:AutoMapItem"/></ xs:sequenc e></xs:com plexType>< xs:element name="ArrayOfAutoMapItem" nillable="true" type="tns:ArrayOfAutoMapIt em"/><xs:c omplexType name="AutoMapItem"><xs:com plexConten t mixed="false"><xs:extensio n base="q3:EntityBase" xmlns:q3="http://schemas.datacontract.org/2004/07/AZT.NET.Common.Entities"><xs:sequence>< xs:element minOccurs="0" name="ExternalBrandId" type="xs:int"/><xs:element minOccurs="0" name="ExternalCategoryId" type="xs:int"/><xs:element minOccurs="0" name="ExternalModelId" type="xs:int"/><xs:element minOccurs="0" name="ModelId" type="xs:int"/><xs:element minOccurs="0" name="ModelName" nillable="true" type="xs:string"/></xs:seq uence></xs :extension ></xs:comp lexContent ></xs:comp lexType><x s:element name="AutoMapItem" nillable="true" type="tns:AutoMapItem"/></ xs:schema>
<?xml version="1.0" encoding="utf-8"?><xs:sche
ASKER
and xsd3:
<?xml version="1.0" encoding="utf-8"?><xs:sche ma elementFormDefault="qualif ied" targetNamespace="http://schemas.datacontract.org/2004/07/AZT.NET.Common.Entities" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.datacontract.org/2004/07/AZT.NET.Common.Entities"><xs:complexTy pe name="EntityBase"><xs:sequ ence/></xs :complexTy pe><xs:ele ment name="EntityBase" nillable="true" type="tns:EntityBase"/></x s:schema>
<?xml version="1.0" encoding="utf-8"?><xs:sche
ASKER
So all 4 XSD should be inside the initial WSDL.
I have no idea where to add the xsd contents, so please help me with it.
I have no idea where to add the xsd contents, so please help me with it.
look closely at my answer above to see how to do it - all the xsd lines are nested inside <xs:schema> and </xs:schema>, just take out the initial lines (<?xml version...). You may have to include multiple namespace lines (the xmlns:), but be aware that you cannot have multiple that are "tns", so duplicates must be renamed to something else, like "ent" for entity.
ASKER
It seems very simple from your answer, and since it's all just about copy /paste, could you do it for me and test it? Because I tried the copy/paste thing and all kinds of errors showed up.
Also I have no ideea what "tns" is and what it is for.
I do not know XML, Delphi makes all the conversions necesary for me to work with WSDL + XSD as with any other delphi units.
I have no idea how to nest these nodes that you are talking about.
Please complete the answer by combining the WSDL with the XSDs.
Thank you
Also I have no ideea what "tns" is and what it is for.
I do not know XML, Delphi makes all the conversions necesary for me to work with WSDL + XSD as with any other delphi units.
I have no idea how to nest these nodes that you are talking about.
Please complete the answer by combining the WSDL with the XSDs.
Thank you
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Great. I actually solved this in another thread, but since you bothered to answer me and spent your time to do it, I will award you the points Ghita.
Thanks
Thanks
http://www.oxygenxml.com/
?