Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP and JDEdwards
Message
From
16/04/2003 04:58:59
 
 
To
15/04/2003 15:15:01
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00776546
Message ID:
00778233
Views:
24
Below i give you an example on how to call the MBF 'ABCustomerAmtsDates'
 DECLARE STRING jdeXMLCallObject IN d:\b7\system\bin32\xmlcallobj.dll ;
   STRING  szXMLRequest, ;
   INTEGER size, ;
   STRING  szDestName, ;
   INTEGER @pbSuccessful

  TEXT TO cJDEXML NOSHOW
<?xml version='1.0' encoding='utf-8' ?>
<jdeRequest type='callmethod' user='JDE USERNAME' pwd='JDE PASS' environment='PY7333' >
	<callMethod app='VFP' name='ABCustomerAmtsDates'>
			<param name='mnAddressNumber '>10505</param>
			<param name='szCompany '>00001</param>
	</callMethod>
</jdeRequest>
  ENDTEXT
  cJDEXML = cJDEXML+ CHR(0)
  lnSuccessful = 0
  *
  lcJdeXmlResponse = ;
  jdeXMLCallObject(cJDEXML, 0, "yourservernamewhere_jdedata_reside",   lnSuccessful)
  ?lcJdeXmlResponse
TO GET THE FUNCTION TEMPLATE :
 DECLARE STRING jdeXMLCallObject IN d:\b7\system\bin32\xmlcallobj.dll ;
   STRING  szXMLRequest, ;
   INTEGER size, ;
   STRING  szDestName, ;
   INTEGER @pbSuccessful

  TEXT TO cJDEXML NOSHOW
<?xml version='1.0' encoding='utf-8' ?>
<jdeRequest type='callmethod' user='JDE USERNAME' pwd='JDE PASS' environment='PY7333' >
	<callMethodTemplate app='VFP' name='ABCustomerAmtsDates'>
	</callMethod>
</jdeRequest>
  ENDTEXT
  cJDEXML = cJDEXML+ CHR(0)
  lnSuccessful = 0
  *
  lcJdeXmlResponse = ;
  jdeXMLCallObject(cJDEXML, 0, "yourservernamewhere_jdedata_reside",   lnSuccessful)
  ?lcJdeXmlResponse
Dimitris
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform