Error when Calling Webservices from RTC

kirkgoodwinkirkgoodwin Member Posts: 12
edited 2011-09-07 in NAV Three Tier
I have a Codeunit using SOAP to call an external webservice. The cu works fine when called from the classic client. However, when calling the same codeunit from an Action in the RTC, I am receiving the following:

This message is for C/AL programmers: the call to member Property failed: Number of parameters specified does not match the expected number..

I have determined that it is throwing this error on the first call to SoapHttpConnect.Property(..

Again However, it processes successfully when called in the Classic client.

Any ideas?

Code is:


WebSvcMgr.GET(WebServiceName);
CREATE(locautSoapHttpConnector);
//
>>>>Connector
locautSoapHttpConnector.Property('EndPointURL', WebSvcMgr.EndPointURL);

Comments

  • kinekine Member Posts: 12,562
    I replaced the SOAP HTTP connector with "'Microsoft XML, v6.0'.XMLHTTP60" automation, because I didn't succeeded to use the SOAP automation under WS and RTC.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.