You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Send request to the queryCSV method of rightnow webservice using PHP

Received Response
26
Views
1
Comments
edited Jun 8, 2022 12:01PM in General Technical Discussions 1 comment

Content

I want to send request parameters & client info header to te rightnow webservice using PHP SOAP calls. How can I do this ? Please help

My wsdl structure is as follows:

<wsdl:operation name="QueryCSV">
            <soap:operation soapAction="QueryCSV" style="document"/>
            <wsdl:input>
                <soap:body parts="parameters" use="literal"/>
                <soap:header message="rnw_v1_2:ClientInfoHeader" part="request_header" use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal"/>
            </wsdl:output>

I want to pass client header and parameters (query, pagesize, delimiter, returnrawresult, disableMTOM) to the queryCSV method. I am getting following error:

Fatal error: Uncaught SoapFault exception: [soapenv:Sender] Data element in the Message is NULL

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!