Adding new parameters in API - wsdl file

Hi,

I am using xibo version 1.7.9.

I am trying to add new parameters to API. So I changed wsdl file and added parameters in the file like,
message name="RegisterDisplayRequest"
part name=“xyz” type=“xsd:string”
/message

I am sending request parameter from soap ui for testing like

xyz xsi:type=“xsd:string” TEST VALUE /xyz

but I am not able to fetch value of this parameter from xmdssoaupx.class.php

Do I need to change at any other place or am I missing any step to get the value ?

Can you please guide me through this to add new parameter for API ?

Thanks.

You also need to modify the target method to accept the new parameter - and you might also need to disable the WSDL cache while testing - see http://php.net/manual/en/soapserver.soapserver.php

1 Like