Error While trying to Get XML element(tag) Values
We are trying to get XML element (TAG) value from the XML pay load.
Example.
Getting XML String from a web service and then converting into XML payload.
ora:parseEscapedXML(bpws:getVariableData('signOn_Out','signOnReturn'))
From this XML payload we are trying to get an element (Tag) value.
We are getting following error
Error in evaluate <from> expression at line "130". The result is empty for the XPath expression : "/client:TririgaProcessResponse/client:User/client:LastName".
oracle.xml.parser.v2.XMLElement@118dc2a
{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure" has been thrown.
- <selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
- <part name="summary">
<summary>
empty variable/expression result.
xpath variable/expression expression "/client:TririgaProcessResponse/client:User/client:LastName" is empty at line 130, when attempting reading/copying it.
Please make sure the variable/expression result "/client:TririgaProcessResponse/client:User/client:LastName" is not empty.
</summary>
</part>
</selectionFailure>
Here are signOnReturn and XML Payload XSD's
<schema attributeFormDefault="unqualified"
elementFormDefault="qualified"
targetNamespace="http://xmlns.oracle.com/Web1"
xmlns="http://www.w3.org/2001/XMLSchema">
<element name="Web1ProcessRequest">
<complexType>
<sequence>
<element name="userName" type="string"/>
<element name="password" type="string"/>
</sequence>
</complexType>
</element>
<element name="Web1ProcessResponse">
<complexType>
<sequence>
<element name="result" type="string"/>
</sequence>
</complexType>
</element>
</schema>
<?xml version="1.0" encoding="windows-1252" ?>
<schema attributeFormDefault="unqualified"
elementFormDefault="qualified"
targetNamespace="http://xmlns.oracle.com/Web"
xmlns="http://www.w3.org/2001/XMLSchema">
<element name="TProcessResponse">
<complexType>
<sequence>
<element name="result" type="string"/>
<element name="User">
<complexType>
<sequence>
<element name="Id" type="string"/>
<element name="CompanyId" type="string"/>
<element name="SecurityToken" type="string"/>
<element name="FirstName" type="string"/>
<element name="LastName" type="string"/>
</sequence>
</complexType>
</element>
</sequence>
</complexType>
</element>
</schema>
I am sure and can see the data in audit trail.
[2006/12/12 09:17:36]
Updated variable "signOn_Output"
- <signOn_Output>
- <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
- <WebMethodsProcessResponse xmlns="http://xmlns.oracle.com/WebMethods">
<Result xmlns="">
Success
</Result>
- <User xmlns="">
<Id>
2694069
</Id>
<CompanyId>
208133
</CompanyId>
<SecurityToken>
1165936654605
</SecurityToken>
<FirstName>
Jagan
</FirstName>
<LastName>
Rao
</LastName>
</User>
</WebMethodsProcessResponse>
</part>
</signOn_Output>
Copy details to clipboard
[2006/12/12 09:17:36]
Updated variable "tririga"
- <tririga>
- <TririgaProcessResponse xmlns="http://xmlns.oracle.com/WebMethods">
<Result xmlns="">
Success
</Result>
- <User xmlns="">
<Id>
2694069
</Id>
<CompanyId>
208133
</CompanyId>
<SecurityToken>
1165936654605
</SecurityToken>
<FirstName>
Jagan
</FirstName>
<LastName>
Rao
</LastName>
</User>
</TririgaProcessResponse>
</tririga>
Copy details to clipboard
[2006/12/12 09:17:36]
Updated variable "Variable_2"
- <Variable_2>
- <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
- <TririgaProcessResponse xmlns="http://xmlns.oracle.com/WebMethods">
<Result xmlns="">
Success
</Result>
- <User xmlns="">
<Id>
2694069
</Id>
<CompanyId>
208133
</CompanyId>
<SecurityToken>
1165936654605
</SecurityToken>
<FirstName>
Jagan
</FirstName>
<LastName>
Rao
</LastName>
</User>
</TririgaProcessResponse>
</part>
</Variable_2>
Copy details to clipboard
[2006/12/12 09:17:36]
Error in evaluate <from> expression at line "130". The result is empty for the XPath expression : "/client:TririgaProcessResponse/client:User/client:LastName".
oracle.xml.parser.v2.XMLElement@1c8768e
Copy details to clipboard
[2006/12/12 09:17:36]
"{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure" has been thrown.
- <selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
- <part name="summary">
<summary>
empty variable/expression result.
xpath variable/expression expression "/client:TririgaProcessResponse/client:User/client:LastName" is empty at line 130, when attempting reading/copying it.
Please make sure the variable/expression result "/client:TririgaProcessResponse/client:User/client:LastName" is not empty.
</summary>
</part>
</selectionFailure>
Copy details to clipboard
Similar Messages
-
DAV error while trying to modify an element with linked-image
Hi,
When I try to modify my item's image, I get the following error message :
DAV: ORA-00001: violation de contrainte unique (PORTAL.WWDAV$PKPATH) (WWS-18026)
Error in the API : Error while trying to update the element
Anyone could help ?
Thanks for your help,
Best Regards,
JC.AudardWelcome to the forums !
Pl see if MOS Doc 360403.1 (Launcing Discoverer Plus Fails With Error "Oracle.Discoverer.Applications.Framework.Globalexceptionhandler.Execute Null" in Application.log File) is applicable in your case
HTH
Srini -
Getting socket error while trying to get oracle connection using JDBC
hi,
I am getting following socket read error while trying to get database connection using JDBC. This happening with jdk1.5.0_12 version with Oracle 9i
following is the stacktrace...
Thread t@92: (state = IN_NATIVE)
- java.net.SocketInputStream.socketRead0(java.io.FileDescriptor, byte[], int, int, int) @bci=0 (Compiled frame; information may be imprecise)
- java.net.SocketInputStream.read(byte[], int, int) @bci=84, line=129 (Compiled frame)
- oracle.net.ns.Packet.receive() @bci=31 (Compiled frame)
- oracle.net.ns.DataPacket.receive() @bci=1 (Interpreted frame)
- oracle.net.ns.NetInputStream.getNextPacket() @bci=48 (Compiled frame)
- oracle.jdbc.driver.T4CMAREngine.unmarshalSB1() @bci=1, line=1070 (Compiled frame)
- oracle.jdbc.driver.T4CStatement.doOall8(boolean, boolean, boolean, boolean) @bci=617, line=207 (Compiled frame)
- oracle.jdbc.driver.T4CStatement.executeForDescribe() @bci=39, line=790 (Compiled frame)
- oracle.jdbc.driver.OracleStatement.executeMaybeDescribe() @bci=106, line=1039 (Interpreted frame)
- oracle.jdbc.driver.T4CStatement.executeMaybeDescribe() @bci=11, line=830 (Interpreted frame)
- oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout() @bci=128, line=1132 (Interpreted frame)
- oracle.jdbc.driver.OracleStatement.executeQuery(java.lang.String) @bci=76, line=1272 (Interpreted frame)
any help would appreciated. thanks in advanceI do not have exact exception message.
additionally, i have got following the tomcat log file:
INFO - Resource pool cleanup thread just woke up.
Nov 1, 2008 3:41:52 AM org.apache.tomcat.util.threads.ThreadPool logFull
SEVERE: All threads (100) are currently busy, waiting. Increase maxThreads (100) or check the servlet status
INFO - Resource pool cleanup thread just woke up.
thanks in advance -
Http 404 Error while trying to get the plug-in
Hi,
We have installed the Developer server 6i, and everything was working fine with jinitiator 1.1.7.30.
Recently we have installed Patchset 3A on the machine on which Developer Server was installed and downloaded jinitiator 1.1.8.3. When we try to run the test form from the client machines, we are prompted to get the plug-in 1.1.8.3, and when we click on the "Get the Plug-in", it gives us an HTTP Error 404: "404 Not Found. The Web server cannot find the file or script you asked for. Please check the URL to ensure that the path is correct.Please contact the server's administrator if this problem persists."
The URL is http://<server_name>:port/jinitiator/us/jinit_download.htm?application/x-jinit-applet;version=1.1.8.3
I've checked the virtual mapping of jinitiator, it points to <ORACLE_HOME>/jinit.
Is there anything else that we need to do to get the latest plug-in?
Thanks in advance
LVHi
I am also facing the same error while trying to bring REFOBJ (IBase) context node fields in Interaction Record.
Did you get a reply from SAP about this issue? If yes, can you please state the OSS # ?
Thanks in advance
Vishal -
Error while trying to get the IBase in Interaction Record
We are trying to bring the Ibase component in the Interaction Record and Activity, for that in UI configuration we have enabled the
Ibase and Component field. Once the enter the Ibase id and press enter we are getting the following Short dump.
"An error occured during event processing in view BTSHeader.htm1 of &2 &3"
An exception has occurred
CX_CRM_CIC_PARAMETER_ERROR- Entry parameter ES_KEY of method CL_CRM_GENIL_CONTAINER_OBJECT->GET_KEY contains value , which is not allowed
Method: CL_CRM_GENIL_CONT_SIMPLE_OBJ=>IF_GENIL_CONT_SIMPLE_OBJECT~GET_KEY
Source Text
Row:37Hi
I am also facing the same error while trying to bring REFOBJ (IBase) context node fields in Interaction Record.
Did you get a reply from SAP about this issue? If yes, can you please state the OSS # ?
Thanks in advance
Vishal -
Getting Bad request error while trying to get a specific document details from c#.
Hi,
While trying to retrieve a specific document details using RESTful WS API from C#, it is throwing "The remote server returned an error: (400) Bad Request" exception.
the request URL i am using for this is like; "http://<Server>:6405/biprws/raylight/v1/documents/1111"
But it is working fine, if i change my request URL to get the dataproviders of the same document like; "http://<Server>:6405/biprws/raylight/v1/documents/1111/dataproviders"
Please let me know if i am missing any thing in first case, getting the details of a specific document, while sending a request to RESTful SDK.
Thanks,
KalyanI think you are using “Content-Type” header or an “Accept” header.
You should be using “Accept: application/xml” for that request
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center
Canada
Follow us on Twitter -
Error while trying to get F4 help for a field mapped to an info object
Hi,
I am getting the following exception while trying to attach a search help to a drop down list box.The field belongs to a table on the BW server which has an explicit search help attached to it.I am getting the following exception:
An exception occurred. This exception is dealt with in more detail below
. The exception, which is assigned to the class 'CX_BSP_SERVICES_SHLP', was neither
caught nor passed along using a RAISING clause, in the procedure "_ONCREATE" "(METHOD)" . Since the caller of the procedure could not have expected this exception to occur, the running program was terminated. The reason for the exception is: The input help is not suitable.
As I am new to BW server I am unable to find the solution.Please help me out.
Regards
TejaswiniHi Craig,
I was actually not using the f4 help of the
IF_BSP_SERVICES class. Now I want to implement this as I have got many fields on my page. But I am getting the above mentioned error while doing this. The Code in OnInitialization() is:
data: dataref1 type ref to data.
data:wa_r8t_prog type ZR8T_S_API_PROG_H.
get reference of wa_r8t_prog-ZR8CPRGTY into dataref1.
try.
call method runtime->ddic_utils->get_simple_helpvalues
exporting
data_object_ref = dataref1
changing
helpvalue_tab = t_vallist.
catch cx_bsp_services.
endtry.
But I have a search help attached to 'ZR8T_S_API_PROG_H-ZR8CPRGTY' field
My 'ZR8T_S_API_PROG_H' structure definition is as follows:
.INCLUDE ZR8T_REBATE_PROG 0 0 Rebate Program
ZR8CPRGID /BIC/OIZR8CPRGID CHAR 32 0 Rebate Program ID
COMP_CODE /BI0/OICOMP_CODE CHAR 4 0 Company Code
ZR8CPRGTY /BIC/OIZR8CPRGTY CHAR 5 0 Program type
Can I get f4 help from search help exits or do I have to use only value tables?
Regards
Tejaswini
Message was edited by: Tejaswini Das -
Error while trying to get sessionid from webbased webservice
Hi,
I am trying to invoke startSession method of a webbased webserivce and the SOA BPEL process fails with below error.
the input Msg has no variable to be passed, but if I call same method from SOAP UI it returns the session key for that, but same does not work with BPEL invoke operation?
Can anyone help on this issue?
exception on JaxRpc invoke: serialization error: java.lang.ClassCastException: oracle.xml.parser.v2.XMLElementHi,
I am trying to invoke startSession method of a webbased webserivce and the SOA BPEL process fails with below error.
the input Msg has no variable to be passed, but if I call same method from SOAP UI it returns the session key for that, but same does not work with BPEL invoke operation?
Can anyone help on this issue?
exception on JaxRpc invoke: serialization error: java.lang.ClassCastException: oracle.xml.parser.v2.XMLElement -
I keep getting an error while trying to download premier elements
The pop up error says "The file archive part of Adobe Premiere Elements is missing.
Some Windows product downloads include two files: an .exe file and a .7z file. To install the software, it's necessary that both files are downloaded and located in the same folder.
if version 8: http://helpx.adobe.com/premiere-elements/kb/troubleshoot-premiere-elements-8-installation. html -
Getting error while trying to set text for form value field in oaf
Hi ALL,
When i am trying to set text for a form value type field it is giving null pointer exception, please help me out.
I tried below way.
OAFormValueBean containlineid=(OAFormValueBean)webBean.findChildRecursive("item11");
containlineid.setText(pageContext,"test");
ThanksHI Keerthi,
I am able to set and get the value now, i am able to see the data in my log window, but in my page it is erroring out, giving null pointer exception.
after commenting the two lines setting and getting value page is running fine, so any clue on this, please check the below code.
public class XXDPECONTAINLINESCO extends OAControllerImpl
public static final String RCS_ID="$Header$";
public static final boolean RCS_ID_RECORDED =
VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
* Layout and page setup logic for a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
OAApplicationModule am = (OAApplicationModule) pageContext.getApplicationModule(webBean);
OARawTextBean startDIVTagRawBean =
(OARawTextBean) webBean.findChildRecursive("DivStart");
System.out.println("debhorizontal"+ startDIVTagRawBean);
// addScrollBarsToTable(pageContext, webBean,"DivStart", "DivEnd", true , "400",true,"400");
* Procedure to handle form submissions for form elements in
* a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
String preplenish = pageContext.getParameter("item1");
String pworkorder = pageContext.getParameter("item2");
String pdmr = pageContext.getParameter("item4");
String punloading = pageContext.getParameter("item6");
String prrnum=pageContext.getParameter("item16");
String pworknum=pageContext.getParameter("item14");
String pdtr=pageContext.getParameter("item13");
Serializable param[] = {preplenish,pworkorder,pdmr,punloading,prrnum,pworknum,pdtr};
OAApplicationModule am = (OAApplicationModule) pageContext.getApplicationModule(webBean);
if(pageContext.getParameter("item11")!=null)
if(am !=null)
am.invokeMethod("getSearchData",param);
if (pageContext.getParameter("item30") != null) {
String recout = (String)am.invokeMethod("getSelectedData");
System.out.println("deb multi select test"+recout);
System.out.println("1111test1"+pageContext.getParameter("item32"));
OAFormValueBean containlineid=(OAFormValueBean)webBean.findChildRecursive("item32");
System.out.println("1111test2"+pageContext.getParameter("item32"));
//containlineid.setValue(pageContext,recout);
System.out.println("1111"+pageContext.getParameter("item32"));
/// System.out.println("22222"+containlineid.getValue(pageContext));
containlineid.setValue(pageContext,recout);
containlineid.getValue(pageContext);
System.out.println("1111test3"+pageContext.getParameter("item32"));
--------------Error it is giving in the page as----------------
Exception Details.
oracle.apps.fnd.framework.OAException: java.lang.NullPointerException at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source) at _OA._jspService(_OA.java:71) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239) at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595) ## Detail 0 ## java.lang.NullPointerException at xxdpe.oracle.apps.ak.xxdpecontain.webui.XXDPECONTAINLINESCO.processFormRequest(XXDPECONTAINLINESCO.java:123) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.beans.layout.OAMessageComponentLayoutBean.processFormRequest(Unknown Source
Thnaks -
Error while trying to get Property Set Management in 3.2
Hi,
Using WLS 5.1 with sp6 and using WLCS 3.2. When I go into the
Administration Tools Home Page and click on the Property Set Management
I get the following errors. I just installed WLCS 3.2 and I'm trying
to run the Tour by "adding properties within a property set".
Wed Mar 14 09:35:26 MST 2001:<E> <WebAppServletContext-tools> Servlet
failed with Exception
weblogic.servlet.jsp.JspException: (line -1): Error in tag library at:
'wl': For tag 'repeat', cannot load extra info class
'weblogicx.jsp.tags.RepeatTagInfo'
at
weblogic.servlet.jsp.StandardTagLib.jspException(StandardTagLib.java:138)
at
weblogic.servlet.jsp.StandardTagLib.processTag(StandardTagLib.java:201)
at
weblogic.servlet.jsp.StandardTagLib.processTagElements(StandardTagLib.java:146)
at weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:125)
at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:87)
at
weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:3739)
at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:3495)
at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:3356)
at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:1694)
at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1535)
at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1425)
at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:825)
at weblogic.servlet.jsp.JspParser.doit(JspParser.java:69)
at weblogic.servlet.jsp.JspParser.parse(JspParser.java:116)
at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:97)
at
weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:242)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:265)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:180)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:181)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:118)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:154)
at
com.beasys.commerce.foundation.flow.ServletDestinationHandler.handleDestination(ServletDestinationHandler.java:51)
at
com.beasys.commerce.foundation.flow.FlowManager.service(FlowManager.java:448)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:123)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:761)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:708)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:346)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:246)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135)Fixed the problem I didn't have the weblogic-tags-510.jar from WLS 5.1 service pack 6.
Letty Campbell wrote:
Hi,
Using WLS 5.1 with sp6 and using WLCS 3.2. When I go into the
Administration Tools Home Page and click on the Property Set Management
I get the following errors. I just installed WLCS 3.2 and I'm trying
to run the Tour by "adding properties within a property set".
Wed Mar 14 09:35:26 MST 2001:<E> <WebAppServletContext-tools> Servlet
failed with Exception
weblogic.servlet.jsp.JspException: (line -1): Error in tag library at:
'wl': For tag 'repeat', cannot load extra info class
'weblogicx.jsp.tags.RepeatTagInfo'
at
weblogic.servlet.jsp.StandardTagLib.jspException(StandardTagLib.java:138)
at
weblogic.servlet.jsp.StandardTagLib.processTag(StandardTagLib.java:201)
at
weblogic.servlet.jsp.StandardTagLib.processTagElements(StandardTagLib.java:146)
at weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:125)
at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:87)
at
weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:3739)
at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:3495)
at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:3356)
at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:1694)
at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1535)
at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1425)
at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:825)
at weblogic.servlet.jsp.JspParser.doit(JspParser.java:69)
at weblogic.servlet.jsp.JspParser.parse(JspParser.java:116)
at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:97)
at
weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:242)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:265)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:180)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:181)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:118)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:154)
at
com.beasys.commerce.foundation.flow.ServletDestinationHandler.handleDestination(ServletDestinationHandler.java:51)
at
com.beasys.commerce.foundation.flow.FlowManager.service(FlowManager.java:448)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:123)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:761)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:708)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:346)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:246)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135) -
Error while trying to get an HTTP POST response
Hi everyone,
I'm coding a simple client to download some information from a local machine in my LAN.
I have to do this with an http post request.
When i try to parse the http response the program catch an exception, this one:
java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(...)
the parameter is a JSON request, and of course the response is a JSON formatted.
i put the http request code:
import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.ByteArrayOutputStream;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.HttpURLConnection;
import java.net.URL;
public class HttpDownloaderThread extends Thread{
private String url;
private String param;
private HttpDownloadListener listener;
private HttpURLConnection connection=null;
private InputStream is;
private OutputStreamWriter wr;
public HttpDownloaderThread(String _url,String param, HttpDownloadListener _listener){
url = _url;
listener = _listener;
this.param=param;
public void run(){
try{
connection=(HttpURLConnection)new URL(url).openConnection();
connection.setRequestMethod("POST");
connection.setReadTimeout(5000);
connection.setRequestProperty("Content-Type", "application/jsonrequest");
connection.setDoOutput(true);
wr = new OutputStreamWriter(connection.getOutputStream());
wr.write(param, 0, param.length());
wr.flush();
int responseCode=0;
System.out.println();
try{
responseCode= connection.getResponseCode();
}catch(Exception e){
e.printStackTrace();
if (responseCode == HttpURLConnection.HTTP_OK){
is = connection.getInputStream();
BufferedReader rd = new BufferedReader(new InputStreamReader(is));
String line;
while ((line = rd.readLine()) != null) {
System.out.println(line);
closeHttpConnection();
listener.resourceDownloaded(url, null);
else{
closeHttpConnection();
listener.downloadFailed(url, new Exception("Http error: " + Integer.toString(responseCode)));
}catch(Exception e){
e.printStackTrace();
listener.downloadFailed(url, e);
}finally{
public void closeHttpConnection(){
if (is != null){
try{
is.close();
wr.close();
}catch (Exception e){
}finally{
is = null;
wr=null;
if (connection != null){
try{
connection.disconnect();
}catch (Exception e){
}finally{
connection = null;
}there's someone who know's why??
Thanks to everyone :)
Thomas.Hi Vincent,
according to your script,it seems like you are trying to connect to Exchange Online?
If so these as to be installed on your computer:
http://go.microsoft.com/fwlink/?LinkId=286152
http://go.microsoft.com/fwlink/p/?linkid=236297
Reboot and run this command as one line:
Set-ExecutionPolicy RemoteSigned
$LiveCred = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $LiveCred -Authentication Basic -AllowRedirection
$Import = Import-Pssession $Session -AllowClobber
Import-Module MSOnline -verbose
Connect-MSOLservice -Credential $LiveCred
Hope this helped
Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you. Thank you! Off2work -
Getting error while trying to get pending approval list from SOA server
Hi,
I have followed the steps mentioned in the following post to get the pending approval list from SOA server using java api's :
Using Java APIs for Oracle Human Workflows | Oracle Technologies Premier
But when I am running the java program I am getting the following error :
java.io.InvalidClassException: oracle.bpel.services.common.exception.ServicesException; local class incompatible: stream classdesc serialVersionUID = 1, local class serialVersionUID = -2263933888849127134
Please let me know how to solve this issue.
ThanksYou would need to spcify the JNDI path in a properties file or the like.
Suggestions here should help -
javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial -
what do I do? Im lost
For anyone that comes across this. I managed to fix the problem. It had something to do with the date on my computer. Mavericks installer apparently does a date check of some sort and that is where the error is coming from. Open terminal and check the system date. It may be wrong. Another poster in the forums told me how to to check the date and change it. Click here for the link to the explanation. Be careful because the date is in a weird format.
-
Error while trying to modify a Qualified Lookup Value.
Hello,
I have the following structure:
Vendor <-- Main Table
vendorName
vendorType
BankDetails <-- Qualified Table
BankDetails (Table)
Country (non-qualifier value)
bankKeyCode (cualifier value)
Country
code
name
I am trying to modify the BankDetails for a specific Vendor, I am getting a Record from Country table and then create a Link for the QualifiedLookupValue
qualifiedLookupValue = (QualifiedLookupValue) mainRecord.getFieldValue(bankDetailFieldId);
int index = qualifiedLookupValue.createQualifiedLink(countryRecord.getId());
qualifiedLookupValue.setQualifierFieldValue(index, bankKeyFieldId, new LookupValue(bankKeyRecord.getId()));
mainRecord.setFieldValue(bankDetailFieldId, qualifiedLookupValue);
And then I modify the main Record (Vendor).
I am getting the error: com.sap.mdm.commands.CommandException: com.sap.mdm.internal.protocol.manual.ServerException: Server error (0xffaa6000)
What I have found in the forum is that this error is related to "Record Not Found". However, I am actually getting a correct Country from the Country table.
Any Idea?.
Many thanks in advance.
Best Regards,
BaezHi Baez,
You have to create a record with country record id in BankDetails table or get record id if country record id is already existed in BankDetails table and use this record id to create qualified link .
1. get Country record id
2. search in Bankdetails table with Country Record id,
3 . if exist in Bank details table, get record id in Bank details table and pass it to createQualifiedLink()method
or
3. if Country record does not exist in BankDetails table, then create new record in bankdetails table with Country record id, pass record id of new record to createQualifiedLink()method
I hope this helps you......
Cheers,
Veeru
Maybe you are looking for
-
Multiple phone hookup question.
How do I hook up multiple phones to a new digital voice installation?Can i just plug into my old phone system input bus?
-
Duplicating pages in Acrobat X Pro
I downloaded a PDF (employment application) and was filling it in with Acrobat. I duplicated the page titled "Employment History" so I could add more items. I saved the file, but when I reopened it later, found that both "Employment History" pages
-
Ipod nor recognised and curious blinking
Hi ! I have a problem with my new iPod Shuffle. He is no more saw by iTunes, on usb devices, or by my Xbox360. Sometimes a strange unreferenced blinking apears : 2 green and 3 orange, continuously.
-
I need help with applications in Mac OS x not opening
Recently, Applications in OS X haven't been opening correctly, and some browsers arent opening and even crashing. I think it started when I installed DivX, but I uninstalled it and it's still not working. When I try and open an application, I get a n
-
...is Rubbish! crashes everytime. I have to do my save for web in 32bit photoshop. it was flaky on XP 32bit as well but not as consistantly wobbly. Can anyone report whether its better on CS5?