declare string jdeXMLRequest in jdedwards.dll ;
string szHostName, ;
short usPort, ;
integer nNetTimeout, ;
string XML, ;
integer size
pszXML = "this is an XML document"
? jdeXMLRequest( "ntintel5", 6096, 60, pszXML + chr(0), 0 )
or
? jdeXMLRequest( "ntintel5", 6096, 60, pszXML, len( pszXML ) )
>JDEdwards has an interface (among other interfaces like COM) for calling its business functions thru XML. This requires a DLL function call which is documented below:
>
>char * jdeXMLRequest(const char *szHostName, unsigned short usPort, const int nNetTimeout, void *XML, int size)
>
>Parameters
>---------------
>szHostName
>OneWorld enterprise server host name
>
>
>usPort
>OneWorld enterprise server port number
>
>
>nNetTimeout
>Time out value for the request. Time out value is in seconds.
>
>XML
>Input XML document
>
>size
>XML document size
>A value less than or equal to zero indicates that the XML parameter is a NULL terminated string. Size will be obtained from the string.
>
>
>with an example in C:
>char* pszResp = jdeXMLRequest("ntintel5", 6096, 60, (void*)pszXML), 0);
>
>Any Idea pls on how to make it work in VFP ???
>Thank You !