Netweaver throwing following exception when calling the ProductionOrder WS
Hi,
when calling the ProductionOrder web service I get the following exception from the system:
nested exception is: com.sap.engine.services.ts.exceptions.BaseSystemException: Exception ( SAP J2EE Engine JTA Transaction : [0ffffffaa60fffffffe00103e] ) in rollback.
The system was migrated from Netweaver CE 7.1 SP4 to SP5 before the error started to occur.
Any ideas how to fix this? Start/Stopping ME didn't do the trick.
Kind Regards,
Christoph Mertins
Yes the stack trace is:
System exception
[EXCEPTION]
javax.ejb.EJBException: nested exception is: com.sap.engine.services.ts.exceptions.BaseSystemException: Exception ( SAP J2EE Engine JTA Transaction : [0ffffffaa60fffffffe0013ffffffb6] ) in rollback.
com.sap.engine.services.ts.exceptions.BaseSystemException: Exception ( SAP J2EE Engine JTA Transaction : [0ffffffaa60fffffffe0013ffffffb6] ) in rollback.
at com.sap.engine.services.ts.jta.impl.TransactionImpl.rollback(TransactionImpl.java:921)
at com.sap.engine.services.ts.jta.impl.TransactionManagerImpl.rollback(TransactionManagerImpl.java:486)
at com.sap.engine.services.ejb3.runtime.impl.TransactionAttributeHandler$Required.error(TransactionAttributeHandler.java:296)
at com.sap.engine.services.ejb3.runtime.impl.TransactionAttributeHandler$TransactionAttributeErrorsHandler.error(TransactionAttributeHandler.java:130)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:40)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133)
at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)
at $Proxy3782.create(Unknown Source)
at com.sap.me.productdefinition.wserpimpl.productionOrder.ProductionOrderPersister.createOrUpdate(ProductionOrderPersister.java:133)
at com.sap.me.productdefinition.wserpimpl.GenericVOServiceImpl.createOrUpdate(GenericVOServiceImpl.java:57)
at com.sap.me.productdefinition.wserpimpl.productionOrder.ProductionOrderServiceHandlerAdapter.updateProductionOrder(ProductionOrderServiceHandlerAdapter.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at com.visiprise.frame.proxy.DefaultInterceptor.intercept(DefaultInterceptor.java:31)
at com.visiprise.frame.proxy.InterceptorChain.process(InterceptorChain.java:48)
at com.visiprise.frame.proxy.ProxyContext.process(ProxyContext.java:67)
at com.visiprise.frame.proxy.AdviceInterceptor.intercept(AdviceInterceptor.java:45)
at com.visiprise.frame.proxy.InterceptorChain.process(InterceptorChain.java:48)
at com.visiprise.frame.proxy.GenericSOProxy.invoke(GenericSOProxy.java:81)
at $Proxy3884.updateProductionOrder(Unknown Source)
at com.sap.me.production.ws.ProductionOrderService.updateProductionOrder(ProductionOrderService.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at com.sap.engine.services.webservices.runtime.JavaClassImplementationContainer.invokeMethod(JavaClassImplementationContainer.java:96)
at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process0(RuntimeProcessingEnvironment.java:525)
at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.preProcess(RuntimeProcessingEnvironment.java:494)
at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process(RuntimeProcessingEnvironment.java:260)
at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWOLogging(ServletDispatcherImpl.java:178)
at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWithLogging(ServletDispatcherImpl.java:114)
at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:72)
at com.sap.engine.services.webservices.servlet.SOAPServletExt.doPost(SOAPServletExt.java:90)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:162)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:81)
at com.sap.me.webservice.ClearServiceContextFilter.doFilter(ClearServiceContextFilter.java:28)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:73)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:461)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:298)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:397)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:48)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:83)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:243)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:78)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:43)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:42)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:428)
at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:247)
at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:45)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:327)
Caused by: com.sap.engine.services.dbpool.exceptions.BaseResourceException: SQLException is thrown by the pooled connection: com.sap.sql.log.OpenSQLException: Connection object com.sap.sql.jdbc.vendor.VendorConnectionHandle@aa1bf8e has already been closed.
at com.sap.engine.services.dbpool.spi.LocalTXManagedConnectionImpl.throwBaseResourceException(LocalTXManagedConnectionImpl.java:89)
at com.sap.engine.services.dbpool.spi.LocalTXManagedConnectionImpl.rollback(LocalTXManagedConnectionImpl.java:389)
at com.sap.engine.services.ts.jta.impl.TransactionImpl.rollback(TransactionImpl.java:813)
... 83 more
Caused by: com.sap.sql.log.OpenSQLException: Connection object com.sap.sql.jdbc.vendor.VendorConnectionHandle@aa1bf8e has already been closed.
at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:83)
at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:122)
at com.sap.sql.jdbc.vendor.VendorConnectionHandle.validate(VendorConnectionHandle.java:383)
at com.sap.sql.jdbc.vendor.VendorConnectionHandle.setAutoCommit(VendorConnectionHandle.java:38)
at com.sap.engine.services.dbpool.spi.LocalTXManagedConnectionImpl.rollback(LocalTXManagedConnectionImpl.java:386)
... 84 more
Similar Messages
-
Get Inaccessible WSDL Exception when call the CRMOD WS
Hi All,
I download the Contact general WSDL, then Generate Web Service Proxy with JAX-WS(Version = Oracle WebServices (11.1.1.0.0, build 100408.1504.05443)) in JDeveloper(11.1.1.0).
Then I wrote the following code to invoke the ContactInsert method.
public class ContactClient
@WebServiceRef
private static Contact_Service contact_Service;
final static QName qName = new QName("urn:crmondemand/ws/ecbs/contact/", "Contact");
private static String server = "https://secure-ausomxdsa.crmondemand.com/Services/Integration;";
public static void main(String [] args) throws Exception
File kstore = new File("D:\\Oracle\\Middleware\\jdk160_18\\jre\\lib\\security\\jssecacerts");
boolean exists = kstore.exists();
if(!exists) {
throw new FileNotFoundException(kstore.getName());
System.setProperty("javax.net.ssl.trustStore", kstore.getAbsolutePath());
URL url = getWSDLURL(server);
System.out.println(url.toString());
Contact_Service contact_Service = new Contact_Service(url, qName);
Contact contact = contact_Service.getContact();
ContactInsertInput contactInsertInput = new ContactInsertInput();
contactInsertInput.setListOfContact(prepareInsertData());
contactInsertInput.setEcho("off");
ContactInsertOutput contactInsertOutput = new ContactInsertOutput();
contactInsertOutput = contact.contactInsert(contactInsertInput);
getOutPutResult(contactInsertOutput);
private static URL getWSDLURL (String urlStr) throws Exception{
GetSessionId getSessionId = new GetSessionId();
URL url = null;
try {
url = new URL(urlStr+"JSESSIONID="+getSessionId.getSessionId());
} catch (MalformedURLException e) {
e.printStackTrace();
throw new RuntimeException(e);
return url;
private static ListOfContactData prepareInsertData(){
ListOfContactData listOfContactData = new ListOfContactData();
ContactData contactData = new ContactData();
contactData.setContactFirstName("Joerg");
contactData.setContactLastName("Wallmueller");
contactData.setExternalSystemId("1234");
listOfContactData.getContact().add(contactData);
return listOfContactData;
private static void getOutPutResult(ContactInsertOutput result){
ListOfContactData listOfContactData = new ListOfContactData();
listOfContactData = result.getListOfContact();
ContactData contactData = new ContactData();
contactData = listOfContactData.getContact().get(0);
System.out.println(contactData.getCustomerId());
Then I run the script, get the error:
Exception in thread "main" com.sun.xml.internal.ws.wsdl.parser.InaccessibleWSDLException: 2 counts of InaccessibleWSDLException.
java.io.IOException: Server returned HTTP response code: 400 for URL: https://secure-ausomxdsa.crmondemand.com/Services/Integration;jsessionid=7c48ff64e251b2dc4667415290e54afbc2dd3762264182ea62b35aec974aa1b5.e3iRbxmSbx50ax8NbxuSbN8Se0
java.io.IOException: Server returned HTTP response code: 400 for URL: https://secure-ausomxdsa.crmondemand.com/Services/Integration;jsessionid=7c48ff64e251b2dc4667415290e54afbc2dd3762264182ea62b35aec974aa1b5.e3iRbxmSbx50ax8NbxuSbN8Se0?wsdl
at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(Unknown Source)
at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(Unknown Source)
at com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(Unknown Source)
at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)
at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)
at com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(Unknown Source)
at javax.xml.ws.Service.<init>(Unknown Source)
at crmondemand.ws.ecbs.user.User_Service.<init>(User_Service.java:42)
at ws.crmod.oracle.UserWSInvoke.main(UserWSInvoke.java:33)
Any body can tell me why the response is 400? It takes me a lot of time. Thanks
帖子经 [email protected]编辑过Hi All,
I download the Contact general WSDL, then Generate Web Service Proxy with JAX-WS(Version = Oracle WebServices (11.1.1.0.0, build 100408.1504.05443)) in JDeveloper(11.1.1.0).
Then I wrote the following code to invoke the ContactInsert method.
public class ContactClient
@WebServiceRef
private static Contact_Service contact_Service;
final static QName qName = new QName("urn:crmondemand/ws/ecbs/contact/", "Contact");
private static String server = "https://secure-ausomxdsa.crmondemand.com/Services/Integration;";
public static void main(String [] args) throws Exception
File kstore = new File("D:\\Oracle\\Middleware\\jdk160_18\\jre\\lib\\security\\jssecacerts");
boolean exists = kstore.exists();
if(!exists) {
throw new FileNotFoundException(kstore.getName());
System.setProperty("javax.net.ssl.trustStore", kstore.getAbsolutePath());
URL url = getWSDLURL(server);
System.out.println(url.toString());
Contact_Service contact_Service = new Contact_Service(url, qName);
Contact contact = contact_Service.getContact();
ContactInsertInput contactInsertInput = new ContactInsertInput();
contactInsertInput.setListOfContact(prepareInsertData());
contactInsertInput.setEcho("off");
ContactInsertOutput contactInsertOutput = new ContactInsertOutput();
contactInsertOutput = contact.contactInsert(contactInsertInput);
getOutPutResult(contactInsertOutput);
private static URL getWSDLURL (String urlStr) throws Exception{
GetSessionId getSessionId = new GetSessionId();
URL url = null;
try {
url = new URL(urlStr+"JSESSIONID="+getSessionId.getSessionId());
} catch (MalformedURLException e) {
e.printStackTrace();
throw new RuntimeException(e);
return url;
private static ListOfContactData prepareInsertData(){
ListOfContactData listOfContactData = new ListOfContactData();
ContactData contactData = new ContactData();
contactData.setContactFirstName("Joerg");
contactData.setContactLastName("Wallmueller");
contactData.setExternalSystemId("1234");
listOfContactData.getContact().add(contactData);
return listOfContactData;
private static void getOutPutResult(ContactInsertOutput result){
ListOfContactData listOfContactData = new ListOfContactData();
listOfContactData = result.getListOfContact();
ContactData contactData = new ContactData();
contactData = listOfContactData.getContact().get(0);
System.out.println(contactData.getCustomerId());
Then I run the script, get the error:
Exception in thread "main" com.sun.xml.internal.ws.wsdl.parser.InaccessibleWSDLException: 2 counts of InaccessibleWSDLException.
java.io.IOException: Server returned HTTP response code: 400 for URL: https://secure-ausomxdsa.crmondemand.com/Services/Integration;jsessionid=7c48ff64e251b2dc4667415290e54afbc2dd3762264182ea62b35aec974aa1b5.e3iRbxmSbx50ax8NbxuSbN8Se0
java.io.IOException: Server returned HTTP response code: 400 for URL: https://secure-ausomxdsa.crmondemand.com/Services/Integration;jsessionid=7c48ff64e251b2dc4667415290e54afbc2dd3762264182ea62b35aec974aa1b5.e3iRbxmSbx50ax8NbxuSbN8Se0?wsdl
at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(Unknown Source)
at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(Unknown Source)
at com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(Unknown Source)
at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)
at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)
at com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(Unknown Source)
at javax.xml.ws.Service.<init>(Unknown Source)
at crmondemand.ws.ecbs.user.User_Service.<init>(User_Service.java:42)
at ws.crmod.oracle.UserWSInvoke.main(UserWSInvoke.java:33)
Any body can tell me why the response is 400? It takes me a lot of time. Thanks
帖子经 [email protected]编辑过 -
A surprising exception when call the EJB
OS:Windows-2000
J2EE-Server:J2sdkee1.2.1
Database:SQLServer-2000
The CMP-bean---UserEJB has been deployed successfully.
Main client program:
UserHome userHome=(UserHome)PortableRemoteObject.narrow(objectRef,ejb.UserHome.class);
User user=userHome.create(userid,password,name);
When running the client program,exception occured like this:---
java.rmi.ServerException: RemoteException occurred in server thread; nested exce
ption is:
java.rmi.RemoteException: Transaction aborted (possibly due to transacti
on time out).; nested exception is:
javax.transaction.RollbackException
java.rmi.RemoteException: Transaction aborted (possibly due to transaction time
out).; nested exception is:
javax.transaction.RollbackException
javax.transaction.RollbackException
<<no stack trace available>>
But a new data-row has been inserted into the table successfully.
What on earth caused that? And how to solve this problem?
Any reply is welcome.Thanks!I have only a partial solution (if you find it all I'll be happy to know myself...)
I had the same problem. It occurs that the problem is related to the definitions of transactions attributes in the table of the transaction tab. go to this tab and change the attribute from "required" to "supported" (I assume you have "required" and it should not be) in the method which causes the exception.
hope this helped. -
Server error when calling the DatabaseController.replaceConnection() method
<p>I am receiving the error message below when calling the DatabaseController.replaceConnection() method. Can anyone tell me what may be the cause of this? The code being executed is below the error message.
</p>
<p>
Thank you.
</p>
<pre>
A server error occured while processing the CrystalReport object, wfr.rpt (AVTJyRKrfDxKtXX31l5E9Ek), from the CMS.
Unable to connect to the server: ATHENA.ReportApplicationServer.
--- java.lang.Boolean cannot be cast to java.lang.String
Stack Trace:
com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Unable to connect to the server:
ATHENA.ReportApplicationServer. - java.lang.Boolean cannot be cast to java.lang.String--
Error code:-2147217387 Error code name:connectServer
at com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException.
throwReportSDKServerException(Unknown Source)
at com.crystaldecisions.sdk.occa.managedreports.ras.internal.CECORBACommunicationAdapter.
request(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.DatabaseController.replaceConnection(Unknown Source)
at aiConfigUtility.cmdlline.ImportExportBiarFile.changeReportDataSource(ImportExportBiarFile.java:561)
at aiConfigUtility.cmdlline.ImportExportBiarFile.processBiarFile(ImportExportBiarFile.java:726)
</pre>
<br />
<pre>
private void test(String reportName)
throws SDKException, ReportSDKException, java.io.IOException
IInfoObjects newInfoObjects;
IInfoObject reportObj;
ReportClientDocument clientDoc = new ReportClientDocument();
DatabaseController dc;
PropertyBag pBag;
PropertyBag logonProps;
ConnectionInfo newConInfo;
ConnectionInfo oldConInfo;
ConnectionInfos conInfos;
int connOptions = DBOptions._ignoreCurrentTableQualifiers + DBOptions._doNotVerifyDB; //0;
Fields connFields = null;
String queryStr = "Select * From CI_INFOOBJECTS " +
"Where SI_NAME='wfr.rpt' AND SI_KIND='CrystalReport' AND SI_INSTANCE=0";
newInfoObjects = getCms().executeQuery(queryStr);
if(newInfoObjects.size() > 0)
reportObj = (IInfoObject)newInfoObjects.get(0);
try
clientDoc = getCms().getReportAppFactory().openDocument(
reportObj
, OpenReportOptions._refreshRepositoryObjects
, java.util.Locale.US);
dc = clientDoc.getDatabaseController();
conInfos = dc.getConnectionInfos(null);
for(int i = 0; i < conInfos.size(); ++i)
oldConInfo = (ConnectionInfo)conInfos.getConnectionInfo(i);
newConInfo = (ConnectionInfo)oldConInfo.clone(true);
pBag = newConInfo.getAttributes();
pBag.putStringValue("QE_ServerDescription", "alio");
logonProps = new PropertyBag();
logonProps.putStringValue("Trusted_Connection", "false");
logonProps.putStringValue("Server", "alio");
pBag.put("QE_LogonProperties", logonProps);
newConInfo.setUserName("admin");
newConInfo.setPassword("password");
<b>dc.replaceConnection(
oldConInfo
, newConInfo
, connFields
, connOptions);</b>
catch(ReportSDKServerException Ex)
String msg = "A server error occured while processing the " + reportObj.getKind()
+ " object, " + reportObj.getTitle() + " (" + reportObj.getCUID() + "), from the CMS.";
Utility.errorOut(msg, Ex);
catch(Exception Ex)
String msg = "An error occured while processing the " + reportObj.getKind()
+ " object, " + reportObj.getTitle() + " (" + reportObj.getCUID() + "), from the CMS.";
Utility.errorOut(msg, Ex);
finally
clientDoc.save();
getCms().commitToInfoStore(newInfoObjects);
clientDoc.close();
</pre>
Edited by: Mark Young on Sep 10, 2009 2:13 PM<p>I just wanted to provide an update to this. I did find a work-around for this, but I cannot explain it. The post I added to a related thread on 23 Sept. 2009, Trying to change the data source for a Crystal Report. (thread 1472257), explains a work-around I found for that problem. It seemed to resolve this one simultaneously.
</p>
<p>
I don't know why it works. If anyone has a comment or some insight, it is welcome. Thank you in advance.
</p> -
Exception when retrieving the WS invoker using the execution destination
We got exception when we had tried to call WS in Web Dynpro for Java (NWDS 7.1 SP 5):
"Exception when retrieving the WS invoker using the execution destination".
We imported model as Adaptive Web Service Model with destination and
implemented Component Controller using document
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/900bbf94-a7a8-2910-e298-a651b4706c1e
We used:
1. Netweaver 7.1 CE
2. Backend R/3 system with RFC wrapped by Web Service without autorization on R/3
3. In our CE system we created two logical destinations (metadata and execution) to R/3 Web ServiceHi Yuriy,
It would be great if you can say how exactly you solved the problem as i am encountering the same error.
Regards,
Tekumalla -
Socket Exception when closing the console
Hi ,
I'm running WLC & P Server 3.5/WL 6.1 in the following environment
Weblogic Version: WebLogic Server 6.1 SP1
JDK Vendor: Blackdown Java-Linux Team
JDK Version: 1.3.1
Operating System: Linux
and I'm getting very often this exception when closing the console
<Dec 30, 2001 2:21:48 PM EST> <Error> <HTTP> <Connection failure
java.net.SocketException: Error in poll for fd: '60', revents: '24'
at
weblogic.socket.PosixSocketMuxer.deliverBadNews(PosixSocketMuxer.java:429)
at
weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:384)
at
weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
I also get the same behaviour under WL 6.1 alone when closing the console.
Does anybody know what this means?
Thanks,
DanOoops, sorry for the repost.
I can see my first post on the newsgroup when I access it with the browser
http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.develo
per.interest.personalization&item=1650&utag= )
but I cannot see it when using my newsgroup reader (Outlook Express).
Dan
"Dan" <[email protected]> wrote in message news:[email protected]..
Hi ,
I'm running WLC & P Server 3.5/WL 6.1 in the following environment
Weblogic Version: WebLogic Server 6.1 SP1
JDK Vendor: Blackdown Java-Linux Team
JDK Version: 1.3.1
Operating System: Linux
and I'm getting very often this exception when closing the console
<Dec 30, 2001 2:21:48 PM EST> <Error> <HTTP> <Connection failure
java.net.SocketException: Error in poll for fd: '60', revents: '24'
at
weblogic.socket.PosixSocketMuxer.deliverBadNews(PosixSocketMuxer.java:429)
at
weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:384)
at
weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
I also get the same behaviour under WL 6.1 alone when closing the console.
Does anybody know what this means?
Thanks,
Dan -
How can i avoid a pop-up window when calling the avi.dll?
Ok, here another try!
My problem is as followed:
My program calls the avi.dll to initialize, write into and close an
avi-file.
Now, when initializing it, a pop-up window is shown so you can choose the
codec to use.
My question is, can I pre-define the codec, so the pop-up window won't show
up?
The program is meant to write several files, some starting without the user
having to control them, so the pop-up window really isn't helping.
Any ideas?
I attached the avi.dll in case you need it to look at the problem.
Also helpful would be, if someone could tell me, how I can take a closer
look at the structure of the dll. Is there a program I can do that with?
Thanx!
regar
ds,
MartinHello Martin,
I have used this DLL before and wasn't asked to choose a codec. Maybe if you use all three functions (init, write, close), it works without problems. Here's a example that uses IMAQ hardware to acquire an 8-bit image at 30fps and writes each image to an avi file.
There are utilities to examine dlls (see what functions are exported and what the dependencies are, but you can't see source code since it is compiles.) Check out QuickView or DependencyWalker.
Attachments:
avigrab.zip 66 KB -
MSS - Business Event Details - Error Unexpected Exception when Calling RFC
Dear Experts,
Manager is getting the Error "Unexpected Exception when Calling RFC from Profile Application 'Business Event' when he tries to get the Training history of ONE employee in MSS. However, he is getting the details for the other employees of his department.
Any inputs on this?
Thank you.I believe it is our custom iView that is incorrect.
-
Hi. please solve my problem.
.call information such as call waiting,call forwarding, call holding is not working when caller the call me or im wait for my call i cant see any title by iphon , and also holding is the same.2. there is not any option for call baring.3.playback music is not hearing by second partner during the call.4.i cant select ringing ton from saving tons.
thank you in advance.Hi Ersin,
Exception 1 would seem to be FORMATTING_ERROR, which suggests something in the design of the Smartform. However, that doesn't fit with the form being generated from a report, but only erroring when called from a function module. I can think of no reason why the different calling method would be a factor.
When FORMATTING_ERROR is raise it should also set a message ID and number, are you able to determine what they are?
Regards,
Nick -
TRFC type conflict when calling the function module
Hi,
When I schedule, it is stucking up with TRFC and giving error message in SM58 as" TRFC type conflict when calling the function module" .
even if I execute the trfc LUWs ,load is not successful.
could you please any body suggest for this error.
Thanks
RHi Guys,
could any suggest why this is happening.
TRFC is stuck up and giving error message.
Thanks
Ram -
Why do I get Error -1073807343 when calling the open visa function ?
Hello,
I am running a Labview 6i under Linux (kernel 2.4) and I have Error -1073807343 when calling the open visa function. I have verified the name of the session (GPIB0::9::INSTR), and I can communicate with my instruments with ibic.
More informations : I use NIVISA 2.5 and nigpib-0.8.2. I have downloaded the lastest drivers of my instruments but it doesn't work better.
Thanks very much for your help.We've had several NI-VISA releases since 2.5 - so I suggest you upgrade to NI-VISA 3.0. While there isn't anything specific to your type of problem in the Linux version of our readme.txt, I know we've made a number of other fixes.
While the most recent release is NI-VISA 3.1, I still recommend you upgrade only to 3.0.
This is because NI-VISA 3.1 requires the new NI-488.2 release for GPIB-ENET to be installed (even though you aren't using that product). This is due to some internal rearchitectures, and the PCI-GPIB product is not released. If you do want to go with NI-VISA 3.1, the new NI-488.2 release for GPIB-ENET on Linux will still work with the PCI-GPIB beta driver that you have installed.
Dan Mondrik
National Instruments -
Why do I get the following exception when I press the cancel buuton?
My code is not complete as I am stubbing my code. Can someone tell me why i get the following exception
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at Phonebook.createNew(Phonebook.java:244)
at Phonebook.actionPerformed(Phonebook.java:222)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:19
95)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav
a:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
istener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:2
72)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
ad.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)in the following code whenever I press the cancel button in the part of code that tests fro when a user clicks the create button.
Filename: ContactsListInterface.java
Date: 16 March 2008
Programmer: Yucca Nel
Purpose: Provides a GUI for entering names and contact numbers into a telephone directory.
Also allows options for searching for a specific name and deleting of data from the record
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.text.*;
import java.io.*;
import java.util.*;
import java.text.*;
public class Phonebook extends JFrame implements ActionListener
{ //start of class
// construct fields, buttons, labels,text boxes, ArrayLists etc
JTextPane displayPane = new JTextPane();
JLabel listOfContacts = new JLabel("List Of Contacts"); // creates a label for the scrollpane
JButton createButton = new JButton("Create");
JButton searchButton = new JButton("Search");
JButton modifyButton = new JButton("Modify");
JButton deleteButton = new JButton("Delete");
ArrayList fNameList = new ArrayList();
ArrayList sNameList = new ArrayList();
ArrayList hList = new ArrayList();
ArrayList wList = new ArrayList();
ArrayList cList = new ArrayList();
public String name, surname, home, work, cell;
// create an instance of the ContactsListInterface
public Phonebook()
{ // start of cli()
super("Phonebook Interface");
} // end of cli()
public JMenuBar createMenuBar()
{ // start of the createMenuBar()
// construct and populate a menu bar
JMenuBar mnuBar = new JMenuBar(); // creates a menu bar
setJMenuBar(mnuBar);
JMenu mnuFile = new JMenu("File",true); // creates a file menu in the menu bar which is visible
mnuFile.setMnemonic(KeyEvent.VK_F);
mnuFile.setDisplayedMnemonicIndex(0);
mnuFile.setToolTipText("File Options");
mnuBar.add(mnuFile);
JMenuItem mnuFileExit = new JMenuItem("Save And Exit"); // creates an exit option in the file menu
mnuFileExit.setMnemonic(KeyEvent.VK_X);
mnuFileExit.setDisplayedMnemonicIndex(1);
mnuFileExit.setToolTipText("Close Application");
mnuFile.add(mnuFileExit);
mnuFileExit.setActionCommand("Exit");
mnuFileExit.addActionListener(this);
JMenu mnuEdit = new JMenu("Edit",true); // creates a menu for editing options
mnuEdit.setMnemonic(KeyEvent.VK_E);
mnuEdit.setDisplayedMnemonicIndex(0);
mnuEdit.setToolTipText("Edit Options");
mnuBar.add(mnuEdit);
JMenu mnuEditSort = new JMenu("Sort",true); // creates an option for sorting entries
mnuEditSort.setMnemonic(KeyEvent.VK_S);
mnuEditSort.setDisplayedMnemonicIndex(0);
mnuEdit.add(mnuEditSort);
JMenuItem mnuEditSortByName = new JMenuItem("Sort By Name"); // to sort entries by name
mnuEditSortByName.setMnemonic(KeyEvent.VK_N);
mnuEditSortByName.setDisplayedMnemonicIndex(8);
mnuEditSortByName.setToolTipText("Sort entries by first name");
mnuEditSortByName.setActionCommand("Name");
mnuEditSortByName.addActionListener(this);
mnuEditSort.add(mnuEditSortByName);
JMenuItem mnuEditSortBySurname = new JMenuItem("Sort By Surname"); // to sort entries by surname
mnuEditSortBySurname.setMnemonic(KeyEvent.VK_R);
mnuEditSortBySurname.setDisplayedMnemonicIndex(10);
mnuEditSortBySurname.setToolTipText("Sort entries by surname");
mnuEditSortBySurname.setActionCommand("Surname");
mnuEditSortBySurname.addActionListener(this);
mnuEditSort.add(mnuEditSortBySurname);
JMenu mnuHelp = new JMenu("Help",true); // creates a menu for help options
mnuHelp.setMnemonic(KeyEvent.VK_H);
mnuHelp.setDisplayedMnemonicIndex(0);
mnuHelp.setToolTipText("Help options");
mnuBar.add(mnuHelp);
JMenuItem mnuHelpHelp = new JMenuItem("Help"); // creates a help option for help topic
mnuHelpHelp.setMnemonic(KeyEvent.VK_P);
mnuHelpHelp.setDisplayedMnemonicIndex(3);
mnuHelpHelp.setToolTipText("Help Topic");
mnuHelpHelp.setActionCommand("Help");
mnuHelpHelp.addActionListener(this);
mnuHelp.add(mnuHelpHelp);
JMenuItem mnuHelpAbout = new JMenuItem("About"); // creates a about option for info about api
mnuHelpAbout.setMnemonic(KeyEvent.VK_T);
mnuHelpAbout.setDisplayedMnemonicIndex(4);
mnuHelpAbout.setToolTipText("About this program");
mnuHelpAbout.setActionCommand("About");
mnuHelpAbout.addActionListener(this);
mnuHelp.add(mnuHelpAbout);
return mnuBar;
} // end of the createMenuBar()
// create the content pane
public Container createContentPane()
{ // start of createContentPane()
//construct and populate panels and content pane
JPanel labelPanel = new JPanel(); // panel is only used to put the label for the textpane in
labelPanel.setLayout(new FlowLayout());
labelPanel.add(listOfContacts);
JPanel displayPanel = new JPanel();// panel is used to display all the contacts and thier numbers
setTabsAndStyles(displayPane);
displayPane = addTextToTextPane();
displayPane.setEditable(false);
JScrollPane scrollPane = new JScrollPane(displayPane);
scrollPane.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS); // pane is scrollable vertically
scrollPane.setWheelScrollingEnabled(true);// pane is scrollable by use of the mouse wheel
scrollPane.setPreferredSize(new Dimension(400,320));
displayPanel.add(scrollPane);
JPanel workPanel = new JPanel();// panel is used to enter, edit and delete data
workPanel.setLayout(new FlowLayout());
workPanel.add(createButton);
createButton.setToolTipText("Create a new entry");
createButton.addActionListener(this);
workPanel.add(searchButton);
searchButton.setToolTipText("Search for an entry by name number or surname");
searchButton.addActionListener(this);
workPanel.add(modifyButton);
modifyButton.setToolTipText("Modify an existing entry");
modifyButton.addActionListener(this);
workPanel.add(deleteButton);
deleteButton.setToolTipText("Delete an existing entry");
deleteButton.addActionListener(this);
labelPanel.setBackground(Color.red);
displayPanel.setBackground(Color.red);
workPanel.setBackground(Color.red);
// create container and set attributes
Container c = getContentPane();
c.setLayout(new BorderLayout(30,30));
c.add(labelPanel,BorderLayout.NORTH);
c.add(displayPanel,BorderLayout.CENTER);
c.add(workPanel,BorderLayout.SOUTH);
c.setBackground(Color.red);
// add a listener for the window closing and save
addWindowListener(
new WindowAdapter()
public void windowClosing(WindowEvent e)
int answer = JOptionPane.showConfirmDialog(null,"Are you sure you would like to save all changes and exit?","File submission",JOptionPane.YES_NO_OPTION);
if(answer == JOptionPane.YES_OPTION)
System.exit(0);
return c;
} // end of createContentPane()
protected void setTabsAndStyles(JTextPane displayPane)
{ // Start of setTabsAndStyles()
// set Font style
Style fontStyle = StyleContext.getDefaultStyleContext().getStyle(StyleContext.DEFAULT_STYLE);
Style regular = displayPane.addStyle("regular", fontStyle);
StyleConstants.setFontFamily(fontStyle, "SansSerif");
Style s = displayPane.addStyle("bold", regular);
StyleConstants.setBold(s,true);
} // End of setTabsAndStyles()
public JTextPane addTextToTextPane()
{ // start of addTextToTextPane()
Document doc = displayPane.getDocument();
try
{ // start of tryblock
// clear previous text
doc.remove(0,doc.getLength());
// insert titles of columns
doc.insertString(0,"NAME\tSURNAME\tHOME NO\tWORK NO\tCELL NO\n",displayPane.getStyle("bold"));
} // end of try block
catch(BadLocationException ble)
{ // start of ble exception handler
System.err.println("Could not insert text.");
} // end of ble exception handler
return displayPane;
} // end of addTextToTextPane()
// code to process user clicks
public void actionPerformed(ActionEvent e)
{ // start of actionPerformed()
String arg = e.getActionCommand();
// user clicks create button
if(arg.equals("Create"))
createNew();
if(arg.equals("Search"))
if(arg.equals("Modify"))
if(arg.equals("Delete"))
if(arg.equals("Exit"))
} // end of actionPerformed()
// method to create a new contact
public void createNew()
{ // start of create new contact()
name = JOptionPane.showInputDialog(null,"Please enter the new contacts first name or press cancel to exit.");
if(name == null) finish(); // if user clicks cancel
if(name.length() <=0)
JOptionPane.showMessageDialog(null,"You did not enter a valid name.\nPlease make sure you enter data correctly.","Error",JOptionPane.ERROR_MESSAGE);
createNew(); // To return to the create method
surname = JOptionPane.showInputDialog(null,"Please enter the new contacts surname or press cancel to exit.");
if(surname == null) finish(); // if user clicks cancel
if(surname.equals(""))
int answer = JOptionPane.showConfirmDialog(null,"You did not enter a surname.\nAre you sure you wish to leave the surname empty?","No data entered",JOptionPane.YES_NO_OPTION); // Asks if data was valid
if(answer == JOptionPane.NO_OPTION)
surname = JOptionPane.showInputDialog(null,"Please enter the new contacts surname.");
home = JOptionPane.showInputDialog(null,"Please enter the new contacts home number or press cancel to exit.");
if(home == null) finish(); // if user clicks cancel
work = JOptionPane.showInputDialog(null,"Please enter the new contacts work number or press cancel to exit.");
if(work == null) finish(); // if user clicks cancel
cell = JOptionPane.showInputDialog(null,"Please enter the new contacts cell number or press cancel to exit.");
if(cell == null) finish(); // if user clicks cancel
} // end of create new contact()
// method to close applicatin
public void finish()
// method to search a contact
public static void main(String[] args)
{ // start of main()
// Set look and feel of interface
try
{ // start of try block
UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
} // end of try block
catch(Exception e)
{ // start of catch block
JOptionPane.showMessageDialog(null,"There was an error in setting the look and feel of this application","Error",JOptionPane.INFORMATION_MESSAGE);
} // end of catch block
Phonebook p = new Phonebook();
p.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
p.setJMenuBar(p.createMenuBar());
p.setContentPane(p.createContentPane());
p.setSize(520,500);
p.setVisible(true);
p.setResizable(false);
} // end of main()
} //end of classYucca wrote:
Line 244 is where I test for if the user actuallu entered a String at all. Is there an alternative way of writing that code?
if(name.length() <=0)
JOptionPane.showMessageDialog(null,"You did not enter a valid name.\nPlease make sure you enter data correctly.","Error",JOptionPane.ERROR_MESSAGE);
createNew(); // To return to the create method
Change:
if(name == null) finish(); To
if(name == null) {
finish();
return;
} -
Receiving null pointer exception when calling a method of the object
class Employee {
private String name;
private int age;
private double salary;
private String dob;
public void setEmp(String name, int age, double salary, String dob){ //setter method
this.name = name;
this.age = age;
this.salary = salary;
this.dob = dob;
public Employee getEmp(){ //getter method
return this;
public class EmployeeDemo {
public static void main(String[] args) {
String str1 = "John_Stone251000.0005051975";
String str2 = "Jane Doe 242000.0006071980";
String str3 = "Will Smith356000.5005051960";
String[] str = {str1,str2,str3};
Employee[] emp = new Employee[3];
String emp_name, emp_dob;
int emp_age;
double emp_sal;
for(int i=0;i<str.length;i++){
emp_name=str.substring(0,10);
emp_age=Integer.parseInt(str[i].substring(10,12));
emp_sal=Double.parseDouble(str[i].substring(12,19));
emp_dob=str[i].substring(19,26);
emp[i].setEmp(emp_name,emp_age,emp_sal,emp_dob); //NullPointerException error
After compiling both classes and running:
output error: Exception in thread "main" java.lang.NullPointerException
at EmployeeDemo.main(EmployeeDemo.java:21)I don't understand why I am getting the NullPointerException error and how to fix it?I expect the following program to output the String "Victor Shakapopulis":
public class Test
public static void main (String[] args)
String[] data = new String[3];
System.out.println(data[0]);
}Will it? Or will the program output the String "hello world". If neither of those, what will the program output?
Have the program output data[1] and data[2] as well. What can you conclude about the contents of an array after you create it? -
Exception when calling web service from Oracle forms 10g
Hi All,
I am trying to integrate Oracle Forms 10g(V 10.1.2.0.2.) with Web Services.
There is a java class named 'authenticate' which is generated using Oracle JDeveloper.
This class is included in the forms application by using "Import Java Class" feature.
Forms built the following funtion based on that class:
-- Method: authenticate (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
FUNCTION authenticate(
obj ORA_JAVA.JOBJECT,
a0 VARCHAR2,
a1 VARCHAR2) RETURN VARCHAR2 IS
BEGIN
args := JNI.CREATE_ARG_LIST(2);
JNI.ADD_STRING_ARG(args, a0);
JNI.ADD_STRING_ARG(args, a1);
message('here1');
RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'mypackage/AuthenticatorWebServiceServiceStub',
'authenticate', '(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;', args);
message('here2');
END;
However when the above code is invoked it shows the message 'here1' on the form and then throws the following exception: java.lang.Exception: java.lang.ClassCastException
Please suggest me what's wrong with the code. I appreciate your time and help.
Thanks,
Scott.My primary skill is PL/SQL but the only information I found on Oracle's site to call a web service from a 10g Form was creating a jar file and importing the java class. Since I don't want to ask our corporate IT to make changes on the UNIX box for the jar files I went a different route.
I use UTL_HTTP.BEGIN_REQUEST to call a URL then load I load the data to a table as a CLOB since we have more than 4000 characters. Now I need to parse the XML and load it into a form. I have never done this so if there is a helpful site please let me know. I have looked at several sites but none do what I want.
Thanks -
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.
Maybe you are looking for
-
I jus puchased an airtel 3g connection in india and the software that comes bundled with the huawei E1731 modem only supports upto snow leopard. I downloaded various drivers and installed them succesfully but the modem does not get detected. i am on
-
Tables / Procedures not shown in SQL Developer.
Hi, I recently downloaded SQL developer 1.5 and installed it. The created few connections to the various environments I use. Though this version does not work with 8i it works with 10g The problem I' facing is that, under connections- the tables, pro
-
Audio interface problem with Waveburner...wil not send audio to MoTU 828mk3
When using Waveburner with a new MOTU 828Mk3 interface. the audio refuses to play via the 828 despite it being selected in the Audio Device window. It defaults to sending audio to my second display screen. Is there a re-set somewhere? It works fine w
-
The company I work for recently took over tech support for a SCADA PC that has Lookout 6.1. Our customer is a small town's Utilities department. A new pumphouse communicates back to the Public Utilities SCADA PC using radio ethernet. We've found th
-
Hi everyone, I am currently working with DIAdem and I would have some newbie questions. Call PicLoad("Template") Call GraphObjNew("2D-Axis","2DAxis1") Call GraphObjOpen("2DAxis1") Call GraphObjNew("2D-Curve","New_Curve") 'Creates a new curve Call Gra