Hi All,
I am having an issue when sending the xml files () using following Dotnet datatype
Name DataType Subtype Length
xml DotNet System.Xml.XmlDocument.'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
by following datatype
Name DataType Subtype Length
XMLHttpConn Automation 'Microsoft XML, v3.0'.XMLHTTP
IF ISCLEAR(XMLHttpConn) THEN
CREATE(XMLHttpConn,FALSE,TRUE);
XMLHttpConn.open('POST',PostURL,FALSE);
XMLHttpConn.setRequestHeader('SOAPAction',SOAPAction);
XMLHttpConn.setRequestHeader('Content-Type',ContentType);
XMLHttpConn.send(LXMLDocOut);
When system comes to XMLHttpConn.send() function, Following error appears:
"You cannot use a server-side object of the type DotNet in a client-side automation object call."
Your answers always appreciated.
0
Comments
Can you please provide Navision version ?
I would like to inform you that Variables of Automation type will not be supported in Navision Service Tier. To work with automation, Developer should create automation variable Client side.
It seems that you have not create automation variable XMLHttpConn at client side so you getting this error.
Please let me know if it helps.
Please do not forget to mark topic as solved if my inputs solve your problem.