Skip to Content

WebServiceUtilities.ExecuteWebService Example

Feb 06, 2017 at 01:08 PM


avatar image
Former Member

Hi all,

please give me an example of how to add the parameters to ExecuteWebService() function, so I can call the web service.

var parameter : NameAndValue;
var parameters : collectionof NameAndValue;

serviceID = ...; // Where can I obtain the ID?
parameter.Name = ...; // Here I need help 
parameter.Value = ...; // Here I need help

var result = WebServiceUtilities.ExecuteWebService(serviceID, parameters);
var content = result.ResponseContent;
var returnCode = result.ReturnCode;

For example I have this web service that has to be called with WebServiceUtilities.ExecuteWebService():

xmlns:soap="" xmlns:glob="">
        <InternalID schemeID="CommunicationSystemID" schemeAgencyID="310">JAVAPOS</InternalID>
      <Note>9820100010044 16.50 CHF</Note>
          <Note>Minikrippe 'Piccola'</Note>

Kind regards,

Ciprian Nasalean

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

0 Answers