EJB Errors When Calling SOAP Adapter
<b>Scenario</b> We are using XML Spy to call a Message Interface exposed through a SOAP Communications Channel. That is, an outbound adapter. We are running XI Version 3.0, SP9 with patches.
<b>The location is our URL is</b>
<soap:address location="http://sapxidev:50000/XISOAPAdapter/MessageServlet?channel=:Taxpayer:Sender_SOAP&version=3.0&Sender.Service=Taxpayer&Interface=urn%3Ador.state.fl.us%5ESUTARC_Verification_Sync_Out_MI" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
The respone is <b>com.sap.aii.af.mp.module.ModuleException</b>
The server logs indicate three relevant error messages:
<b>Message 1</b>
Failed to set up the adapter for channel c67c0ccb7f583d7693678bb1288644ff;
caused by java.lang.Exception: Bubble configuration error: parameter 'XI.InterfaceNamespace' is missing
<b>Message 2</b>
the required parameter XI.InterfaceNamespace is missing
<b>Message 3</b>
Path to object does not exist at localejbs, the whole lookup name is ejbContexts/sap.com/com.sap.aii.af.app/ModuleProcessorBean/localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean.
Any ideas?
Thanks in advance!
HI Paul,
did you put a default namespace and interface name in the SOAP Adapter config of the communication channel in the IB?
It is under the Default XI Parameter in the SOAP Adapter.
That should solve this problem, don´t ask me why it says Default if is is mandatory.
Cheers
Stefan
Similar Messages
-
Error when calling SOAP Runtime functions
Hi Guys,
I have a requirement in which i have to consume a webservice and get a response from it but when i consumed the web service and tried to test it i got the below error please let me know solution for this as it is very urgent and also i am very new to web services stuff
Error when calling SOAP Runtime functions: SRT: Processing error in Internet Communication Framework: ("ICF Error when receiving the response: ICM_HTTP_CONNECTION_FAILED")
Thanks
shivrajHi,
Have a look at this blog from Michal Krawczyk to find a solution:
The specified item was not found.
Hope this helps,
Grzegorz -
Error when calling SOAP Runtime functions - Please help!
Hi,
Very new to SAP. I just installed SAPNW7.0ABAPTrialSP12 (sandbox server, with default options) and setup the
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/db/7c623cf568896be10000000a11405a/content.htm">Flight Data</a>.
I wanted to invoke some of the Flight Data functions through SOAP. So I invoked the following URL:
http://localhost:8000/sap/bc/srt/rfc/sap/BAPI_FLIGHT_GETDETAIL?sap-client=000&wsdl=1.1
I get the following error:
The following error text was processed in the system NSP : Error when calling SOAP Runtime functions
The error occurred on the application server hs_NSP_00 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: HANDLE_REQUEST of program CL_SOAP_TRANSPORT_EXTENSN_ROOTCP
Method: HANDLE_REQUEST of program CL_SOAP_HTTP_EXTENSION========CP
Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_SOAP_HTTP_EXTENSION========CP
Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
Module: %_HTTP_START of program SAPMHTTP
FROM Runtime Error Log:
Runtime Errors UNCAUGHT_EXCEPTION
Exception CX_SOAP_CORE
Termination occurred in the ABAP program "CL_SOAP_TRANSPORT_EXTENSN_ROOTCP" -
in "HANDLE_REQUEST".
The main program was "SAPMHTTP ".
In the source code you have the termination point in line 37
of the (Include) program "CL_SOAP_TRANSPORT_EXTENSN_ROOTCM004".
Does anyone have any ideas on what is going on? Thanks in advance.Hi,
Have a look at this blog from Michal Krawczyk to find a solution:
The specified item was not found.
Hope this helps,
Grzegorz -
PI 7.0: Error when calling an adapter by using communication channel
Hello Experts,
We have a mapping scenario for ERP -> PI -> web service. Few details from ERP will be sent via PI to Web service.
Once the web service authenticates, token and sign will be generated. Here an RFC adapter is used for configuring the RFC receiver communication channel and provided the ERP system logon details at the RFC client parameter.
An error is received as mentioned below.
Error while lookup Exception during processing the payload.Problem when calling an adapter by using communication channel CC_Rcvr_RFC_Lookup_TokenSign (Party: , Service: BS_QV6_700, Object ID: 54e904ebf3d7382a84a0f83cd292b810)
XI AF API call failed. Module exception: 'error while processing the request to rfc-client: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was <null>'. com.sap.aii.mapping.lookup.LookupException
The logon details in RFC parameter are corrected. Re-activated the the communication channel and refreshed the cache.
But still the error is not resolved.Please let me know if there is anything else i need to check.
Thanks in advance.
Regards,
SriHello,
You could also check note 730870 FAQ XI 3.0/ PI 7.0/ PI 7.1 RFC Adapter
Q 16:
While sending a message to the RfcAdapter the error "...functiontemplate from repository was <null>" is shown. Which reasons are possible?
Regards,
Sarah -
ClassCastException when calling SOAP adapter
Hello,
I created a Web service interface to an ABAP RFC
via XI and a corresponding communication channel
(SOAP/HTTP to a specific message interface with data
types, message types, mappings etc. defined in the
integration repository). Sending SOAP messages
and receiving the correct replies works fine.
However, when I transport the relevant objects
from our test system to the consolidation system
by exporting and then importing via the file system
(all objects of the software component in the integration
repository, all objects of the communication scenario
in the integration directory), the
ClassCastException given below is returned
when sending the same SOAP messages
to the consolidation system. Other SOAP interfaces
work, but the one I imported does not.
Unfortunately, the request neither shows up in
the XmlMonitor nor in MessageMonitoring in the
Runtime workbench, so I do not get a further
indication what actually went wrong.
Questions:
- Has anyone had a similar problem or the same
error message? If so, what was the cause?
- Does anyone (maybe from SAP) know what exactly
happens in the mentioned code line where the
exception is thrown?
- Where could I look to find further information
about the error?
System information:
- SAP BASE 6.40, XI 3.0 with Service Pack 15
Thanks + Cheers,
Guido
<?xml version='1.0'?>
<!-- see the documentation -->
<SOAP:Envelope xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/'>
<SOAP:Body>
<SOAP:Fault>
<faultcode>SOAP:Server</faultcode>
<faultstring>Server Error</faultstring>
<detail>
<s:SystemError xmlns:s='http://sap.com/xi/WebService/xi2.0'>
<context>XIAdapter</context>
<code>ClassCastException</code>
<text><![CDATA[
java.lang.ClassCastException
at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:227)
at com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0.process(ModuleProcessorLocalLocalObjectImpl0.java:103)
at com.sap.aii.af.mp.soap.web.MessageServlet.callModuleProcessor(MessageServlet.java:159)
at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:383)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)
]]></text>
</s:SystemError>
</detail>
</SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>Hi,
looking to the stack trace provided by i found this
>>at java.security.AccessController.doPrivileged(Native >>Method)
this means that you have defined assigned users for the business service in configuration directory.
Make sure the client is making the webservice call using that specific user.
cheers,
naveen -
Error when calling JDBC Adapter parallel
Hello,
we have several interfaces which consume data from an AS400 machine via JDBC Adapter.
Interfaces were running for several months without any problem. Now we get the following error message when few interfaces try to deliver data at the same time:
com.sap.aii.af.ra.ms.api.DeliveryException: Channel has reached maximum concurrency (5,000 concurrent messages) and no free resource found within 5,000 milliseconds; increase the maximum concurrency level
Unfortunatly we didn't find any hints what could cause the appearence of this Error.
Can anyone help me?
Thanks
CarstenHi,
By default Maximum Concurrency = 1 in communication channel. Which will open one connection with the Database. Since your data volume and call is large so if you define it more then 1 then it will open multiple connection for you and your transaction rate will be faster.
1. Maximum Concurrency = 1
This is the default value of Maximum Concurrency. This means a single receiver JDBC channel can acquire only one DB connection.
This case does not offer any parallel processing of messaging by single channel.
2. Maximum Concurrency > 1
This ensures that resource pool size(DB conneciton size) is limited to specified value per single JDBC receiver channel. For instance, setting this parameter to 2 will ensure that a single receiver JDBC channel can acquire 2 DB connections in parallel(if needed).
And also:
if You are Using PI 7.0 SP 12, You can set the maximum concurrency level for Receiver File & JDBC Adapter.
By Default Maximum Concurrency level=1.
Procedure to change:
Go to Receiver Comm Chann of File/JDBC adapter.
Goto Processing Parameters and then check Max Concurrency level
Plz do refer the following docs:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4042611d-04e5-2910-bd9d-f97627b1c164
check this doc
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70ada5ef-0201-0010-1f8b-c935e444b0ad
"Reward points if found useful"
Regards,
Vinod. -
Question: Application error when using SOAP sender
Hi,
I got the following error when calling SOAP sender:
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>Application</SAP:Category>
<SAP:Code area="UNKNOWN">APPLICATION_ERROR</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>application fault</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="http://xml.apache.org/axis/">hostname</SAP:ApplicationFaultMessage>
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
The return message is:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
<ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">gdcn-admin</ns2:hostname>
From the runtime monitor, it shows:
SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault
Actually I maintained the host name in file hosts. And with XMLSpy, I can directly connect the Webservice successfully, but with XI, it stops me at this point. It seems the connection has been established, because if the WebService is stopped, I will get error HTTP 0 Null, If it's started, I get the above problem.
Could you please provide the hints.
Thanks a lot!
Best Regards
YuedongHi,
I found the problem:
It's because of the wrong format of message. the message is created with a WSDL file generated by external development system, but it's not correctly explained by XI. I manually created the messge (request & response), then it worked.
Actually the error has nothing to do with hostname. it means the host returns application error (but unfortunately there is no detailed information).
Thanks a lot for your kindly help!
Best Regards
Yuedong
By the way, how can I reward the point?
Message was edited by: Yuedong Chen -
Error when call RFC Function module in R/3
Dear All,
We are trying to call RFC function module CBIF_GLM1_PROCESS_ORDER_READ (This is not a BAPI and also not released ) in R/3 from XI system.
we are facing the error "Error while lookup Exception during processing the payload. Error when calling an adapter by using the communication channel CC_PPPI_MES_RFC_Rcvr (Party: , Service: WCD_320, Object ID: 16563889b449328eac76caa6a3bc592e) XI AF API call failed. Module exception: 'error while processing the request to rfc-client: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: failed to parse BAPI response due to: com.sap.aii.adapter.rfc.util.bapi.BapiException: Parameter with name RETURN not found.'. Cause Exception: 'com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: failed to parse BAPI response due to: com.sap.aii.adapter.rfc.util.bapi.BapiException: Parameter with name RETURN not found.'."
This is the first time we are doing this configuration.
Could you please let me know what woulbe the reason.read the original message
We are trying to call RFC function module CBIF_GLM1_PROCESS_ORDER_READ (This is not a BAPI and also not released ) in R/3 from XI system.
I am talking about the above Receiver RFC channel which you guys are using to call R/3 from XI. That where you need to change the commit parameter -
System error while calling webservice adapter
Hello Experts
I am configuring a synchronous proxy to webservice scenario.I have created a webservice from a custom function module. while executing the interface i am getting the following error in the sxmb_moni.
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="INTERNAL">WS_ADAPTER_SYS_ERROR</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:Stack>System error while calling Web service adapter: Error when initializing SOAP client application: 'error_text'</SAP:Stack>
<SAP:Retry>N</SAP:Retry>
</SAP:Error>ya I have checked the wsdl and even called the wsdl using Altova XmlSpy and getting back the response.Could anyone please throw light on this.
thanks
sabyasachi -
Error when calling a Webservice's public method in Forms10g
Hi,
I'm getting the following error when calling a webservice's public method, i'm using Forms10g 10.1.2.3
java.rmi.RemoteException; nested exception is: HTTP transport error javax.xml.soap.SOAPException
java.security.PrivilegedActionException javax.xml.soap.SOAPException
Message send failed javax.net.ssl.SSLException SSL handshake failed X509CertChI have added the Jar containing the client proxy in both Classpaths(system variable and default.env), the jar has been made with jdk 1.4
I also have tested the client proxy from jDeveloper and it's working there, but in Forms i'm getting this error.
I guess my problem might be that i'm calling a webservice that is secured since the url starts with https
what should i do to fix this ??
Regards
CarlosI understand, so i have a doubt, why the webservice works on jDeveloper ??Not just JDeveloper even soapUI and Neatbeans have a way of working without a client certificate installed.
I do not know how they achieve it. I know that they work without a client DC.
Cheers,
PS: See this http://stackoverflow.com/questions/8887434/webservices-ssl-https, it offers a clue.
The java programs run unhindered when one-way authentication is being used. These products ship with a digital certificate that is in the path of most popular CAs.
Corollary, if the Web Server is configured for mutual authentication then you need to install and configure the client certificate in the tools.
Edited by: Prabodh on Dec 5, 2012 8:36 PM -
Exception when calling SOAP Lookup-API async
Hello,
i'm calling a SOAP-Comunication Channel (Lookup-API) out of my MessageMapping. The WebService Called is <u>asynchron</u> because i just send some data and i don't care about the result. The WebService itselfs is implemented on our XI. In other words: we call us self.
In order to call my WebService asynchronous, i added <i>&QualityOfService=ExactlyOnce</i> at the end of the URL. The SOAP-Action is:
<i>http://sap.com/xi/WebService/soap1.1</i>
The problem is: the WebService works perfekt! But: in my mapping i get
nevertheless the following exception:
Errorcom.sap.aii.mapping.lookup.LookupException: Exception during processing the payload.Problem when calling an adapter by using communication channel SOAP_Receiver_SetIdocStatusAsync (Party: , Service: SetIdocStatus, Object ID: f6b1ce38e9fa332cba4eb1a6f0a3e17f) null com.sap.aii.mapping.lookup.LookupException: Problem when calling an adapter by using communication channel SOAP_Receiver_SetIdocStatusAsync (Party: , Service: SetIdocStatus, Object ID: f6b1ce38e9fa332cba4eb1a6f0a3e17f) null at com.sap.aii.ibrun.server.lookup.AdapterProxyLocal.process(AdapterProxyLocal.java:96) at com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.call(SystemAccessorInternal.java:47) at com.sap.aii.ibrun.server.lookup.SystemAccessorHmiServer.process(SystemAccessorHmiServer.java:141) at com.sap.aii.ibrun.server.lookup.SystemAccessorHmiServer.process(SystemAccessorHmiServer.java:74) at com.sap.aii.utilxi.hmis.server.HmisServiceImpl.invokeMethod(HmisServiceImpl.java:169) at com.sap.aii.utilxi.hmis.server.HmisServer.process(HmisServer.java:178) at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:296) at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:211) at com.sap.aii.utilxi.hmis.web.workers.HmisInternalClient.doWork(HmisInternalClient.java:70) at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doWork(HmisServletImpl.java:496) at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doPost(HmisServletImpl.java:634) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) Root Cause: com.sap.aii.af.service.api.AFException at com.sap.aii.af.service.api.AdapterAccess.call(AdapterAccess.java:122) at com.sap.aii.ibrun.server.lookup.AdapterProxyLocal.process(AdapterProxyLocal.java:87) at com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.call(SystemAccessorInternal.java:47) at com.sap.aii.ibrun.server.lookup.SystemAccessorHmiServer.process(SystemAccessorHmiServer.java:141) at com.sap.aii.ibrun.server.lookup.SystemAccessorHmiServer.process(SystemAccessorHmiServer.java:74) at com.sap.aii.utilxi.hmis.server.HmisServiceImpl.invokeMethod(HmisServiceImpl.java:169) at com.sap.aii.utilxi.hmis.server.HmisServer.process(HmisServer.java:178) at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:296) at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:211) at com.sap.aii.utilxi.hmis.web.workers.HmisInternalClient.doWork(HmisInternalClient.java:70) at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doWork(HmisServletImpl.java:496) at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doPost(HmisServletImpl.java:634) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)The problem is: i don't know how to check for the HTTP-Header, because
my call
<i>SOAPOutPayload = accessor.call(payload);</i>
throws the mentioned exception, even though it works behind the scene.
Is it possible to check for the HTTP-Response-Code in the catch block?
We want to avoid an synchronous scenario because we don't need the result and the WebService is rather slow. -
Error when calling an Portal Package
I get the following error when calling a portal30 package. I am logged on to
another schema. I have run the provsyns.sql (per Doc ID: 122562.996) statement
but it still doesn't work.
Any help is appreciated.
SQL> declare
2 l_id number;
3 begin
4 l_id :=
portal30.wwsec_api_private.add_portal_user(p_User_Name=>'user1');
5 end;
6 /
declare
ERROR at line 1:
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "PORTAL30.WWSEC_API_PRIVATE", line 198
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "PORTAL30.WWLOG_API", line 183
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "PORTAL30.WWCTX_SSO", line 849
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "PORTAL30.WWCTX_SSO", line 669
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at line 4
Thanks,
Tom Henricksen
nullHi,
What is the implementation of your Web service? If it's another EJB then you have to define an ejb-local-ref in the deployment descriptor for that other EJB, like this:
<ejb-local-ref>
<ejb-ref-name>ejb/MyProcessorBean</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<local-home>your.package.BiasProcessorLocalHome</local-home>
<local>your.package.BiasProcessorLocal</local>
</ejb-local-ref>
If it's not a J2EE component, there is no java:comp environment naming context (ENC) available. In this case you can look up the EJB local home from the "localejbs/" context, e.g. "localejbs/provider.name/YourAppName/YourEjbName". By default the provider name is "sap.com".
For more information please refer to <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/java/accessing%20ejb%20applications%20using%20jndi.pdf">this article</a>.
HTH!
-- Vladimir -
ORA-28868 error when calling Web service over HTTPS from PL/SQL utl_http
I am getting error message ORA-28868 error when calling Web service over HTTPS from PL/SQL utl_http PL/SQL package,
when browsed through some of the messages they point to setting Oracle Wallet Manager.
I am trying to connect
Any idea on how to resolve this issue ?
your input is appreciated.
Thanks
RaviDuplicate post ... please ignore.
-
ORA-03115 error when calling a Stored Procedure
Hi All,
I'm in the process of porting a Pro/C app from NT to Linux. I've installed 8.1.5 on our Linux box and patched it up to 8.1.5.02.
It all kind of works ok, except that I'm sometimes getting ORA-03115 errors when the app calls a stored procedure. The call in question looks like this:
EXEC SQL BEGIN DECLARE SECTION;
VARCHAR resprows[50][3998];
int numret = 0;
int numrows= 50;
int done= 0;
unsigned long resp_id = 0;
EXEC SQL END DECLARE SECTION;
EXEC SQL AT DB_NAME EXECUTE
BEGIN pkg_something.getdata(
:resp_id, /* IN */
:numrows, /* IN */
:done, /* OUT */
:resprows, /* OUT */
:numret /* OUT */
END;
END-EXEC;
The stored procedure basically uses the resp_id value to select rows from a table;
in each row there is a VARCHAR2(4000) column which it copies into the hostarray resprows.
There may be anything from 1 to numrows returned from the SP.
Initially, the resprows rows were defined to be size [4000]. Unfortunately, this caused ORA-02005 errors - I then changed the size to [3998], which seemed to fix the 02005's (although I'm unclear as to the reasons why).
Now I'm getting the 03115 errors when calling the SP. The oracle manual is not very helpful on what this error means.
This all works chipper on NT.
Any ideas?
Thanks in advance,
Nigel.
PS: The database the app is talking to is still hosted on NT.
nullHiston FTM wrote:
ORA-04063: package body "LAZARUS.LAZARUS" has errors Above, obviously conflicts with the statement that follows:
>
The procedure and package have both compiled without errors and the statement on its own works fine in SQL*Plus.I suggest you take a look in the USER_ERRORS view to see, what the errors are.
And just checking:
You have schema called LAZARUS, which holds a package named LAZARUS, which holds a procedure called POPULATEGRIDPOSITIONS?
Edited by: Toon Koppelaars on Oct 1, 2009 5:55 PM -
401 Unauthorized Error When calling a SharePoint REST web service from SharePoint 2013 Workflow
We have our Workflow Manger installed on the same server as our SharePoint 2013 WFE development environment. When creating a SharePoint 2013 Workflow all Calls to a SharePoint 2013 REST web service results in a 401 Unauthorized error.
As an example I created a simple workflow that should return a JSON result. The REST Url returns the results in the browser without error.
Set Variable:webServiceUrl to https://<hostnamedsitecollection>/_vti_bin/client.svc/web/lists/getbytitle('ISR%20Approvers')/Items?$select=Title&$filter=Title%20eq%20%27General%27
then Build{...} Dictionary (Output to Variable:requestHeaders)
then Call [%Variable:webServiceUrl%] HTTP web service with request (ResponseContent to Variable:responseContent |ResponseHeaders to responseHeaders | ResponseStatusCode to Variable:responseCode)
The RequestHeader is set to the requestHeaders variable though the web service call properties
then Log Variable:responseCode to the workflow history list
After manually running the workflow in SharePoint on a list item in the ISR Approvers list it Logs "Unauthorized" in the Workflow History Log. It does this with every SharePoint REST web service call that I have tried through the workflow.
It doesn't have anything to do with the Workflow Manger being installed on the same machine as the SharePoint WFE does it?
Thank You for any insightHi,
According to your post, my understanding is that you had 401 Unauthorized Error when calling a SharePoint REST web service from SharePoint 2013 Workflow.
Please make sure you use the ‘Call HTTP Web Service’ correctly.
You can enter the URL into the brower to check whether it is correctly.
You need to
create the Request header requestHeaders
using a Dictionary:
Accept : application/json;odata=verbose
Content-Type : application/json;odata=verbose
To associate the
requestHeaders variable, select the Call action
property, set the RequestHeaders property to
requestHeaders.
Please refer to the following articles:
Working with Web Services in SharePoint 2013 Workflows using SharePoint Designer 2013
Calling the SharePoint 2013 Rest API from a SharePoint Designer
Workflow
In addtion, you need to make sure you install the workflow manager correctly.
More information:
Install and configure workflow for SharePoint Server 2013
Known Issues in Workflow Manager 1.0
Troubleshooting Workflow Manager 1.0 Management and Execution
Best Regards,
Linda Li
Linda Li
TechNet Community Support
Maybe you are looking for
-
I need to move my iTunes library to a MacBook Pro but I want to now keep my music on an external drive. Which is the best way to do this? I've been reading several ways but none are exactly for my situation. I have moved the PC iTunes folder to an ex
-
Proxy to Webservice Synchronous Scenario
Hi All, I have a Synchronous Proxy to Webservice Scenario. Here is the catch: My Source Proxy Datatype is DT_Source Status PayGradeA PayGradeB Now the requirement is if PayGradeA is equal to 01, 04, 05 then the data should be sent to We
-
there is wide difference in the price of ipad 3 in india and america, so i am planning to get the ipad from america, what are the problems associated with getting the ipad from america
-
Double-click automatically creates copy of a file
today my MacBook started automatically making copies of files when I double-click on them. So if I double-click a file on my desktop (such as a photo) rather than just opening the file, which is what i want to happen, it opens the file and creates a
-
Prompt Preview and Dashboard prompt Date Format.
Hi, When seen in its preview, a Dashboard prompt based on Date data type is shown using format 'mm/dd/yyyy' which is the expected format. However, when seen on a dashboard page, the prompt's format becomes 'yyyy/mm/dd'. Does anyone have idea how to f