Skip to Content
avatar image
Former Member

Parameters in HCI and wsdl

Hi team,

Im new to hci, so it might be a dumb question. I have created a simple service in hci and it works great when I test it from soapui. It needs a parameter which I pass from soapui, however the parameter is not declared in the wsdl, I just indicate it in soapui manually and grab it in hci as //parameter.

Now Im trying to call this service from another application which requieres the parameter to be explicitly indicates in the wsdl, but when this app retrieves the info from myservice.wsdl the parameter is a generic one (invoke or something) so I have now way there to force a specific parameter. So the question is, how can i indicate in HCI that a parameter has to be included in the wsdl rather than the generic invoke? I created a wsdl manually but then it requieres me to also indicate an output which is complicated as I have several fields as output and it gets messy.

Apprecitate any help on this! Im using hci directly without eclipse.

Thank you in advance

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jun 02, 2017 at 10:01 PM

    Hi,

    Yes there is a possibility of running into problems with WSDLs if your not defining them carefully.

    Start with following simple wsdl and step by step modify it towards the desired interface.

    A sample request message for it is

    <?xml version="1.0" encoding="utf-8"?>

    <hci:message xmlns:hci="http://webservice.SalesOrder.test.org">

    <hci:valueA>str1234</hci:valueA>

    <hci:valueB>str1234</hci:valueB>

    <hci:valueC>str1234</hci:valueC>

    </hci:message>

    Also keep in mind – you don’t necessarily need a wsdl in HCI sender / receiver channels. If they are used, some additional xml validation is performed to make sure the payload matches to wsdl. No –wsdl – no validation is performed and message is sent/received as-it.

    Add comment
    10|10000 characters needed characters exceeded