Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How do I create an external XSD and reference it in a WSDL

Hi, anyone know how to reference an external schema file in a WSDL.
This is apparently possible from 5.3.1.
I cannot find an example of the procedure and i have quite a few services and they all use a base schema.
It is a pain to constantly track the changes
e.g.
   <wsdl:types>
<xsd schema>
<xsd:import>myTypes.xsd</xsd:import>
</xsd schema>
</wsdl:types>

rather than
   <wsdl:types>
<xsd schema>
<!-- this schema should live in a XSD file that can be imported by all WSDL's -->
</xsd schema>
<xsd schema>
</xsd schema>
</wsdl:types>

Graham
Labels (2)
5 Replies
Anonymous
Not applicable
Author

Hi gaimmo
I am not sure it is possible or not right now, I will check it with our colleagues from R&D team, and come back to you asap!
Shongn
Anonymous
Not applicable
Author

Hi Shong, I stand to correction but thought this was in the new features of 5.3.1.
In my opinion this is a fundamental flaw in Talend as I have quite a few services that all use a base schema and when this base schema requires a change i need to make the change in every WSDL and inevitably screw up 0683p000009MPcz.png in one of them making my schema inconsistent.
Graham
Anonymous
Not applicable
Author

Hi Shong, I have managed to get this to work however i am certain this is not entirely correct.
WSDL
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="ImportSchema"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://www.talend.org/service/"
targetNamespace="http://www.talend.org/service/">
<wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.talend.org/service/"
xmlns:pref="http://www.dstv.com/services/DStvTypes/">
<xsd:import schemaLocation="schemas/DStvTypes.xsd" namespace="http://www.dstv.com/services/DStvTypes/"></xsd:import>
<xsd:element name="ImportSchemaOperationRequest">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="in


To see the whole post, download it here
OriginalPost.pdf
Anonymous
Not applicable
Author

Hi Shong, any update on this?

Graham
Anonymous
Not applicable
Author

I have the same problem here. Any updates?