Bind Proxy Generated Type to Pojos
hi,
I wondered when I generate a web service proxy it creates types (classes) based on the web service WSDL. If I already have classes available can I tell the proxy generation to use the existing classes? Are there examples of this?
Thanks
Stephen
Hi,
I guess you're using JDev to generate the WS Proxy. If yes, then maybe you should ask this question on [JDev forum|http://forums.oracle.com/forums/forum.jspa?forumID=83]. Because AFAIK, JDeveloper did not leverage anything from WLS WebServices to generate the proxy code.
-LJ
Similar Messages
-
Proxy Table type is not generating
Hi Gui's,
I am woking on proxies while creating the proxis in SPROXY transaction proxy table type is not creating which we used in abap programing. what is the issue will you please guide me.
Thanks,
SanthoshHi,
First delete your proxy and recreate it again. Generate proxy from the interface it self.
It will automatically create the proxy of your table type.
I feel it is giving you namespace warning and you are ignoring it. If you are getting this information pop up than solve the namespace problem and than save and activate the proxy.
hope it helps
Regards,
Shradha -
Proxy Table type not Generated
Hi Gui's,
I am woking on proxies while creating the proxis in SPROXY transaction proxy table type is not creating which we used in abap programing. what is the issue will you please guide me.
Thanks,
LakshmiDear Laxmi
For tAble creation in Sproxy you need to provide hirerchy in your SAP PI data type like this
DT_TYPE
row occurence 0: unbunded
dataFields
generally if we omit this row line then table does not gets created
so if you have not given hierarchy as per this please create a node row and provide hierrachy and assign occurence 0: unbounded
If you want you may give different name to this node row
Thanks
sandeep -
Hi,
We have created custom data types which have been used to create proxy generated message types using SPROXY. But now we need to change the size of the field in the data type. Is it necessary to regenerate the proxy to bring in this change?
-TeresaYes ..you need to do the "Change/Regenerate" to get these changes onto the proxy classes...
Thanks. -
Auto generated types and ps1xml formatting files
Hello,
I'm using New-WebServiceProxy to work with a web service... when I call methods of the web service powershell auto generates types, for example, things like "Microsoft.PowerShell.Commands.NewWebserviceProxy.AutogeneratedTypes.WebServiceProxy1_webservices_awebservicepage_asmx.TheMethodReturnObjectType"
1. should I just use that type name in my ps1xml formatting file? I'm wondering if that will be fragile... seems fragile like 'webServiceProxy1' for example, what if there is some scenario it uses '2'? Not sure if I can count on that being consistent?
2. I started creating custom objects and adding my own type name to them so that type name could be used in the ps1xml file. This works fine. However so far it was for web service methods that returned single instance results.. now I hit a point where I'm
calling a web service method that will return a collection... so I'm wondering if it would be better to just use the auto generated type name in the ps1xml or, as I would need to do in this case, actually enter a foreach loop to create a new custom object
for every object in the returned collection? In other words, for the web service methods I've used so far for this, I simply created my custom object and write-output... for the case of the collection, I would be new-object'ing and write-output'ing within
that foreach loop.. wondering about performance issues, or if it's just overkill when I could just put that auto generated type name in the ps1xml file and be done with it...
not sure if I've asked that very clearly...
essentially, I'm wondering if it's overkill (from a resource usage perspective) to be creating these custom objects in the case of when there will be a collection, with potentially hundreds of items, when the only reason I'm doing it is for display purposes...
if it were not an autogenerated type I would simply use the type name in the ps1xml, I'm just not sure if I can do that in this case as I don't know if that typename will *always* be the same?
any input would be appreciated, thanksHi DJC,
I haven't rexperienced this, however, to create a .ps1xml file, these examples may be helpful for you:
Creating a module for powershell with a format file
discutils / utils / DiscUtils.PowerShell / DiscUtils.Format.ps1xml
about_Format.ps1xml
I hope this helps. -
Getting Error while creating the proxy generator in Dot Net Connector 2003
Hi,
While creating the proxy generator in Dot Net Connector 2003 i am getting following error: I am successfully able to login into the SAP system and able to select the SAP tables but during the final step of proxy generator wizard i am getting following error:
<b>----
Error in Proxy-Generator
To create a proxy directly from a SAP system, you must install a Java VM from JavaSoft
Inner error was:
Object reference not set to an instance of an object.
OK
</b>
I have already installed the Java JVM on my machine its version is as follows:
<b>java version "1.3.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)</b>
Regards,
Ravi ShahHi Amit,
I doing good!!!! Thanks for the response.
I uninstalled the earlier version of JVM and installed the latest version of JVM i.e. jre-1_5_0_09-windows-i586-p.
I got the proper entries under registry mentioned below:
<b>Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft]
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in]
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\1.5.0_09]
"JavaHome"="C:
Program Files
Java
jre1.5.0_09"
"UseJava2IExplorer"=dword:00000001
"HideSystemTrayIcon"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment]
"CurrentVersion"="1.5"
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.5]
"JavaHome"="C:
Program Files
Java
jre1.5.0_09"
"RuntimeLib"="C:
Program Files
Java
jre1.5.0_09
bin
client
jvm.dll"
"MicroVersion"="0"
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.5.0_09]
"JavaHome"="C:
Program Files
Java
jre1.5.0_09"
"MicroVersion"="0"
"RuntimeLib"="C:
Program Files
Java
jre1.5.0_09
bin
client
jvm.dll"
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update]
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy]
"Country"="IN"
"PostStatusUrl"="https://sjremetrics.java.com/b/ss//6"
"EnableJavaUpdate"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start]
"CurrentVersion"="1.5.0_09"
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.0.1]
"Home"="C:
Program Files
Java
jre1.5.0_09
bin"
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.0.1_02]
"Home"="C:
Program Files
Java
jre1.5.0_09
bin"
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.0.1_03]
"Home"="C:
Program Files
Java
jre1.5.0_09
bin"
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.0.1_04]
"Home"="C:
Program Files
Java
jre1.5.0_09
bin"
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.0.1_05]
"Home"="C:
Program Files
Java Web Start"
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.2]
"Home"="C:
Program Files
Java
jre1.5.0_09
bin"
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.2.0_01]
"Home"="C:
Program Files
Java
jre1.5.0_09
bin"
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.2.0_02]
"Home"="C:
Program Files
Java Web Start"
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.5.0_09]
"Home"="C:
Program Files
Java
jre1.5.0_09
bin"</b>
After installation I opened the Dot Net connector proxy client wizard . I followed the series of step during Dot Net connector configuration:
1. selected the SAP connector.
2. The next screen 'Enter Logon Information' comes where i entered the following information System as 'custom', host='IP address', Id='00' but by default it turns to '0' , client='800', user='user id' and password ='password'.
3. After clicking on Next button i am successfully logon into the SAP system.
4. The next screen in the wizard is 'selectall the remote function modules that you want to be part of your proxy object'. After selecting the SAP tables and clicked on Next button I am getting following error
<b>
Error in Proxy-Generator
To create a proxy directly from a SAP system, you must install a Java VM from JavaSoft
Inner error was:
INFO: using logging implementation "AII Logging"
Exception in thread "main" com.sap.aii.upload.api.LoginException$WrongPassword: Invalid user/password combination
at com.sap.aii.upload.sap.SAPConnection.connect(SAPConnection.java:94)
at com.sap.aii.upload.sap.SAPConnection.<init>(SAPConnection.java:38)
at com.sap.aii.upload.tool.RFC2WSDLTool.getWSDLforRFCs(RFC2WSDLTool.java:81)
at com.sap.aii.upload.tool.RFC2WSDLTool.main(RFC2WSDLTool.java:196)
OK
</b>
Thanks and Regards,
Ravi Shah -
Multi-part input message problem in webservice Proxy generator
While generating a java proxy for an Oracle Access Manager Identity XML operation I get the following.
Generating proxy
WARNING: ignoring operation "OblixIDXML_um_modifyUser": input message with multiparts is not WS-I compliant and is not currently supported
Proxy generation finished
See wsdl (document\litteral) fragment:
<message name="OblixIDXMLInput">
<part name="authentication" element="oblix:authentication"/>
<part name="request" element="oblixxmllocalschema:request"/>
</message>
It is poosibel to generate the Proxy when the authentication part is removed from the message.
My question: Are there work arounds for generating a client with Jdev (10.1.3) that can be deployed on SOA suite 10.1.3 (this service call is part of a composite service).
For instance calling proxy generator from command line like a wsdl2java (Axis like) or editing some (generated) source code files after generating the service with one part removed.
Regards,
BertWhile generating a java proxy for an Oracle Access Manager Identity XML operation I get the following.
Generating proxy
WARNING: ignoring operation "OblixIDXML_um_modifyUser": input message with multiparts is not WS-I compliant and is not currently supported
Proxy generation finished
See wsdl (document\litteral) fragment:
<message name="OblixIDXMLInput">
<part name="authentication" element="oblix:authentication"/>
<part name="request" element="oblixxmllocalschema:request"/>
</message>
It is poosibel to generate the Proxy when the authentication part is removed from the message.
My question: Are there work arounds for generating a client with Jdev (10.1.3) that can be deployed on SOA suite 10.1.3 (this service call is part of a composite service).
For instance calling proxy generator from command line like a wsdl2java (Axis like) or editing some (generated) source code files after generating the service with one part removed.
Regards,
Bert -
Flex Builder 3 - Web Service Proxy Generator
Hi guys,
I am investigating the web service proxy generator that is part of FB3. I can't seem to get it working properly and wondered if anyone else has managed to succeed.
I am using WSDL files that are generated from RFC-enabled function modules using the web service browser on a WAS ABAP.
I have chosen two quite simple function modules. RFC_SYSTEM_INFO and BAPI_USER_GETLIST.
The WSDL files are retrieved from the URLs /sap/bc/soap/wsdl11?services=RFC_SYSTEM_INFO and /sap/bc/soap/wsdl11?services=BAPI_USER_GETLIST on my server.
I am following the Adobe documentation at http://livedocs.adobe.com/flex/3/html/help.html?content=data_4.html#151327
Anyway, I generate the proxies and then try to use them.
First I call the RFC_SYSTEM_INFO web service like this...
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:ws="au.com.yelcho.*">
<ws:RFC_SYSTEM_INFOService id="myWebService" />
<mx:Button label="Call Web Service" labelPlacement="top" click="myWebService.rFC_SYSTEM_INFO_send()" x="97" y="10"/>
<mx:Label x="60" y="43" text="Current Resources"/>
<mx:Text id="txNameOutput1" text="{myWebService.rFC_SYSTEM_INFO_lastResult.CURRENT_RESOURCES}" x="185" y="43"/>
<mx:Label x="54" y="69" text="Maximal Resources"/>
<mx:Text id="txNameOutput" text="{myWebService.rFC_SYSTEM_INFO_lastResult.MAXIMAL_RESOURCES}" x="185" y="69"/>
<mx:Label x="105" y="95" text="RFC HOST"/>
<mx:Text id="txNameOutput2" text="{myWebService.rFC_SYSTEM_INFO_lastResult.RFCSI_EXPORT.RFCHOST}" x="185" y="95"/>
</mx:Application>
At first glance this seems to work, but on closer inspection it turns out that not all the returned XML payload has been extracted properly.
Attributes at the top level, like CURRENT_RESOURCES work fine. Attributes at a lower level, like RFCSI_EXPORT.RFCHOST are empty.
It is even more difficult when I try and call the BAPI_USER_GETLIST service because it requires input parameters. Testing with XMLSpy I found that I need to pass the MAX_ROWS and USERLIST parameters to get the SOAP call to work.
I have been unable to figure out how to pass these parameters so that the web service call takes place properly. I have tried using both the MXML and ActionScript methods.
It is entirely probably that, as I haven't played with Flex for some months, I have forgotten some vital piece of information on how to do this.
Any help would be appreciated.
Cheers
Graham RobboHi Raja,
thanks for your ongoing help with this, but you have confused me again - notr a hard this to do.
When I generate the proxies from BAPI_USER_GETLIST I get the following .as files created..
BAPIRET2.as
BAPIUSNAME.as
BAPIUSSEXP.as
BAPIUSSRGE.as
BAPI_USER_GETLISTResultEvent.as
BAPI_USER_GETLISTService.as
BAPI_USER_GETLIST_request.as
BaseBAPI_USER_GETLISTService.as
BaseBAPI_USER_GETLISTServiceSchema.as
FIELD_type0.as
FIELD_type1.as
FIELD_type2.as
FIELD_type3.as
FIELD_type4.as
FIELD_type5.as
FIRSTNAME_type0.as
FIRSTNAME_type1.as
FULLNAME_type0.as
FULLNAME_type1.as
HIGH_type0.as
HIGH_type1.as
HIGH_type2.as
HIGH_type3.as
IBAPI_USER_GETLISTService.as
ID_type0.as
ID_type1.as
LASTNAME_type0.as
LASTNAME_type1.as
LOGOP_type0.as
LOGOP_type1.as
LOG_MSG_NO_type0.as
LOG_MSG_NO_type1.as
LOG_NO_type0.as
LOG_NO_type1.as
LOW_type0.as
LOW_type1.as
LOW_type2.as
LOW_type3.as
MESSAGE_type0.as
MESSAGE_type1.as
MESSAGE_V1_type0.as
MESSAGE_V1_type1.as
MESSAGE_V2_type0.as
MESSAGE_V2_type1.as
MESSAGE_V3_type0.as
MESSAGE_V3_type1.as
MESSAGE_V4_type0.as
MESSAGE_V4_type1.as
NUMBER_type0.as
NUMBER_type1.as
OPTION_type0.as
OPTION_type1.as
OPTION_type2.as
OPTION_type3.as
PARAMETER_type0.as
PARAMETER_type1.as
PARAMETER_type2.as
PARAMETER_type3.as
PARAMETER_type4.as
PARAMETER_type5.as
RETURN_type0.as
RETURN_type1.as
SELECTION_EXP_type0.as
SELECTION_EXP_type1.as
SELECTION_RANGE_type0.as
SELECTION_RANGE_type1.as
SIGN_type0.as
SIGN_type1.as
SYSTEM_type0.as
SYSTEM_type1.as
TYPE_type0.as
TYPE_type1.as
USERLIST_type0.as
USERLIST_type1.as
USERNAME_type0.as
USERNAME_type1.as
WITH_USERNAME_type0.as
WITH_USERNAME_type1.as
So my question is where do the datatypes...
TABLE_OF_BAPIRET2;
TABLE_OF_BAPIUSSEXP;
TABLE_OF_BAPIUSSRGE;
TABLE_OF_BAPIUSNAME;
TABLE_OF_BAPIUSNAME;
...come from?
Is your proxy generator creating something mine isn't or did you create these yoursefl?
Cheers
Graham Robbo -
JCo Proxy Generator - not getting past Logon step in Wizard
I'm running the 2.0.11 version of the SAP NetWeaver Developer Studio and want to try out the JCo Proxy Generator.
I can start the wizard and enter the connection details for a "Single System". But when I click next all I see is a progress bar before it disappears leaving me on the logon step of the wizard.
Has anyone else experienced and solved this?
All help much appreciated.
Chris.I downgraded to version 2.0.9 of JDT. The JCo Proxy Generator works in that release.
Regards,
Chris. -
Hi
I am enable to connect to SAP using SAP Connector.in VS2003.it is through an error
Error in Proxy-Generator
To create a proxy directly from a SAP system, you must install a Java VM from JavaSoft
Inner error was:
INFO: using logging implementation "AII Logging"
com.sap.aii.upload.api.LoginException: Invalid user/password combination
at com.sap.aii.upload.sap.SAPConnection.connect(SAPConnection.java:113)
at com.sap.aii.upload.sap.SAPConnection.<init>(SAPConnection.java:59)
at com.sap.aii.upload.tool.RFC2WSDLTool.getWSDLforRFCs(RFC2WSDLTool.java:63)
at com.sap.aii.upload.tool.RFC2WSDLTool.main(RFC2WSDLTool.java:178)
Exception in thread "main"
How do i fix the problem?
ThanxI had the same trouble with that version of Connector why don't you try to work with 2.0.1 i were allowed to connect to our SAP environment.
-
Are there any libraries can be used to generate Type 1 font postscript file
I am trying to create a Type 1 font postscript file. But I found it is hard to find the library to generate the Type 1 font postscript file. I just found a library named iText which can create the Type 1 font PDF file.
Are there any libraries can be used to generate Type 1 font postscript file?
Thanks!I don't see much benefit with the current ODI adaptors for planning if it is an EPMA type planning application.
They have been specifically designed to work with classic planning applications.
It certainly is possible to load into EPMA interface tables using ODI though there are no direct adaptors and it takes quite a bit of effect to get them into the correct format.
Cheers
John
http://john-goodwin.blogspot.com/ -
An Exception thrown "Unable to cast transparent proxy to type " when running on Azure emulator
Hello, When i run my solution on azure emulator this exception thrown:
System.InvalidCastException was unhandled
HResult=-2147467262
Message=Unable to cast transparent proxy to type 'Microsoft.WindowsAzure.ServiceRuntime.Implementation.Loader.RoleRuntimeBridge'.
Source=WaWorkerHost
StackTrace:
at Microsoft.WindowsAzure.Hosts.Worker.Loader.CreateConsoleRole(Parameters parameters)
at Microsoft.WindowsAzure.Hosts.Worker.Loader.Main(String[] args)
InnerException:
Any help?We are having the same issue - our worker role just recycles with this "Unable to cast transparent proxy to type 'Microsoft.WindowsAzure.ServiceRuntime.Implementation.Loader.RoleRuntimeBridge'." error.
We can't really put a breakpoint in CreateConsoleRole and Main - that's Microsoft code from the Azure SDK.
Not sure why this was marked as answered. -
Add web service proxy generator
Hi, when I try to add a web service the proxy generator dropdown menu shows the text "Edit proxy generator list". When I click on it it displays several proxy generators including .net vb, the one I want. When I click done it returnes to the previous list box but does not list any choices. As suggested in another forum I reloaded Dreamweaver, but this did not help. Any ideas?
Thanks, TomHi Tom,
I' needed to create a proxy for a web service some days ago too. First think you should know is that web services support for .NET in DW CS4 has been removed. Now there's only web services components for ColdFusion.
Anyway I will explain how I created mine...
I tryed to create the proxy with DW CS3. First think I've noticed is that it ask to install Microsoft .NET Framework SDK.
After installing last version of the .NET SDK I've noticed that DW CS3 doesn't recognized it. What finally did was to look at the edit proxy generator list, there you can see the commands used to create the proxy:
wsdl /l:VB $$WSDLFILE
vbc /t:library /r:System.dll,System.Data.dll,System.Web.Services.dll,System.XML.dll *.vb
The first one creates the proxy source, the second compiles it into a DLL.
I've just opened the DSK command prompt and used this commands manually. This way I finally got the proxy DLL compiled.
It's my first time trying to consume a web service with .NET and it's really hard and confusing to do all this stuff. Now I'm stucked with my proxy DLL, but I can import it in my .NET code.
If you can solve the next step I would be pleased to know.
Regards! -
Unsupported generator type: SEQUENCE
Is the primary key generation strategy "SEQUENCE" supported? I have an entity, based on a table in Oracle database, whose primary key is generated by a sequence in Oracle database. When I deploy the entity I get the following error...
ORPersistence Model Builder: Exception occurred: com.sap.engine.services.orpersistence.model.ormappingmodel.ORMException: Unsupported generator type: SEQUENCE at com.sap.engine.services.orpersistence.model.ormappingmodel.impl.ORMappingModelCreatorImpl.parseId(ORMappingModelCreatorImpl.java:2347), file: EntityTest.jar, column 0, line 0, severity: errorHi Christopher,
The generation types SEQUENCE and IDENTITY are currently not supported by the JPA implementation in this release. You can however use the TABLE and AUTO generation types. In the case of AUTO you have to provide a table TMP_SEQUENCE created like this:
CREATE TABLE "TMP_SEQUENCE"
"GEN_KEY" VARCHAR(256) UNICODE NOT NULL,
"GEN_VALUE" INTEGER,
PRIMARY KEY ("GEN_KEY")
HTH!
-Vladimir -
Greetings,
Our company utilizes Vovici survey solutions. I am attempting
to integrate the reporting using their API into out KM analytics
reporting dashboard. I can connect using the CFMX proxy generator,
but I could not pull data back. I contacted them and this was the
response from one of their developers...
quote:
You need to ensure that the CookieContainer property of the
proxy class you're using to call the web service has been set to a
valid CookieContainer object. This is how the EFM Community web
service API maintains state between method invocations. If this
property isn't set, you'll be able to login but the very next
function you attempt to call will result in an "Invalid Access"
exception because--as far as EFM Community is concerned--you
haven't logged in.
Here's how this is done in C#:
using System;using System.Collections.Generic;using
System.Net;namespace exampleapp{ class Program { static void
Main(string[] args) { ProjectData projectData = new ProjectData();
projectData.CookieContainer = new CookieContainer();
projectData.Login("myuserid", "mypassword"); ...
I am not a C# developer and our site is done in CF anyway.
Does anyone know how to accomplish this? I could not find anything
in any of the documentation beyond the basics.
Thanks,
~ClayHere is the code you asked for...
<cfinvoke
webservice="
http://efm.activant.com/ws/projectdata.asmx?wsdl"
method="login"
returnvariable="aString">
<cfinvokeargument name="userName" value="Yada"/>
<cfinvokeargument name="password" value="Yada"/>
</cfinvoke>
<cfinvoke
webservice="
http://efm.activant.com/ws/projectdata.asmx?wsdl"
method="getSurveyList"
returnvariable="a_GetSurveyListResponse_GetSurveyListResult">
<cfinvokeargument name="sharingType" value="0"/>
</cfinvoke>
Survey List -
<cfoutput>#a_GetSurveyListResponse_GetSurveyListResult#</cfoutput>
Maybe you are looking for
-
In need of a client for Microsoft Remote Desktop (Terminal Services)
Hi, I've got an old iMac which would be ideal to act as a "dumb terminal" for connecting to my employer's Microsoft Terminal Server. Is there any software for Mac OS 9.2.2 that will allow me to do this? I've got no other option like VNC because the c
-
has anyone found a way to do this?
-
when you guys sent 6.0 firefox and it updated on my computer. you automatically caused my computer to go back to 64 -bit .. I have XP 64 Windows and yet I ran everything in 32 bit.. I had to open Internet Explorer to watch Netflix.. I prefer FireFox
-
Can't open .wmv file type
HELP! I can't seem to open email attachments from friends when they're a .wmv. I've tried the drag into an open Safari window - no worky. I've downloaded the free version of FLIP4MAC - no worky. Have not downloaded Windows Media Player 9 for Mac yet
-
Hello, I would like my laptop to suspend when the lid closes. This is the default action of logind.conf from what I understand yet strangely it doesn't happen(instead the screen switches off). I have read dozens of posts about related problems, but n