Skip to Content
0

HCI SOAP with multi references of XSD

Feb 21, 2017 at 03:12 AM

226

avatar image
Former Member

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Sriprasad Shivaram Bhat Feb 21, 2017 at 09:56 AM
0

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


Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Feb 22, 2017 at 03:35 AM
0

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:


mapping.jpg (39.4 kB)
res.jpg (75.3 kB)
Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi fc Gan,

Did you found a solution for this problem? I experience the same problems with references between XSD's.

Kind regards,

Mark

0
Sriprasad Shivaram Bhat Feb 24, 2017 at 01:47 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded