on 10-01-2010 2:35 PM
Hi All,
I am trying to access session variable inside transaction as below.
1. Create new XML query
2. Set URL as xMII 11.5 --> http://<Server>/Lighthammer/PropertyAccessServlet?Mode=List and
12.0 --> http://<Server>:50000/XMII/PropertyAccessServlet?mode=Retrieve&PropName=TETSP&Content-Type=text/xml
3. execute query.
This working in xMII 12.0 version but it is not working in xMII 11.5.
It's is throwing following error.
Error Processing XMLQuery Premature end of file
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
-
XML document must have a top level element. Error processing resource 'http://<Server>/Lighthammer/OutputStorageServlet...
Is there any problem with URL setting in 11.5.
Edited by: sachinjadhavar on Oct 1, 2010 3:35 PM
Hi,
to read the session variable in your BLT, I guess it is still the best solution to use the autobind feature which is also available in the [MII 11.5|http://help.sap.com/saphelp_xmii115/helpdata/en/index.htm] (see your last thread).
The XML error may be caused by missing creadentials in the URL call (the login page may be returned). Try to add URL parameters IllumLoginName= and IllumLoginPassword=.
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michael,
Thanks for quick reply.
I tried executing xml query with and without login credentials but still it is trhowing same error.
If i paste URL in explore address bar it gives correct result without login page.
but from Query Templae it throws error --> Error Processing XMLQuery Premature end of file
Also i tried with encoded URL in target
Without passing credentials it is qrking in 12.0 version but not in 11.5
Regards,
Sachin
Hi Michael ,
URL incl. Content type text/xml in the explorer gives correct result in xml format, but when i execute it from Query Template a it gives error.
I tried QT with "...PropertyAccessServlet?Mode=List&Content-Type=text/xml" but it throws same error.
It is working in 12.0 but not in 11.5.
I think some problem with URL.
Let me know if u have any working sample URL.
Please try the following one:
http://<; XMII Server Name>/servlet/PropertyAccessServlet?Mode=List
as described in the [SAP note 94405|https://service.sap.com/sap/support/notes/944005].
Hope this helps.
Michael
User | Count |
---|---|
13 | |
6 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.