SOA Gateway - timeout when calling a web service custom Pl/SQL using SOAP
Hello
I developed and deployed my PL/SQL web service custom repository integration SOA Gateway.
The web service works well, but sometimes its execution time exceeds 60 seconds, and I get the following time-out error: java.net.SocketTimeOutException: Read timed out
Here's my env:
Oracle E-Business Suite integrated SOA Gateway | |
12.1.3 | |
IBM AIX on POWER Systems (64-bit) | |
6.1 |
I would like to know if there is a way to increase this time-out?
EDIT:
I took a quick glance at this doc errors of timeout in Web Services deployment (Doc ID 1073270.1( )
and modified the $ORA_CONFIG_HOME/10.1.3/opmn/conf/opmn.xml file
then bounced oacore, oafm, but it did not work.
EDIT 2:
I tried to change the timeout setting in the file httpd.conf ( $IAS_ORACLE_HOME/Apache/Apache/conf/httpd.conf )
restart apache and the server, but it didn't work.
Thank you
Kind regards
Simon
In fact, I tried to play with the values that you mentioned, I put the maximum Heap space in JAVA to 2048M and in Apache timeout to 3600 seconds and after a wait of cca. 20 minutes I got the answer I needed the SOAP service.
Kind regards
Ognjen
Tags: Oracle Applications
Similar Questions
-
Matter of business for OSB 10.3.1 when to call the web service from SAP ECC 710
Hello
1. I was a unit test for a business service that calls a web service from SAP ECC 710 (this service is published directly to a RFC function via SOA Manager module);
2. the problem is when I use the OSB test console, which generates the request below message:
< soapenv:Envelope = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv >
* < soap: Header xmlns:soap = 'http://schemas.xmlsoap.org/soap/envelope/' > *.
* < / soap: Header > *.
< soapenv:Body >
< xmlns:urn urn: Zmmjf503 = "urn: sap - com:document:sap:soap:functions:mc - style" >
string of < ContractInfo > < / ContractInfo >
< / urn: Zmmjf503 >
< / soapenv:Body >
< / soapenv:Envelope >
the response message is:
< SOAP - env:Envelope xmlns:soap - env = "http://schemas.xmlsoap.org/soap/envelope/" >
< SOAP - env:Header >
< n0:MessageID = "http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:n0 >
UUID:4cbe5b84 - 474 c-9abe-e100-00000ad00164
< / n0:MessageID >
< n1:Action SOAP - env:mustUnderstand = "1" xmlns:n1 = "http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:soap - env = "http://schemas.xmlsoap.org/soap/envelope" / >
< / soap - env:Header >
< SOAP - env:Body / >
< / soap - env:Envelope >
Above the response indicates that the BS called SAP Web server successfully, but seems that the service did not get the request message.
3. the Web service can be called successfully through SoapUI. and I checked the soapUI request message; and it can work if I just change the request:
< soapenv:Envelope = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv >
* < soap: Header = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap > < / soap: Header > *.
< soapenv:Body >
< xmlns:urn urn: Zmmjf503 = "urn: sap - com:document:sap:soap:functions:mc - style" >
string of < ContractInfo > < / ContractInfo >
< / urn: Zmmjf503 >
< / soapenv:Body >
< / soapenv:Envelope >
and I got the right answer:
< SOAP - env:Envelope xmlns:soap - env = "http://schemas.xmlsoap.org/soap/envelope/" >
< SOAP - env:Header / >
< SOAP - env:Body >
< n0:Zmmjf503Response xmlns:n0 = "urn: sap - com:document:sap:soap:functions:mc - style" >
< Recmsg > <! [CDATA [<? xml version = "1.0" encoding = "utf-8"? > < DocumentResponse > < CONDITION > 0 < / STATE > < HTBH > < / HTBH > < MESSAGE > < / MESSAGE > < / DocumentResponse >]] > < / Recmsg >
< / n0:Zmmjf503Response >
< / soap - env:Body >
< / soap - env:Envelope >
4 it bother me, because the only difference between the above two request messages is the header (one contains a "newline"):
------------------------------------------------------------------------------------------------------------------------------
* < soap: Header xmlns:soap = 'http://schemas.xmlsoap.org/soap/envelope/' > *.
* < / soap: Header > *.
-------------------------------------------------------------------------------------------------------------------------------
VS
--------------------------------------------------------------------------------------------------------------------------------------
* < soap: Header = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap > < / soap: Header > *.
----------------------------------------------------------------------------------------------------------------------------------------
5 I thought that the SOAP engine should ignore "carriage returns", seems this is a problem of SAP ECC710.
Do you have someone having this problem? Thank you
Concerning
WenHello Wen,
I tried to use exactly the same request (carriage return) to call the service through soapUI, and it does not work... just like BS OSB
should I assume that it is a matter of SAP ECC?That same demand also doesn't SOAPUI so certainly it's an issue with SAP ECC. I doubt that SAP ECC is the treatment the carriage return as an end of file marker. Check with support.
Kind regards
Anuj -
problems with the XML that is returned when you call a web service with CF11
Hi, I ran into an unusual behavior when calling web services.
I call a web service that returns an XML like this:
< children >
< child >
John < firstname > < / name >
DOE < name > < / lastname >
< / child >
< / children >
during the call to the web service of CF10, it works fine. However, when the CF11, I don't get this:
< child >
John < firstname > < / name >
DOE < name > < / lastname >
< / child >
no < child >? for some reason, CF11 ignores / hides the highest level XML. This does not happen on previous versions. Why? the server that hosts the web service's CF11 too.
Report it as a bug in Coldfusion. In any case, I recommend making sure your web service returns a string, not an XML object.
This is because a web service must be universal. Appellants to .NET, Java, PHP, ASP and so on, will interpret a chain exactly the same way. Whereas an object XML Coldfusion is a construction that is heard only in CFML.
Your return string should also start with the XML declaration, like this
John DOE So it is clear to the appellant in which brought the cat.
-
Call to Web Service of Oracle PL/SQL not to call the Web service in SOA Server
Hello
Try to call the Web service to oralce pl/sql function
created a function
Unable to invoke the web service from the server of the SOA.
CREATE or REPLACE FUNCTION HelloWorld_WebServices(S_STRING Varchar2) RETURN VARCHAR2 as
Server sys.utl_dbws. SERVICE;
APPEL_ sys.utl_dbws. CALL;
service_qname sys.utl_dbws. QNAME;
port_qname sys.utl_dbws. QNAME;
response sys. XMLTYPE;
application sys. XMLTYPE;
BEGIN
sys.utl_dbws.set_http_proxy ("hostname: Port'");
service_qname: = sys.utl_dbws.to_qname ("ns1", "process");
Server: = sys.utl_dbws.create_service (service_qname);
APPEL_: = sys.utl_dbws.create_call (server);
sys.utl_dbws.set_target_endpoint_address (APPEL_, ' http:/host name: port/soa-infra/services/OFS/HelloWorld/helloworld_client_ep ');
sys.utl_dbws.set_property (APPEL_, 'OPERATION_STYLE', 'process');
asks: = sys. XMLTYPE ("< ns1:process xmlns:ns1 ="http://xmlns.oracle.com/OFSOrderServices/HelloWorld/HelloWorld"> < ns1:input > < / ns1:input > < / ns1:process > '");
answer: = sys.utl_dbws.invoke (APPEL_, request);
return response.extract('//HelloWorld/child::text() ','http://xmlns.oracle.com/OFSOrderServices/HelloWorld/HelloWorld'). getstringval();
DBMS_OUTPUT. Put_line ("values of the OutputsVariables8");
-Of return ';
END;
Run - the code below:
Select HelloWorld_WebServices ('Hi') to double;
Error:
ORA-29532: Java call terminated by eception Java exception: java.lang.NoClassDefFoundError
ORA-06512: at "SYS." UTL_DBWS', line 403
ORA-06512: at "SYS." UTL_DBWS', line 400
ORA-06512: at the 'APPS '. HELLOWORLD_WEBSERVICES', line 74
29532 00000 - "Java call terminated by eception Java exception: %s."
* Cause: A mistake or a Java exception has been reported and could not be
solved by Java code.
* Action: Modify Java code, if this behavior is not expected.
Hello
Fixed the error
After loading once again of DBA and network provided access files JAR/JVM firewall
and the correction on the threshold
Return response.extract (' / result/child::text () ','xmlns = "http://xmlns.oracle.com/OFSOrderServices/HelloWorld/HelloWorld" '). getstringval();
-
Hello
Someone can let me know what kind of Web services, we can consume using bridge Oracle SOA that is integrated (type Type REST or SOAP).
Thank you
-Vijay G
Hello
Using the Version of the EBS: R12.1.3.
I found also that before R12.2.4 it only supports SOAP Web services and R12.2.4 supports both SOAP and REST.
Thank you
-Vijay
-
How to call the web service?
Hello
I want to know how to call the web service from my application HTML5 & javascript.
Please help me find this detail as what I can access easily. and I want to access web services online (a method of it) I'm not concered with how background Web service takes place.
I just want that when you call a web service method, I will return the result.
Please try this out for a WebService call
var xmlhttp; xmlhttp = new XMLHttpRequest(); xmlhttp.open("get","your url",true); xmlhttp.setRequestHeader("Accept","application/json"); xmlhttp.setRequestHeader("Content-type", "application/json"); xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4) { if (xmlhttp.status == 200) { console.log(xmlhttp.responseText); } } } xmlhttp.send();
This will display the result of the invocation of webservice. The url is the application that you deploy and the type can be get/post. If xmlhttp.send (post) takes argument for the display of the data. You can call it by clicking a button in HTML.
-
Hello
I am new to the development of native applications from BB using JDE. I'm testing Simulator. From my native BB app, I connect a remote URL and call a Web service method to extract some basic result XML.
I need to write a login code remote URL to achieve? If so, how?
So, how can I use this connection object to call the Web service from this URL remotely.
Please help me out of it...
Many thanks in advance...
What i am doing is, On clicking the "Login" button i want to call the webservice method like below mentioned code... Here WaveServices is a class and getAllCinemas() is a static method inside which a webservice method call is made.. loginButtonField.setChangeListener(new FieldChangeListener() { public void fieldChanged(Field paramField, int paramInt) { WaveServices.getAllCinemas(); } });
Indeed, the question was raised and answered here:
-
I have a need to call a web service from an APEX application, so I thought I'd try to experience everything first call a web service that is accessible to the public from W3Schools. The URL of the WSDL that I use is:
http://www.w3schools.com/webservices/TempConvert.asmx?WSDL
The 1st thing I try in APEX is to create a Web Service based on the above URL reference. Problem is that I get the following error:
ORA-29273: HTTP request failed ORA-12535: TNS:operation expired
Any ideas?
I even tried with some other URL WSDL and always the same exact error.
Thanks in advance.
Hello
Maybe your database server have firewall that blocks to internet connection?
Kind regards
Jari -
Call the web service with Digest authentication
Hello
I JDevelper 12.2.4, I need build the java class to call the web service with Digest authentication.
Any suggestion?
Refer to:
-
Hello
Thanks in advance for helping me to solve after publication:
I tried to run a report of OBIEE including data model comes from the layer of the ADF.
In my module of the application, I have 5 display objects:
For Ex: VO1 VO2 VO3, VO4 VO5
And I show the links between: VO1 and VO2 (lets say: VO1_VO2_VIewLink).
VO2 at VO3 ((permet de dire: VO2_VO3_VIewLink)), VO4 is related to the ((permet de dire: VO4_VO3_VIewLink) VO3) & VO5 is linked to VO3 (lets say: VO5_VO3_VIewLink)
When I deploy this application on OBIEE and run a report with objects of:
(1) VO1 and VO2-report works fine
(2) VO2 and VO3 -report works fine
(3) VO4 and VO3 -report works fine
(4) VO5 and VO3 -report works fine
(5) VO1, VO2, VO3 -report works fine
It is when I run the report with the objects of
VO1 and VO2 VO3 VO4, it throws an error message:
"Error occurs when calling remote ADFService11G service. Details: ADFException-3007: The ViewObject "AppModule.VO3" is used as a destination more than a ViewLink. (HY000) »
OBIEE Version is: 11.1.1.7.0 (with no patches) basis data: 11 GR 2, Jdev:11.1.1.7.0
Kind regards
RAM.
I was able to resolve this error by changing my AppModule datamodel application, by changing the cardinality between VO3 and any other 1: n VO (VO3) to 1 (VO3): n. making VO3 as source VO object rather than view destination object.
Kind regards
RAM.
-
Call web service from pl/sql
Dear all,
I have the web service where I need to take the picture as a binary stream and insert it into the blob.
What is the best way to call the web service and store a photo as a binary stream (jpg file) into blob?
Kind regards
E.852611 wrote:
Thank you very much for helping me to invoke the web service in my database.I received the message, now I need to decode an image base64binary. Is it possible to make hollow pl/sql or java should I use?
PL/SQL. No need for Java.
An example of how encoding works is in {message identifier: = 10364104}. You simply do the reverse (decoding) that makes the example code (coding).
-
call a Web Service of JavaFX running als WebStart to incorporate in a browser or
Call a Web Service from a JavaFX running as an application all right.
Wenn execute the same JavaFX as integrate WebStart or browser, I get a runtime exception:
=================================
Java plug-in 10.7.2.10
JRE-Version use 1.7.0_07 - b10 Microsoft Client Java VM
Benutzer-home-Verzeichnis = C:\Users\Olaf
----------------------------------------------------
c: Konsolenfenster löschen
f: objects in Finalisierungs-tail finalisieren
g: garbage collection
h: sharp Hilfemeldung ads
l: class Loader-list ausgeben
m: Speicherauslastung print
o: logging auslosen
q: Konsole ausblenden
r: policy configuration loaded neu
s: System-und deployment-Akbulak ausgeben
t: Threadliste ausgeben
v: the ausgeben thread stack
x: Class-Loader-Cache leeren
0-5: trace-ebony auf < n > set
----------------------------------------------------
Correspondence: beginTraversal
Match: digest selected JREDesc: JREDesc [version 1.6 +, heap =-1-1, args = null, href = http://java.sun.com/products/autodl/j2se, salt = false, null, null], JREInfo: JREInfo of index 0:
the platform is: 1.7
product: 1.7.0_07
location: http://java.sun.com/products/autodl/j2se
path is: C:\Program Files (x86)\Java\jre7\bin\javaw.exe
args is:
is native platform: Windows x 86 (x 86, 32-bit)
JavaFX runtime is: JavaFX 2.2.0 found at C:\Program Files (x 86) \Java\jre7\
the Enabled argument is: true
saved is: false
system is: true
Match: ignoring maxHeap:-1
Match: ignoring InitHeap:-1
Match: digestion vmargs: null
Match: digested vmargs: [JVMParameters: isSecure: true, args:]
Match: JVM args after accumulation: [JVMParameters: isSecure: true, args:]
Match: Digest LaunchDesc: file:/C:/Users/Olaf/Documents/NetBeansProjects/JavaFXApplication4/dist/JavaFXApplication4.jnlp
[Match: Digest properties:]
Match: JVM args: [JVMParameters: isSecure: true, args:]
Match: endTraversal...
Match: JVM args final:
Correspondence: Correspondence of Running JREInfo Version: 1.7.0.07 == 1.7.0.07
Match: Running JVM args match: I: <>satisfy fault: <>
CacheEntry[file:/C:/Users/Olaf/Documents/NetBeansProjects/JavaFXApplication4/dist/JavaFXApplication4.jar]: updateAvailable = true, lastModified = Tue Sep 04 21:16:35 CEST 2012, length = 39432
java.lang.ExceptionInInitializerError
at com.sun.xml.internal.ws.util.xml.XmlUtil.createDefaultCatalogResolver (unknown Source)
at com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL (unknown Source)
to com.sun.xml.internal.ws.client.WSServiceDelegate. < init >(Unknown Source)
to com.sun.xml.internal.ws.client.WSServiceDelegate. < init >(Unknown Source)
at com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate (unknown Source)
to javax.xml.ws.Service. < init >(Unknown Source)
to javafxapplication4.ws.NewWebService_Service. < init > (NewWebService_Service.java:42)
to javafxapplication4. JavaFXApplication4.start (JavaFXApplication4.java:25)
to com.sun.javafx.applet.FXApplet2$ 1.run(FXApplet2.java:131)
to com.sun.javafx.application.PlatformImpl$ 4.run(PlatformImpl.java:173)
at com.sun.glass.ui.win.WinApplication._runLoop (Native Method)
in com.sun.glass.ui.win.WinApplication.access$ 100 (WinApplication.java:29)
to com.sun.glass.ui.win.WinApplication$ $2 1.run(WinApplication.java:67)
at java.lang.Thread.run (unknown Source)
Caused by: java.security.AccessControlException: access denied ("java.util.PropertyPermission" 'xml.catalog.ignoreMissing', 'read')
at java.security.AccessControlContext.checkPermission (unknown Source)
at java.security.AccessController.checkPermission (unknown Source)
at java.lang.SecurityManager.checkPermission (unknown Source)
the impossible (unknown Source)
the impossible (unknown Source)
to com.sun.org.apache.xml.internal.resolver.CatalogManager. < init >(Unknown Source)
to com.sun.org.apache.xml.internal.resolver.CatalogManager. < clinit >(Unknown Source)
... 14 more
======================================================
Any hint for me.
THX
OLAFSign your application.
http://docs.Oracle.com/JavaFX/2/deployment/deploy_overview.htm#CEGJGHDA
-
the initialization of a variable in a bpel workflow to call another web service
Hello
I'm fairly new development bpel. I don't have a early created myself but unfortunately, I only got to work on existing projects from now on. I am wanting to add an invocation of another web service to an existing bpel service. I added the wsdl for .bpel and composite.xml files info, and I can see the operations, so my plan is to see the service properly, and I created the necessary links.
I just need to initialize the variables that I'm passing on this web service. Basically need to invoke the web service passing in xml format that would go into these elements:
< ns1:dataRequest >
< ns1:appName > < / ns1:appName >
< ns1:progName > < / ns1:progName >
< ns1:valueUsed > < / ns1:valueUsed >
< ns1:setting > < / ns1:setting >
< / ns1:dataRequest >
Can someone just point me in the right direction on this. I think I need to create a new .wsdl file that I've read so far, but I have a lot of time looking for this problem - it is low on my priorities. So I thought that it might accelerate things to go ahead and ask here before I dive into it later.
Thank youHello
As far as I get your situation is you want to call a web service from BPEL process existing. Here are the steps that you can follow.
(1) create a partner link in the BPEL process that calls the external Web service.
(2) create an activiyt to invoke in BPEL process that invokes the foregoing created partner link
(3) create an Assign activity that initializes the variable which is an entry to invoke activity.Let me know if you have confusion with this approach.
Thank you
AJ -
Using CFHTTP to call a web service
We use a CF5 server and will not update to MX anytime soon. I need to call a web service and understand that I can do that with CFHTTP. Can someone direct me to any docs or give me examples of how to do that?Answered my own question. The problem I had was returning complex data types. CFHTTP. FILECONTENT actually returned as WDDX MX web service, so I was able to use the CFWDDX tag to transform a structure of SOAP in a CF structure, and it works perfectly.
-
Calling web services from PL/SQL
Hello
We have a requirement where we need to call a WebService from PL/SQL.
I believe that we have an API of PL/SQL, which allows you to use external web services.
I was looking for other possible options as to consume the web Service of PL/SQL.
The one you suggest other options, and what option is best to consume the web service.
Thank you
ABHello
I used the http of the utl package.
Apart from this you can also use java stored procedure. I haven't used this approach, but I found a blog for the same:http://technology.AMIS.nl/Blog/348/consuming-Web-services-from-PLSQL-part-i-using-Java-stored-procedures
Kind regards
Ketan
Maybe you are looking for
-
How to capture movies with Qosmio F10-125
A few days ago there was a post saying that good news for the capture has been discovered. I think that most of you have read and tried to use it. There was a link in it where all the problems of capture have been resolved. My problem is that this li
-
Unable to connect to EA SW BattleFront R7000 servers
So, I've been on the phone with the support of netgear for 2 hours and still have not been able to understand. I called the support of EA and configured all the ports for port forwarding, they told me also. I called my ISP, they checked everything an
-
Compaq Presario SR2172NX: battery
I need to buy a battery for my SR2172NX desktop PC. Should what information I buy the correct battery? Thank you very much for any help.
-
Beats audio works is not in windows 8.1
Hello I have a HP envy 6 1030 - sq ultrabook, running windows 8.1 and my audio beats no longer works. Can you provide me with a solution? Best regards Tudor Costea
-
I tried to go to windows update but redirected to micrsoft support page, which offers no SP2 and SP3 for windows XP Pro, and yet I don't have a network of computers running windows XP Pro download the SPs would be a disater as it is intended for more