Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 58059
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T17:47:19+00:00 2026-05-10T17:47:19+00:00

Wondering if anybody out there has any success in using the JDEdwards XMLInterop functionality.

  • 0

Wondering if anybody out there has any success in using the JDEdwards XMLInterop functionality. I’ve been using it for a while (with a simple PInvoke, will post code later). I’m looking to see if there’s a better and/or more robust way.

Thanks.

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T17:47:20+00:00Added an answer on May 10, 2026 at 5:47 pm

    As promised, here is the code for integrating with JDEdewards using XML. It’s a webservice, but could be used as you see fit.

    namespace YourNameSpace 

    {

    /// <summary> /// This webservice allows you to submit JDE XML CallObject requests via a c# webservice /// </summary> [WebService(Namespace = 'http://WebSite.com/')] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] public class JdeBFService : System.Web.Services.WebService {     private string _strServerName;     private UInt16 _intServerPort;     private Int16 _intServerTimeout;      public JdeBFService()     {         // Load JDE ServerName, Port, & Connection Timeout from the Web.config file.         _strServerName = ConfigurationManager.AppSettings['JdeServerName'];         _intServerPort = Convert.ToUInt16(ConfigurationManager.AppSettings['JdePort'], CultureInfo.InvariantCulture);         _intServerTimeout = Convert.ToInt16(ConfigurationManager.AppSettings['JdeTimeout'], CultureInfo.InvariantCulture);      }      /// <summary>     /// This webmethod allows you to submit an XML formatted jdeRequest document     /// that will call any Master Business Function referenced in the XML document     /// and return a response.     /// </summary>     /// <param name='Xml'> The jdeRequest XML document </param>     [WebMethod]     public XmlDocument JdeXmlRequest(XmlDocument xmlInput)     {         try         {             string outputXml = string.Empty;             outputXml = NativeMethods.JdeXmlRequest(xmlInput, _strServerName, _intServerPort, _intServerTimeout);              XmlDocument outputXmlDoc = new XmlDocument();             outputXmlDoc.LoadXml(outputXml);             return outputXmlDoc;         }         catch (Exception ex)         {             ErrorReporting.SendEmail(ex);             throw;         }     } }  /// <summary> /// This interop class uses pinvoke to call the JDE C++ dll.  It only has one static function. /// </summary> /// <remarks> /// This class calls the xmlinterop.dll which can be found in the B9/system/bin32 directory.   /// Copy the dll to the webservice project's /bin directory before running the project. /// </remarks> internal static class NativeMethods {     [DllImport('xmlinterop.dll',         EntryPoint = '_jdeXMLRequest@20',         CharSet = CharSet.Auto,         ExactSpelling = false,         CallingConvention = CallingConvention.StdCall,         SetLastError = true)]     private static extern IntPtr jdeXMLRequest([MarshalAs(UnmanagedType.LPWStr)] StringBuilder server, UInt16 port, Int32 timeout, [MarshalAs(UnmanagedType.LPStr)] StringBuilder buf, Int32 length);      public static string JdeXmlRequest(XmlDocument xmlInput, string strServerName, UInt16 intPort, Int32 intTimeout)     {         StringBuilder sbServerName = new StringBuilder(strServerName);         StringBuilder sbXML = new StringBuilder();         XmlWriter xWriter = XmlWriter.Create(sbXML);         xmlInput.WriteTo(xWriter);         xWriter.Close();          string result = Marshal.PtrToStringAnsi(jdeXMLRequest(sbServerName, intPort, intTimeout, sbXML, sbXML.Length));          return result;     } } 

    }

    You have to send it messages like the following one:

    <jdeRequest type='callmethod' user='USER' pwd='PWD' environment='ENV'>   <callMethod name='GetEffectiveAddress' app='JdeWebRequest' runOnError='no'>     <params>       <param name='mnAddressNumber'>10000</param>     </params>   </callMethod> </jdeRequest> 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was wondering whether anybody out there is actively using Rhapsody TestConductor ? Or
I was wondering if anybody out there is doing their software builds using something
Im just wondering if theres a recommended syntax validator out there anybody can recommend?
I was wondering if there are any packages available out there to make CSS3
I am wondering if anybody out there could explain or provide online examples (yes,
I'm wondering if anybody has had any experience in trying to install SQL Server
I was wondering if anybody out there had some good tips/dos and don'ts for
Just wondering if anybody has run Scala app or web-app on Java Real-Time system?
I was wondering if anybody had any good sources for a game structure. I
I was wondering if anybody has seen a technique for adding Maven dependencies to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.