Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Finally I found the way to get the metadata. In schema location, we can see a path like "../../../". After thinking a bit, I asked around if somebody had something like a folder structure containing the imported xsd following that tree and bingo. I have imported the folder in the workspace, inside the project folder. Then, i have used the xml metadata to create an input xml and the xml could finally read all the xsd:import. It is the first time I see something like this, but it worked. Now I have other issues, but I will open new posts to discuss them.
Thank you both for your help and your support.
Hi,
When I am trying to export, I am getting the following error.
Could you please check whether all the paths are correct and then try to import again?
Warm Regards,
Nikhil Thampi
Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Hi,
in first row of XSD it contains some definitions:
xmlns:ns0="http://thesite.com/BusinessObjects/Common/IsAliveResultType/V2"
xmlns:ns1="http://thesite.com/BusinessObjects/ABC/ReplicationMessageType/V2"
xmlns:ns2="http://thesite.com/BusinessObjects/Core/VoidType/V2"
xmlns:ns3="http://thesite.com/BusinessObjects/ABC/ServiceFaultType/V2"
domain - http://thesite.com is not working,
path is also wrong (at least for us):
<xsd:import namespace="http://thesite.com/BusinessObjects/Common/IsAliveResultType/V2" schemaLocation="../../../../BusinessObjects/Common/IsAliveResultType/IsAliveResultType.xsd"/> <xsd:import namespace="http://thesite.com/BusinessObjects/ABC/ReplicationMessageType/V2" schemaLocation="../../../../BusinessObjects/ABC/ReplicationMessageType/ReplicationMessageType.xsd"/> <xsd:import namespace="http://thesite.com/BusinessObjects/Core/VoidType/V2" schemaLocation="../../../../BusinessObjects/Core/VoidType/VoidType.xsd"/> <xsd:import namespace="http://thesite.com/BusinessObjects/ABC/ServiceFaultType/V2" schemaLocation="../../../../BusinessObjects/ABC/ServiceFaultType/ServiceFaultType.xsd"/>
and definitions could not be loaded for resolve feature parts of XSD
<xsd:element name="receiveDataChangeEventsReqMsg" type="ns1:ReplicationMessageType"/> <xsd:element name="receiveDataChangeEventsRespMsg" type="ns2:VoidType"/> <xsd:element name="isAliveReqMsg" type="ns2:VoidType"/> <xsd:element name="isAliveRespMsg" type="ns0:IsAliveResultType"/> <xsd:element name="serviceFault" type="ns3:ServiceFaultType"/>
Hi,
Finally I found the way to get the metadata. In schema location, we can see a path like "../../../". After thinking a bit, I asked around if somebody had something like a folder structure containing the imported xsd following that tree and bingo. I have imported the folder in the workspace, inside the project folder. Then, i have used the xml metadata to create an input xml and the xml could finally read all the xsd:import. It is the first time I see something like this, but it worked. Now I have other issues, but I will open new posts to discuss them.
Thank you both for your help and your support.
Perfect!
Could you please close this topic now so that other Talend community members can refer it in future?
Warm Regards,
Nikhil Thampi
Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂