cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Programmatic transaction call returning XMLQuery result

Former Member
0 Likes
190

Hello,

i am using a business logic transaction in SAP MII 12.0 SP6 to read XML files from our MII server. The transaction is called from a remote java application.

The transaction works fine in the workbench. If called programmatically however, the XMLQuery Action Block always returns 'Premature end of file', no matter which XML file i try to read. I tried both providing login parameters in the XML request data (<LoginName> and <LoginPassowrd> tags) as well as URL parameters (j_user and j_password paramteres).

Is it possible that programmatic logins are not allowed to access data in the web://... area? The authentication works fine since the transaction is executed.

Any advice is apreaciated.

Kind regards,

Hakan

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Hi,

have you tried below parameters in place of j_user/j_password with your xml query

IllumLoginName & IllumLoginPassword

hope it helps!!

Regards,

Manoj Bilthare

Former Member
0 Likes

I did try them, however with those, the transaction is not executed at all. If i am not mistaken, the IllumXXX parameters were deprecated at some major MII Version change.

Hakan