• Introducing Dark Mode! Switch by clicking on the lightbulb icon next to Search or by clicking on Default style at the bottom left of the page!

XML Interoperability UBE Call

Hi All,
Has someone call an UBE via XML Interoperability ever? I more familiarized with call Methods, but I read that an UBE could be consumed via XML Interoperability and now I want to test it.

Thanks for any help,
Carlos.
 

RussellCodlin

Reputable Poster
Yep, there's no dramas using XML Interop to execute the UBEs. Under the covers that's how our solution executes them.

Edit: I will put a disclaimer on this that if you're not on 8.98 tools or later then I'd stay away from it as our experiences on the older tools have been very poor. A lot of bugs in the older tools.
 
Last edited:

johndanter

Legendary Poster
Any guides or tips on how to do this?

As people before me have used BSSVs then a subsystem calling a UBE to launch the UBE from an external driver.
 

rcoxon

Member
Example XmlInterop call to LaunchBatchApplication

Below is a simple example of the Xml that would be used to submit the Print Pick Slip UBE (R42520) Version ZJDE0001 to the DV910 environment:

<jdeRequest pwd="password" type="callmethod" user="User" session="" environment="DV910" sessionidle="">
<callMethod app="DemoUBECall" name="LaunchBatchApplication" runOnError="yes" returnNullData="no">
<params>
<param name="szReport">R42520</param>
<param name="szVersionJDE">ZJDE0001</param>
<param name="cSynch">0</param>
<param name="cPrintPreview">0</param>
<param name="szDataSourceOverride" />
<param name="mnServerJobNumber">0</param>
<param name="cReturn" />
<param name="cJDELogging" />
<param name="cTracing" />
<param name="cUBELoggingLevel" />
<param name="szJobQueue">QBATCH</param>
</params>
</callMethod>
</jdeRequest
 

johndanter

Legendary Poster
Awesome!!! Thanks guys

Is the call synchronous or asynchronous?
Also does anyone know if this kind of approach can also be used for calling BSFNs?
 

RussellCodlin

Reputable Poster
The request that rcoxon put up is a BSFN call to execute the report so yes, you can call pretty much any BSFN or NER using this same format. The alternative method is to use the XML that I linked to in the Oracle documentation. This takes a bit more work but using this you can specify all of the run time values that you want including processing options, data selection, batch queue etc etc. If you want to see what is possible with it have a look at about 8 minutes into this video which shows a front end for configuring an XML driven report submission - https://www.youtube.com/watch?v=GeXpnM6Opf0

As the report is being run on the enterprise server it will always be submitted asynchronously.
 

Abhishek Chhajer

Well Known Member
What all we need to execute this XML interop? I am new to this and want to understand what are the system requirements here?
I see in INI XML dedicated Kernel for the same.

[JDENET_KERNEL_DEF6]
krnlName=CALL OBJECT KERNEL
dispatchDLLName=XMLCallObj.dll
dispatchDLLFunction=_XMLCallObjectDispatch@28
maxNumberOfProcesses=1
numberOfAutoStartProcesses=0
 

ybuffetaud

Active Member
Awesome!!! Thanks guys

Is the call synchronous or asynchronous?
Also does anyone know if this kind of approach can also be used for calling BSFNs?
Yes you can, try searching for tool named jdeXMLBSFN.exe on Google, you'll have the XML request model for your BSFN
 
Top