Exception while calling the dotnet web service.
I have an Axis2-1.3 web client to a dotnet web service. The client makes rapid calls to the webservice. some times it works but often the call fails with the following exception.
org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxIOException: Connection reset
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
at com.somefirm.SystemManagerStub.fromOM(SystemManagerStub.java:2193)
at com.somefirm.SystemManagerStub.getAllPlayersSettings(SystemManagerStub.java:914)
at com.ser.services.webclient.Client1$ObjectListener.processMessage(Client1.java:279)
at com.ser.services.webclient.Client1$ObjectListener.onMessage(Client1.java:174)
at com.sun.messaging.jmq.jmsclient.MessageConsumerImpl.deliverAndAcknowledge(MessageConsumerImpl.java:338)
at com.sun.messaging.jmq.jmsclient.MessageConsumerImpl.onMessage(MessageConsumerImpl.java:273)
at com.sun.messaging.jmq.jmsclient.SessionReader.deliver(SessionReader.java:113)
at com.sun.messaging.jmq.jmsclient.ConsumerReader.run(ConsumerReader.java:185)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.Exception: com.ctc.wstx.exc.WstxIOException: Connection reset
at com.somefirm.Rule$Factory.parse(Rule.java:681)
Caused by: com.ctc.wstx.exc.WstxIOException: Connection reset
at com.ctc.wstx.sr.StreamScanner.throwFromIOE(StreamScanner.java:683)
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1086)
at org.apache.axiom.om.impl.llom.OMStAXWrapper.next(OMStAXWrapper.java:927)
at com.somefirm.Rule$Factory.parse(Rule.java:643)
... 14 more
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:254)
at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
at org.apache.commons.httpclient.ContentLengthInputStream.read(ContentLengthInputStream.java:169)
at java.io.FilterInputStream.read(FilterInputStream.java:111)
at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:107)
at java.io.FilterInputStream.read(FilterInputStream.java:111)
at java.io.PushbackInputStream.read(PushbackInputStream.java:161)
at java.io.FilterInputStream.read(FilterInputStream.java:90)
at com.ctc.wstx.io.UTF8Reader.loadMore(UTF8Reader.java:362)
at com.ctc.wstx.io.UTF8Reader.read(UTF8Reader.java:110)
at com.ctc.wstx.io.MergedReader.read(MergedReader.java:101)
at com.ctc.wstx.io.ReaderSource.readInto(ReaderSource.java:84)
at com.ctc.wstx.io.BranchingReaderSource.readInto(BranchingReaderSource.java:57)
at com.ctc.wstx.sr.StreamScanner.loadMoreFromCurrent(StreamScanner.java:1021)
at com.ctc.wstx.sr.StreamScanner.parseLocalName2(StreamScanner.java:1771)
at com.ctc.wstx.sr.StreamScanner.parseLocalName(StreamScanner.java:1731)
at com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStreamReader.java:2912)
at com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2846)
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1019)
... 16 more
Can any one please help me?
Hi Durga,
thanks for the reply.
But i did not understand your solution.
here is the code i use...
BAPI__MATERIAL__GET__DETAIL bapi_input = new BAPI__MATERIAL__GET__DETAIL();
bapi_input.setMATERIAL(matnr);
try{
BAPI__MATERIAL__GET__DETAILLocal bapi_local = this.getBAPI__MATERIAL__GET__DETAIL();
BAPI__MATERIAL__GET__DETAIL_dot_Response res = bapi_local.BAPI__MATERIAL__GET__DETAIL(bapi_input);
BAPIMATDOA doa = res.getMATERIAL__GENERAL__DATA();
BAPIRETURN ret = res.getRETURN();
retValue = new Ret();
retValue.setMsg(ret.getTYPE());
}catch (Exception e) {
e.printStackTrace();
plz lemme know if any thing is wrong with it.
or do i have to configure something on the server to make bapi global.
thnks,
Sudheer.
Similar Messages
-
Delayed response while calling the process web service
I have four managed servers in a cluster and the ip addresses are
managed_server_1 -20.20.40.21
managed_server_2 -20.20.40.22
managed_server_3 -140.20.40.23
managed_server_4 -140.20.40.24
The admin server is on 20.20.40.21
I start the managed server from command prompt using the commant
./startManagedWeblogic {name of the managed server} {admin console url} ie
i start managed_server_1 from 20.20.40.21 unix box by going to {weblogic installation}\bin
and running the following command (we have some issues with the node manager so have been using this
method)
./startManagedWeblogic managed_server_1 http://20.20.40.21:17003
similarly i start the other servers from their respestive unix boxes
managed_server_2 from the 20.20.40.22 unix box using the command ./startManagedWeblogic managed_server_2 http://20.20.40.21:17003
managed_server_3 from the 140.20.40.23 unix box using the command ./startManagedWeblogic managed_server_3 http://20.20.40.21:17003
managed_server_4 from the 140.20.40.24 unix box using the command ./startManagedWeblogic managed_server_4 http://20.20.40.21:17003
all these servers are in the cluster named BPM_cluster and the bpmengine is deployed onto this cluster
when i deploy the application to the bpmengine it gets properly deployed onto the servers
and i could see the process web services getting generated
but when i try to call these webservices for each managed server seperately
the response from managed_server_1 and managed_server_2 takes leass tha 2 secs
but the response from managed_server_3 and managed_server_4 takes about 25 secs
I am not able to figure out why us taking so long from the managed servers 3 and 4
the bpmengine ds and directory ds have the cluster as targets (I also tried to point to all the servers in the cluster even that
didnot work). I feel that there is db connectivity issue from the servers but i am not sure how to check that.
Can anyone help me with this ?
ThanksPlease make sure that your solman box meet the software prerequisit as per this note below
1483508 : Solution Manager 7.1: Root Cause Analysis pre-requisites
This will solve that ptoblem .
Best Regards
Jai Wardhan -
Problem defining a java client on tomcat to call the esb web service
Dear Support,
I have a java program that has been incorporated on the oracle SOA suite. We now have a problem defining a java client on tomcat to call the esb web service. The Oracle SOA part is running fine”.
The software versions we are using :
1 - Oracle SOA suite on 10.1.3.3 Oracle AS
2 – Java 1.5
3 – Tomcat 5.5
4 – OS XP ProfessionalIf you have a main method in jour generated WSclient class (by the proxy) add the following code below the //add your own code:
AddFileResponseType testResponse = myPort.addFile(testRequest);
where AddFileResponseType is the responsetype of the WS and addFile is the method to call. this is just an example of my own webservice.
Next stap is to put the cursor in the main method and choos debug or run.
This should invoke the main method en call the webservice
I hope this helps you
Kim -
Problem when calling the XI web service
Hi all ,
I have configured the XI web service and generated its WSDL file. Following is the URL generated from XI webservice creation wizard.
http://server:50000/XISOAPAdapter/MessageServlet?channel=:BS_B2B_ECOMMERCE_PORTAL:CC_SOAP_SND&version=3.0&Sender.Service=BS_B2B_ECOMMERCE_PORTAL&Interface=http%3A%2F%2Feur%2Fcs%5EMI_TradeAsset_Master_Request_Syn
When the web service being called by the clinet application (Java application) we are getting the error
Message Servlet is in Status OK
Status information:
Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/xi/NW04S_14_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#1 $) bound to /MessageServlet
Classname ModuleProcessor: null
Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean
Lookupname for remoteModuleProcessorLookupName: null
ModuleProcessorClass not instantiated
ModuleProcessorLocal is Instance of com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0_0
ModuleProcessorRemote not instantiated
Has anybody faced this problem b4 ??>>When the web service being called by the clinet application (Java application) we are getting the error
where this error comes? In sender application usuing WSDL file?
Do check the URL it should be as per the standard.
You can also call WS from NWDS also. Else you can use SOAP client like Altova XML spy or something else.
Thanks
Farooq
Edited by: Farooq Farooqui on Aug 1, 2008 12:59 PM
Edited by: Farooq Farooqui on Aug 1, 2008 1:10 PM -
Error in PeopleTools 8.48 while calling CI based Web Services from BPEL
Hi All,
I am working with a CI based web serives and using the PeopleSoft generated wsdl file while calling from a BPEL process. When I am using the same component in PeopleTools 8.47, it's working fine. But the same is NOT working when I'm using PeopleTools 8.48 using the same BPEL server and program.
Here is the error message :-
exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: oracle_endpoint: oracle_endpoint.
Please help if you know the answer.Hi,
You need to download all the associated xml schemas from PeopleSoft portal and store them in the path where you are creating BPEL process, it's different from what we used to do in PeopleTools 8.47 ( there was only one wsdl file), whereas in PeopleTools 8.48 you need to copy all associated xml schemas.
But I m not able to find out why the native JAVA error is thrown, do I need to provide some patches? -
ClassDefNotFound Exception when calling PL/SQL Web Service
Hi to all J2EE'ers.
I'm trying to construct a sample PLSQL Web Service. I'm using a 10g R1 Database Server, Apache HTTP Server from the 10g Companion CD, and OC4J 9.0.4 (I think it's called "standalone" OC4J), all on Linux (Suse 9.1).
I set up a simple package on the DB server, containing a simple method named "get_payload(p_arg in varchar2) return varchar2".
Assembling and deploying worked well (i.e., java -jar WebServiceAssembler.jar -config config-payload.xml, followed by java -jar admin.jar ormi://localhost admin admin -deploy ... and -bindWebApp ...), and after deployment I am able to navigate to the service endpoint, but when trying to test the method named "getPayload(String param0)", after entering the parameter value and clicking "Invoke" I receive an error from the Web Server:
500 Internal Server Error
java.lang.NoClassDefFoundError: oracle/aurora/ncomp/java/ClassNotFound
at oracle.j2ee.ws.StatelessStoredProcRpcWebService.getGenerator(StatelessStoredProcRpcWebService.java:17)
at oracle.j2ee.ws.RpcWebService.generateWrapperClass(RpcWebService.java:443)
at oracle.j2ee.ws.RpcWebService.generate(RpcWebService.java:396)
at oracle.j2ee.ws.RpcWebService.getWrapper(RpcWebService.java:514)
at oracle.j2ee.ws.RpcWebService.doGetRequest(RpcWebService.java:613)
at oracle.j2ee.ws.BaseWebService.doGet(BaseWebService.java:1117)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:733)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
Here's the file config-payload.xml I used for assembling the service (access data has been obfuscated):
<web-service>
<display-name>Payload Sample Web Service</display-name>
<description>Stateless Java Document Stye Web Service Example</description>
<destination-path>./PayloadSampleService.ear</destination-path>
<temporary-directory>/tmp</temporary-directory>
<context>/payloadws</context>
<stateless-stored-procedure-java-service>
<jar-generation>
<schema>Username/Password</schema>
<db-url>jdbc:oracle:thin:@Server:1521:ServiceName</db-url>
<db-pkg-name>sample_websrv_pkg</db-pkg-name>
</jar-generation>
<uri>/payload</uri>
<database-JNDI-name>jdbc/OracleDS</database-JNDI-name>
</stateless-stored-procedure-java-service>
<wsdl-gen>
<wsdl-dir>wsdl</wsdl-dir>
<option name="force">true</option>
<option name="httpServerURL">http://localhost:8888</option>
</wsdl-gen>
<proxy-gen>
<proxy-dir>proxy</proxy-dir>
<option name="include-source">true</option>
</proxy-gen>
</web-service>
I scanned the web up and down to find references to similar problems, but to no avail. Any ideas how I could nail down the issue? WHAT class def can not be found? What code is around line 17 of StatelessStoredProcRpcWebService.java?
TIA for any input.
Wernerwww.proxy.us.oracle.com -> www-proxy.us.oracle.com - looks like set in the obsetenv.bat file
-
A failure occured while calling Diagnostics Setup web service
Hi Guys.
When performing the Automatic Activities of the Solution Manager 7.1 Basic Configuration, on one step you can execute the Diagnostics Configuration.
When clicking on the details it shows the following message.
SOAP:1.007 SRT: Unsupported xstream found: ("HTTP Code 401 : Unauthorized")
Error when processing Web service call
I tried running the configuration a user having SAP_ALL, also j2ee_admin, so no clue where is the authorization fault.
Any ideas what is causing this Authorization Error?
I also tried to access SMD manually on saphost:8000/SMD but it says Root Cause Analysis Setup has been moved and Call transaction SOLMAN_SETUP from the SAP GUI to configure SAP Solution Manager.
Is there any url to access to SMD directlty without going thru SOLMAN_SETUP since i dont see where is the url.
Thanks!Please make sure that your solman box meet the software prerequisit as per this note below
1483508 : Solution Manager 7.1: Root Cause Analysis pre-requisites
This will solve that ptoblem .
Best Regards
Jai Wardhan -
Problem while Adding the SAP Web service in Visual Studio 2005
Hi all,
I have created the web service thru SOAMANAGER.
Now I am just trying to access that web service in Visual Studio 2005.
I am not able to access...
Please give me the procedure , if any body knows.
-Balajee Jeyaraj.- Start Tcode SOAMANAGER
- Now it depends on your setup, you might have to press "Logon" and.......logon
- Click tab "Business Administration"
- Click "Web Service Administration"
- Choose "Service" for "Search by"
- Enter a search pattern (E g Z*) and press "Go"
- Mark the line of your web service
- Press "Apply Selection"
- Click the link "Open WSDL document for selected binding"
- your web browser opens.
- copy and paste the link into Visual Studio.
I'm always adding &wsdl=1.1 at the end of the link. -
Axis2 client- Exception while processing response from web service
Hi,
My client request is sending the request successfully but on receiving response , it throws the following exceptions:
Exception in thread "main" org.apache.axis2.AxisFault: Must Understand check failed for header http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd : Security
at org.apache.axis2.engine.AxisEngine.checkMustUnderstand(AxisEngine.java:97)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:163)
at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:364)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:417)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
Client using Rampart module for WS-Security, plus addressing module by default which is engaged gloabally in axis2.
Some user suggested me to disable addressing module in axis2 client but no use. Please help!Check the header that is being generated in the request , I do not think it has all the elements that has been put in the contract , you can print the SOAP request using handlers in Axis2 . check that and also can you post your config file and the actual contract so that i can help
-
JDBC Exception while calling a web-service
Hi all,
We are getting the following JDBC Driver Timeout Exception while calling an external web-service..
An exception occurred while executing a transaction. Details: An error occurred while accesing the database. Detail:SQL statement: ' SELECT INSTANCEDATA, PROCESSID, INSTID, THREADID, NAME, PARENTTHREAD, PRIORITY, CREATIONTIME, AUTHOR, PARTICIPANT, NEXTPARTICIPANT, PROCESSDEADLINE, ACTIVITYDEADLINE, RECEIVETIME, ACTIVITYNAME, NTHREADS, CTHREADS, FCTHREAD, TOTALTHREADS, STATE, SOURCEACTIVITYNAME, ROLEIN, PENDINGITEMID, LASTRESULT, ITEMDEADLINE, NCHANGES , NREMARKS, NATTACHMENTS, HASPARTFORROLE,MICROACTIVITYNAME FROM PPROCINSTANCE WHERE PROCESSID = 11AND INSTID = 10 AND THREADID = 0 FOR UPDATE' Caused by: [BEA][Oracle JDBC Driver][Oracle]ORA-02049: timeout: distributed transaction waiting for lock fuego.transaction.DatabaseException:
How do we resolve this exception?
We have increased the JTA timeout to 120 seconds.. in the engine..
Our process is deployed on Weblogic ServerLooks like specific record for the Instance id 10 is locked in the Engine table. I am not quite sure, what kind of Business scenraio you executed to end up in this issue.
But you can try restarting the BPM engine or check with the Oracle DBA to see any lock on the rows in Engine database and perform required unlocking operations.
-Lovin.V -
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 MertinsYes 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 -
Calling Sales Force Web-services from FMW
Hi,
Can anyone help me in calling Sales Force web-services from Fusion Middleware.
I've created a web-services in Sales Force & now I want to call it from FMW. The issue is we can't directly call SF web-services. We have to first authenticate ourself on SF site with user name & password along with Security token, get the session Id & then we have to call the web-service by setting the session Id in header.
If anyone has the PDF "salesforce-integration-fusion-middleware-twp.pdf " or any documentation on Sales Force integration with Oracle Fusion.
Please help. Thanks in adavance.
Edited by: Shailendra Suryawanshi on Oct 4, 2010 9:22 PMHi,
Thanks a lot for the reply & I absolutely think that's the way it should be. I've written a Java code with SF APIs to first login, get the session Id & then call the actual web-service with session Id set in header.
But the issue I'm facing from Fusion is I don't know the web-service for authentication with valid credentials to get the session Id.
I need the details of web-service which I should call first with my valid credentials to get the session Id so that I can pass the session Id as header parameter for calling the actual web-service.
Looking forward to your reply desperately.
Thanks & Regards,
Shailendra Suryawanshi -
Getting Timed out exception while calling a web service
Hi,
when i am invoking a web service(using routing), the osb proxy is getting timed out before receiving the response from routed service.
Also we are not aware of how much response time the routed service will take. so apart from increasing the connection time is there any alternate solution?
can any one suggest.I do not think there is any other way apart from increasing timeouts to call a web service from OSB synchronously which is taking a long time.
Other alternatives are either to make the service asynchronous delyed request response type, which will mean a change at the backend webservice.
Ideally synchronous web services are designed to respond within a few seconds and not take minutes for processing. I would say that if the backend web service is taking more than a minute then they need to either tune their service performance better so it responds faster OR change it to an asynchronous service. -
Calling an External Web-Service Inside an Exception Flow
Hi all,
Is it a good practice in OBPM to call an External Web-Service when the process enters inside a System Exception Flow?Your challenge will be when you throw an exception inside the Exception handler chain. You can't catch an exception (other than in a try/catch block in the logic of an Automatic activity) inside an Exception handler chain.
Sorry - not a good practice.
Dan -
Issue when calling an external web service - CRM 2013
Hello everyone.
This is my scenario:
I'm doing a real time data integration from CRM to another software. I deployed several plugins, mostly in create/update messages, for the entities i want to sync. The developers of the other software gave me the endpoint of the web service and I created the
client using svcutil. I manually created the binding and gave it to the generated client, along with the endpoint. At the first tests I could sync some registries, but I had some mapping errors. I debugged the plugin, corrected the errors, and when I
want to tests again, the plugin is throwing me an exception when calls any method of the web service. Let me explain the issue:
The exception:
I instantiated the client for the web service (passing to it the binding and the endpoint). And when I'm trying to call any method (ex. Add), it throws the exceptions "InvalidOperationException". I started to debug the code and I notice that
just before to call the web service method, the state of the client stills in "Opening". Of course that is generating the exception.
The complete exception is: "The communication object, System.ServiceModel.ChannelFactory`1[IAxxisWcfServices], cannot be modified while it is in the Opening
state."} System.SystemException {System.InvalidOperationException}
I did a test, outside the CRM environment, on a console app with the same conditions of the web services client (generating with svcutil, manually passing the same binding and endpoint), and the same order of the plugin code, and everything works well; The
state of the client never stills in 'Opening', so I discarded any problem with the web service.
Anyone knows if I'm missing something in the code? or some configuration?
The CRM is 2013 On-premise with last updates.
Thanks in advance.I tried adding the web reference in a console app and works fine. In the plugins this can't be done, because the plugins are deploy in database.
I tried another basic test using ChannelFactory. Only want to retrieve some entity through the external web services:
IPluginExecutionContext context = localContext.PluginExecutionContext;
IOrganizationService service = localContext.OrganizationService;
ITracingService tracer = localContext.TracingService;
try
BasicHttpBinding binding = new BasicHttpBinding();
binding.Name = "BasicHttpBinding_IAxxisWcfServices";
binding.Security.Mode = BasicHttpSecurityMode.None;
binding.Security.Transport.ProxyCredentialType = HttpProxyCredentialType.None;
binding.Security.Transport.ClientCredentialType = HttpClientCredentialType.None;
EndpointAddress endpoint = new EndpointAddress(@"http://*****.svc");
ChannelFactory<IAxxisWcfServices> factory = new ChannelFactory<IAxxisWcfServices>(binding, endpoint);
IAxxisWcfServices channel = factory.CreateChannel();
var entity = channel.FindByEntities(new CRM.Application.Context.Dtos.Asegurado( { CrmGuid = "7C3E96C6-C3BC-E411-80DF-0A736AE14667" }, null, new CRM.Framework.Session() { User = "***", Password = "***" });
catch (Exception ex)
throw new InvalidPluginExecutionException(ex.Message);
That test threw the following exception on the GenericParameterAttributes of channelType of factory object:
http://s27.postimg.org/4wf3er8up/Error.png
Maybe you are looking for
-
So, I received the above message (and continue to receive it even after restartind the computer) when I try to open iTunes. To my knowledge, we did not delete any files. Anyway, I'm concerned that in reinstalling, I will lose purchsed content, specif
-
Hello, I got some problems with Windows and Bootcamp, and now I want to manual backup my Macintosh HD hard drive. My question: What exactly files should I copy/paste for these fonctions: 1.Safari bookmarks 2.Stickies That's it, I hope I am not forget
-
Content cannot be displayed in a frame
Hi there, I need your help as this is the first time I have run a server and Apple Care seems to be stumped by the issue. I am a complete novice at this. I decided to set up my own server to host email and my website. I have two domaine names: jeffha
-
Our school has four eMacs. One of them, a 1GHz, 10.3.9 Panther, 256 MB RAM, and out of warranty, has started to have a display problem. The display is showing negative colours, like white shows as black, blue shows as orange etc. This only affects ou
-
So I downloaded the single, Rap God and also pre-ordered the full album (MMLP2). The album downloaded this morning, but the single that was already downloaded is not available as part of the album. I have a 'Complete My Album' button to click, but