Skip to Content
avatar image
Former Member

HCI SOAP with multi references of XSD

Hi All,

We are current create an interface with SOAP adapter and the WSDL is reference with multiple XSD and even the XSD also reference to other's XSD as well. Is the HCI itself able to support those external references?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Feb 21, 2017 at 09:56 AM

    Hello Fc

    Yes its possible to use those WSDL and XSD with small workaround.

    1) Download all the referenced XSD ( referenced from WSDL and from XSD as well) and copy it to src.main.resources.wsdl along with your WSDL.

    2) Locate the schemaLocation inside xsd:import and change it to plain one with only XSD name.

    Old WSDL with Reference XSD:

    New one which can be used in HCI Eclipse Tooling:

    3) Similar practice to be followed for the XSD.

    Then you just validate the WSDL/xsd in eclipse by right clicking and selecting validate.

    Regards,

    Sriprasad Shivaram Bhat

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 22, 2017 at 03:35 AM

    Hello Sriprasad,

    Thanks for answering me. Actually i'm doing the same as per your suggestion. In Eclipse i'm doing some simple mapping but somehow after deploy to the HCI, the mapping seems like not working. I try to map a constants value in the mapping and the value was missing after the mapping.

    Result:

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 24, 2017 at 01:47 PM

    Hello FC

    Could you please share your WSDL so that I can check since the WSDL which I have is working fine with above approach.

    Regards,

    Sriprasad Shivaram Bhat

    Add comment
    10|10000 characters needed characters exceeded