My issue is getting the right type between the C# class project and the d365 X type. I am trying to use an array, but since its a system type and x is not is not complying.
Error Cannot implicitly convert from type 'System.String[' to type 'str['.

c# class object
public string[] GetMichelinFunds(String billto, decimal CoopFunds, decimal AMFFunds, string strError)
{
BasicHttpBinding httpBinding = new BasicHttpBinding();
EndpointAddress endPoint = new EndpointAddress(@"http://xxx.channel-fusion.com/asmx/FundByDealerNumber.asmx");
string[] michelinInfo = new string[3];
var soapClient = new FundByDealerNumberSoapClient(httpBinding, endPoint);
michelinInfo[0] = soapClient.AvailableFunds(billto, ref CoopFunds, ref AMFFunds, ref strError, pass).ToString();
michelinInfo[1] = CoopFunds.ToString();
michelinInfo[2] = AMFFunds.ToString();
soapClient.Close();
return michelinInfo;
}
x method:
public void GetBillToInfo(str Billto)
{
ExternalWebServices.GetBDFFund GetBDFFund = new ExternalWebServices.GetBDFFund();
real CoopFunds = 0;
real AMFFunds = 0;
String50 errorMsg;
String30 michelinInfo[];
michelinInfo = GetBDFFund.GetMichelinFunds(Billto, CoopFunds, AMFFunds, errorMsg);
}