Setting timeout in Oracle Web Service Callouts
We have a 10.1.0.4 Enterprise DB with dbwsclient.jar loaded. Currently using the database callouts. The problem is there seems to be no timeout when the called web service does not respond. I did not see a setting for the socket timeout in the code produced by JPublisher.
Thanks
Hi,
Where the properties need to be put and how can they be read really depends on how your Web Service is implemented. What is the WS based on - EJB, POJO, PL/SQL, JMS...?
Yogesh
Similar Messages
-
Set timeout for dynamic web service call in wls
Hi,
I have a dynamic client using Call interface to invoke 3rd party web service. How can I set the timeout for the call? I know there is a property to set for static client.
ThanksHave you checked out the stub properties:
weblogic.wsee.transport.connection.timeout
weblogic.wsee.transport.read.timeout
http://edocs.beasys.com/wls/docs92/webserv/client.html#wp228628 -
Error in Calling Oracle Web Service through Eclipse-indigo
Hi All,
I'm getting an below error when trying to call my oracle web service through Eclipse-indigo.
Error:-
IWAB0135E An unexpected error has occurred.
502
Bad Gateway
Steps followed to create oracle web service and invoke WS :-
Followed link
http://docs.oracle.com/cd/B28359_01/appdev.111/b28369/xdb_web_services.htm
which explans how to create oracle web service.
1. Configure HTTP Access
2. Configure the ORAWSV Servlet
3. created user 'test' and wrote simple procedure getdescription which will return name for request id.
4. granted all privilages to user.
5. The orawsv servlet automatically generates a WSDL file.
6. trying to call WS through Eclipse-indigo, but i get error.Trying to test via PL/SQL first via (see the following url for more info: Re: Using utl_dbws to call web service ) for example something like the following:
SQL> set serveroutput on
SQL> --
SQL> def USERNAME=DBNWS
SQL> --
SQL> DECLARE
2 V_SOAP_REQUEST XMLTYPE := XMLTYPE(
3 '<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/
encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
4 <SOAP-ENV:Body>
5 <m:SNUMBER-GET_SQRTInput xmlns:m="http://xmlns.oracle.com/orawsv/&USERNAME/GET_SQRT">
6 <m:INPUT_VALUE-NUMBER-IN>2</m:INPUT_VALUE-NUMBER-IN>
7 </m:SNUMBER-GET_SQRTInput>
8 </SOAP-ENV:Body>
9 </SOAP-ENV:Envelope>');
10 V_SOAP_REQUEST_TEXT CLOB := V_SOAP_REQUEST.getClobVal();
11 V_REQUEST UTL_HTTP.REQ;
12 V_RESPONSE UTL_HTTP.RESP;
13 V_BUFFER VARCHAR2(1024);
14 BEGIN
15
16 V_REQUEST := UTL_HTTP.BEGIN_REQUEST(URL => :URL, METHOD => 'POST');
17 UTL_HTTP.SET_HEADER(V_REQUEST, 'User-Agent', 'Mozilla/4.0');
18 V_REQUEST.METHOD := 'POST';
19 UTL_HTTP.SET_HEADER (R => V_REQUEST, NAME => 'Content-Length', VALUE => DBMS_LOB.GETLENGTH(V_SOAP_REQUEST_TEXT));
20 UTL_HTTP.WRITE_TEXT (R => V_REQUEST, DATA => V_SOAP_REQUEST_TEXT);
21
22 V_RESPONSE := UTL_HTTP.GET_RESPONSE(V_REQUEST);
23 LOOP
24 UTL_HTTP.READ_LINE(V_RESPONSE, V_BUFFER, TRUE);
25 DBMS_OUTPUT.PUT_LINE(V_BUFFER);
26 END LOOP;
27 UTL_HTTP.END_RESPONSE(V_RESPONSE);
28 EXCEPTION
29 WHEN UTL_HTTP.END_OF_BODY THEN
30 UTL_HTTP.END_RESPONSE(V_RESPONSE);
31 END;
32 /
old 5: <m:SNUMBER-GET_SQRTInput xmlns:m="http://xmlns.oracle.com/orawsv/&USERNAME/GET_SQRT">
new 5: <m:SNUMBER-GET_SQRTInput xmlns:m="http://xmlns.oracle.com/orawsv/DBNWS/GET_SQRT">
<?xml version="1.0" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GET_SQRTOutput xmlns="http://xmlns.oracle.com/orawsv/DBNWS/GET_SQRT">
<RETURN>1.41421356237309504880168872420969807857</RETURN>
</GET_SQRTOutput>
</soap:Body>
</soap:Envelope>
PL/SQL procedure successfully completed.
SQL> set serveroutput on
SQL> --In the example give above the WSDL info should be seen via http://xmlns.oracle.com/orawsv/DBNWS/GET_SQRT?wsdl -
Invoking a web service not created using oracle web service lib
Hi All,
I have a need to invoke my web service from oracle sql command. My web service not created using oracle web service library, but it is created using axis c++ libraries. Is it possible to do so,
Thanks in advance,
Regards,
MonicaIn order to call out from the database process, is SQL (or PL/SQL) you need to generate some client code, that understand the details about the specific of the service you want to invoke and can produce the correct SOAP request. Once this proxy is uploaded in the Database, you can use it.
There is a set of Database Web services samples that should help you get started. You can also take a look at the developer's guide - see Developing a Web Service Client in the Database.
Hope it answers your question.
--eric -
Failed to Install the "Oracle Web Services Manager Configuration Assistant"
The installation of "Oracle Web Services Manager Configuration Assistant" was failed when I installed the "Oracle SOA Suite 10.1.3.1.0" ,and the failure information about the installation in the log show as follows, I need your help,thanks a lot!
start-olite:
Starting OLite in background ...
Running:D:\product\10.1.3.1\OracleAS_1\integration\esb\sql\other\wfeventc.sql
Exception in thread "main" oracle.tip.esb.install.exception.InstallationDBException: Failed to execute sql file"D:\product\10.1.3.1\OracleAS_1\integration\esb\sql\other\wfeventc.sql"
at oracle.tip.esb.install.db.RunSQLScript.runScript(Unknown Source)
at oracle.tip.esb.install.db.RunSQLScript.runScriptListInternal(Unknown Source)
at oracle.tip.esb.install.db.RunSQLScript.runScriptList(Unknown Source)
at oracle.tip.esb.install.db.NonOracleDB.runScripts(Unknown Source)
at oracle.tip.esb.install.db.OLite.install(Unknown Source)
at oracle.tip.esb.install.db.InstallerMain.main(Unknown Source)
Caused by: java.sql.SQLException: [POL-3023] ????????
at oracle.lite.poljdbc.LiteThinJDBCConnection.thinSQLError(Unknown Source)
at oracle.lite.poljdbc.LiteThinJDBCConnection.thinDriverConnect(Unknown Source)
at oracle.lite.poljdbc.LiteThinJDBCConnection.connect(Unknown Source)
at oracle.lite.poljdbc.LiteThinJDBCFactory.createConnection(Unknown Source)
at oracle.lite.poljdbc.POLJDBCConnection.<init>(Unknown Source)
at oracle.lite.poljdbc.OracleConnection.<init>(Unknown Source)
at oracle.lite.poljdbc.POLJDBCDriver.connect(Unknown Source)
at oracle.tip.esb.install.db.DriverManagerDataSource.getConnection(Unknown Source)
... 6 more
Java Result: 1
Importing Default System ...
${env.PCHOME}
stop-olite:
Stopping background OLite process ...
CA::DEBUG:******:Finished OLite Install ...
Finished Olite configuration ...
BUILD SUCCESSFUL
Total time: 12 seconds
Exit: 0
TASK: oracle.tip.esb.install.tasks.ConfigureOC4J
Configuring OC4J ...
id value is 2
id value is IASPT
process-type value is 1
id value is 3
id value is IASPT
id value is 3
id value is ASG
process-type value is 1
id value is 2
id value is ASG
id value is 1
id value is default_group
process-type value is 1
id value is 3
id value is home
process-type value is 1
process-type value is 2
process-type value is 1
final map size value is 2
id value is -Xrs -server -XX:MaxPermSize=128M -ms512M -mx1024M -XX:AppendRatio=3 -Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false
Jun 22, 2010 2:39:09 PM oracle.tip.esb.install.tasks.ConfigureOC4J getOpmnRequestPort
INFO: Port value is 6003
D:\product\10.1.3.1\OracleAS_1\jdk\bin\java -Dant.home=D:\product\10.1.3.1\OracleAS_1\ant -classpath D:\product\10.1.3.1\OracleAS_1\ant\lib\ant.jar;D:\product\10.1.3.1\OracleAS_1\ant\lib\ant-launcher.jar;D:\product\10.1.3.1\OracleAS_1\integration\esb\lib\ant-contrib-1.0b1.jar org.apache.tools.ant.Main -Dinstall.type=SoaBasic -Desb.home=D:\product\10.1.3.1\OracleAS_1\integration\esb -Doc4j.home.dir=D:\product\10.1.3.1\OracleAS_1 -Djava.home=D:\product\10.1.3.1\OracleAS_1\jdk -Doracle.home=D:\product\10.1.3.1\OracleAS_1 -Dhost.name=dpxc67-01 -Ddb.vendor=olite -Dimport.export.db_url=jdbc:polite4@localhost:1531:oraesb -Desb.appserver=ias_10.1.3 -Doc4j.design_time_host=dpxc67-01 -Doc4j.design_time_port=8888 -Dprimary.container=home -Dinstall.mode=OracleInstallerias_10.1.3_SoaBasic -Dsso=true -Dinstall.component=install-developer -Dias.name=soademo.dpxc67-01 -Denv.OC4J_STANDALONE_HOME=D:\product\10.1.3.1\OracleAS_1 -Dias_admin.password=*password cannot be displayed* -Denv.JAVA_HOME=D:\product\10.1.3.1\OracleAS_1\jdk -Denv.SERVER_ADMIN_PASSWORD=*password cannot be displayed* -Dopmn.requestport=6003 -Ddb.vendor=olite -Ddb.connect.string=jdbc:polite4@localhost:1531:oraesb -Ddb.username=system -Dias.virtual_host=dpxc67-01 -Denv.DB_USER=system -Denv.DB_URL=jdbc:polite4@localhost:1531:oraesb -Desb.oc4j.container=home -Denv.DB_PASSWORD=*password cannot be displayed* -Ddb.password=*password cannot be displayed* -e -buildfile esbinstall.xml deploy-applications
Buildfile: esbinstall.xml
Trying to override old definition of datatype echoproperties
common_update_server.xml:
Adding shared library apache.junit ...
Adding shared library oracle.db.lite ...
Adding shared library apache.commons 10.1.3 ...
Adding shared library apache.jdom ...
Adding shared library apache.slide ...
Running batch script by:
java admin_client.jar deployer:oc4j:opmn://dpxc67-01:6003/home -script D:\product\10.1.3.1\OracleAS_1\integration\esb\install\ant-tasks/esb_admin_client_script_sl.txt
publishSharedLibrary command was successful
publishSharedLibrary command was successful
publishSharedLibrary command was successful
publishSharedLibrary command was successful
publishSharedLibrary command was successful
publishSharedLibrary command was successful
update_server.xml:
Adding shared library oracle.esb ...
deployer.url: deployer:oc4j:opmn://dpxc67-01:6003/home
publishSharedLibrary command was successful
deploy-applications:
Deploying ESB design time ...
Binding ESB design time ...
Deploying ESB run time ...
Binding ESB runtime ...
Deploying orainfra.ear ...
Binding orainfra ...
Running batch script by:
java admin_client.jar deployer:oc4j:opmn://dpxc67-01:6003/home -script D:\product\10.1.3.1\OracleAS_1\integration\esb\install\ant-tasks/esb_deployapps.txt
10/06/22 14:39:20 Notification ==>Application Deployer for esb-dt STARTS.
10/06/22 14:39:20 Notification ==>Copy the archive to D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\esb-dt.ear
10/06/22 14:39:20 Notification ==>Initialize D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\esb-dt.ear begins...
10/06/22 14:39:20 Notification ==>Unpacking esb-dt.ear
10/06/22 14:39:21 Notification ==>Done unpacking esb-dt.ear
10/06/22 14:39:21 Notification ==>Unpacking esb_console.war
10/06/22 14:39:22 Notification ==>Done unpacking esb_console.war
10/06/22 14:39:22 Notification ==>Unpacking esb-jca-dt.rar
10/06/22 14:39:22 Notification ==>Done unpacking esb-jca-dt.rar
10/06/22 14:39:22 Notification ==>Initialize D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\esb-dt.ear ends...
10/06/22 14:39:22 Notification ==>Starting application : esb-dt
10/06/22 14:39:22 Notification ==>Initializing ClassLoader(s)
10/06/22 14:39:22 Notification ==>Initializing EJB container
10/06/22 14:39:22 Notification ==>Loading connector(s)
10/06/22 14:39:22 Notification ==>Starting up resource adapters
10/06/22 14:39:23 Notification ==>Warning. Unable to set up connection factory to location esb-dt for a resource adapter in {1}
10/06/22 14:39:23 Notification ==>Initializing EJB sessions
10/06/22 14:39:23 Notification ==>Committing ClassLoader(s)
10/06/22 14:39:23 Notification ==>Initialize esb_console begins...
10/06/22 14:39:23 Notification ==>Initialize esb_console ends...
10/06/22 14:39:23 Notification ==>Started application : esb-dt
10/06/22 14:39:23 Notification ==>Application Deployer for esb-dt COMPLETES. Operation time: 2875 msecs
10/06/22 14:39:23 Notification ==>Application Deployer for esb-rt STARTS.
10/06/22 14:39:23 Notification ==>Copy the archive to D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\esb-rt.ear
10/06/22 14:39:23 Notification ==>Initialize D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\esb-rt.ear begins...
10/06/22 14:39:23 Notification ==>Unpacking esb-rt.ear
10/06/22 14:39:23 Notification ==>Done unpacking esb-rt.ear
10/06/22 14:39:23 Notification ==>Unpacking provider-war.war
10/06/22 14:39:23 Notification ==>Done unpacking provider-war.war
10/06/22 14:39:23 Notification ==>Unpacking esb-jca-rt.rar
10/06/22 14:39:23 Notification ==>Done unpacking esb-jca-rt.rar
10/06/22 14:39:23 Notification ==>Initialize D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\esb-rt.ear ends...
10/06/22 14:39:23 Notification ==>Starting application : esb-rt
10/06/22 14:39:23 Notification ==>Initializing ClassLoader(s)
10/06/22 14:39:23 Notification ==>Initializing EJB container
10/06/22 14:39:23 Notification ==>Loading connector(s)
10/06/22 14:39:23 Notification ==>Starting up resource adapters
10/06/22 14:39:23 Notification ==>Warning. Unable to set up connection factory to location esb-rt for a resource adapter in {1}
10/06/22 14:39:23 Notification ==>Initializing EJB sessions
10/06/22 14:39:23 Notification ==>Committing ClassLoader(s)
10/06/22 14:39:23 Notification ==>Initialize provider-war begins...
10/06/22 14:39:23 Notification ==>Initialize provider-war ends...
10/06/22 14:39:23 Notification ==>Started application : esb-rt
10/06/22 14:39:23 Notification ==>Application Deployer for esb-rt COMPLETES. Operation time: 203 msecs
10/06/22 14:39:24 Notification ==>Application Deployer for orainfra STARTS.
10/06/22 14:39:24 Notification ==>Copy the archive to D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\orainfra.ear
10/06/22 14:39:24 Notification ==>Initialize D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\orainfra.ear begins...
10/06/22 14:39:24 Notification ==>Unpacking orainfra.ear
10/06/22 14:39:24 Notification ==>Done unpacking orainfra.ear
10/06/22 14:39:24 Notification ==>Unpacking orainfra.war
10/06/22 14:39:24 Notification ==>Done unpacking orainfra.war
10/06/22 14:39:24 Notification ==>Initialize D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\orainfra.ear ends...
10/06/22 14:39:24 Notification ==>Starting application : orainfra
10/06/22 14:39:24 Notification ==>Initializing ClassLoader(s)
10/06/22 14:39:24 Notification ==>Initializing EJB container
10/06/22 14:39:24 Notification ==>Loading connector(s)
10/06/22 14:39:24 Notification ==>Starting up resource adapters
10/06/22 14:39:24 Notification ==>Initializing EJB sessions
10/06/22 14:39:24 Notification ==>Committing ClassLoader(s)
10/06/22 14:39:24 Notification ==>Initialize orainfra begins...
10/06/22 14:39:24 Notification ==>Initialize orainfra ends...
10/06/22 14:39:24 Notification ==>Started application : orainfra
10/06/22 14:39:24 Notification ==>Application Deployer for orainfra COMPLETES. Operation time: 219 msecs
dehydrationStore:
Configuring data sources for olite dehydration store ...
${env.PCHOME}
install-developer:
design time host dpxc67-01
design time port 8888
primary container home
the host is dpxc67-01and the port is 8888
Exception in thread "main" oracle.tip.esb.install.exception.InstallationDBException: Connection Refused ""
at oracle.tip.esb.install.db.NonOracleDB.runConnectionTest(Unknown Source)
at oracle.tip.esb.install.db.NonOracleDB.load(Unknown Source)
at oracle.tip.esb.install.ESBInstaller.setupDB(Unknown Source)
at oracle.tip.esb.install.ESBInstaller.handleDesignTimeSpecificActions(Unknown Source)
at oracle.tip.esb.install.ESBInstaller.main(Unknown Source)
Caused by: java.sql.SQLException: [POL-3023] ????????
at oracle.lite.poljdbc.LiteThinJDBCConnection.thinSQLError(Unknown Source)
at oracle.lite.poljdbc.LiteThinJDBCConnection.thinDriverConnect(Unknown Source)
at oracle.lite.poljdbc.LiteThinJDBCConnection.connect(Unknown Source)
at oracle.lite.poljdbc.LiteThinJDBCFactory.createConnection(Unknown Source)
at oracle.lite.poljdbc.POLJDBCConnection.<init>(Unknown Source)
at oracle.lite.poljdbc.OracleConnection.<init>(Unknown Source)
at oracle.lite.poljdbc.POLJDBCDriver.connect(Unknown Source)
at oracle.tip.esb.install.db.DriverManagerDataSource.getConnection(Unknown Source)
... 5 more
Java Result: 1
Copying 1 file to D:\product\10.1.3.1\OracleAS_1\j2ee\home\lib\ext
set_app_sso_option:
Using sso=true. Redeploying esb-dt with sso
Copying 1 file to D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\esb-dt\META-INF
Copying 1 file to D:\product\10.1.3.1\OracleAS_1\j2ee\home\application-deployments\esb-dtIt could be due to system language setting -
install SOA Suite failed
Regards,
Anuj -
ORACLE.FDK.FEATURENOTENABLED error in Oracle Web Services
I downloaded Oracle Web Services (10.1.2) sample code from the link - http://www.oracle.com/technology/products/cs/developer/contentservicesdev/contenservicesdevkit.html to upload documents into OCS. I modified the properties file (ws.properties) and UploadDownload.java for environment specific details.
I executed the UploadDownload class file as a standalone file. Sometimes it executes fine and the file gets uploaded. But sometimes an error occurs expecially when it trys to authenticate the user using RemoteLoginManager.login() method.
But the next time when I execute the file without modifying any file, it runs
successfully.
The error message is
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: ORACLE.FDK.UnexpectedError:ORACLE.FDK.FeatureNotEnabledRemoteLoginManager:
Tip Cleartext authentication works only through HTTPS unless you change the domain property IFS.DOMAIN.WS.CleartextAuthenticationRequiresHttps to false. Use the Oracle Enterprise Manager 10g
Application Server Control for Collaboration Suite (Oracle Collaboration Suite Control) to modify domain properties;
click Content on the Collaboration Suite Home page, then click Domain Properties. You must restart the domain once
you modify this property. Using RemoteLoginManager.login() over HTTP without setting this property to false will likely
result in a FeatureNotEnabled exception. -
Confirming method to secure web services through oracle web service manager
Hi All,
I am just wondering about the method to secure web service through oracle web service manager.
I have a unsecure web service "helloworld" which is deployed on JWSDP1.6 toolkit.I want to secure it through oracle web service manager.
Inorder to secure this unsecure web service,I use gateway(web service manager for securing web service using message level security through certificate).
So when client want to access the helloworld service,it contacts the gateway securely and gateway intern connect to original web service after decrypting and verification of the signature.When gateway gets response from the web service,it signs the response message and then encrypt and passs on to the client.
So my question is,is it the right way to secure web service?
As I am getting the following fault exception :
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode "http://schemas.oblix.com/ws/2003/08/Faults">c</faultcode>
<faultstring>Step execution failed with an exception
</faultstring>
<detail></detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
I checked the log at :
C:\coresv_install_home\external\oc4j-10.1.2.0.0\j2ee\home\log\http-web-access
but there is no helpful information available.Thanks for any help.
KashHi Rajesh,
Thanks for your reply.I am using the following policy steps:
1)for Request (Decrypt and Verify signature).
2)for Response(Sign Message and Encrypt).
The configuration for Request is shown below:
Pipeline "Request"
Pipeline Steps:
Start Pipeline
Log
Decrypt and Verify Signature
Basic Properties Type Default Value
Enabled (*) boolean true true
XML Decryption Properties Type Default Value
Decryptor''s keystore location (*) string C:\Sun\jwsdp-2.0\xws-security\etc\server-keystore.jks
Decrypt Keystore Type (*) string jks jks
Decryptor''s keystore password string *******
Decryptor''s private-key alias (*) string s1as
Decryptor''s private-key password string *******
Enforce Encryption (*) boolean true true
XML Signature Verification Properties Type Default Value
Verifying Keystore location (*) string C:\Sun\jwsdp-2.0\xws-security\etc\server-truststore.jks
Verifying Keystore type (*) string jks jks
Verifying Keystore password string *******
Signer''s public-key alias (*) string xws-security-client
Enforce Signing (*) boolean true true
End Pipeline
And the configuration for Response is shown below:
Pipeline "Response"
Pipeline Steps:
Start Pipeline
Log
Sign Message and Encrypt
Basic Properties Type Default Value
Enabled (*) boolean true true
Signing Properties Type Default Value
Signing Keystore location (*) string C:\Sun\jwsdp-2.0\xws-security\etc\server-keystore.jks
Signing Keystore Type (*) string jks jks
Signing Keystore password string *******
Signer''s private-key alias (*) string s1as
Signer''s private-key password string *******
Signed Content (*) string BODY BODY
Sign XPATH Expression string
Sign XML Namespace string[]
Encryption Properties Type Default Value
Encryption Keystore location (*) string C:\Sun\jwsdp-2.0\xws-security\etc\server-truststore.jks
Encrypt Keystore Type (*) string jks jks
Encryption Keystore password string *******
Decryptor''s public-key alias (*) string xws-security-client
Encrypted Content (*) string BODY BODY
Encrypt XPATH Expression string
Encrypt XML Namespace string[]
End Pipeline
I checked the log again but nothing useful there,it is just giving the following values:
2006-08-14 16:32:50,372 INFO [Thread-21] mstore.OLiteMStore - SELECT MEASUREMENT_STR FROM MEASUREMENT_PERSISTED_STORE WHERE ID=? FOR UPDATE
2006-08-14 16:34:50,364 INFO [Thread-16] mstore.OLiteMStore - INSERT INTO MEASUREMENT_PERSISTED_STORE (ID,DEF_ID,CONTEXT_ID,PARENT_CONTEXT_ID,TIME,STORETIME,KEY0,KEY1,KEY2,KEY3,KEY4,KEY5,KEY6,KEY7,KEY8,KEY9,KEY10,KEY11,KEY12,KEY13,KEY14,KEY15,KEY16,KEY17,KEY18,KEY19,KEY20,KEY21,KEY22,KEY23,KEY24,KEY25,KEY26,KEY27,KEY28,KEY29,KEY30,KEY31,KEY32,KEY33,KEY34,KEY35,KEY36,KEY37,KEY38,KEY39,DBM0,MEASUREMENT_STR) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,'R',empty_clob())
2006-08-14 16:34:50,364 INFO [Thread-16] mstore.OLiteMStore - SELECT MEASUREMENT_STR FROM MEASUREMENT_PERSISTED_STORE WHERE ID=? FOR UPDATE
Any help would be appreciated.Thanks.
Kash -
Problem setting up the UCP Web Service
I am new to CISCO and my first project is to set up the UCP Web Service. I don't have access to the web interface on ACS but I was told that acs config-web-interface ucp enable was run.
I have in the UCP file on tomcat
C:\Tomcat 7.0\webapps\ROOT\UCP
within the UCP file I have :
META-INF
pythonImport
pythonUCP
WEB-INF
index.jsp
wsdl.xml
With that set up I get to the index.jsp page. When I put the information in I get the following error message:
HTTP Status 404 - /UCP/UcpServlet
type Status report
message /UCP/UcpServlet
description The requested resource (/UCP/UcpServlet) is not available
I am sure I have done some sad and strange things. Can someone point me in the right direction? A simple stupid one at that...
Thank you so muchHi,
Is there solution for this issue? I also have encounter similar problem:
An error occurred at line: [14] in the generated java file: [C:\Program Files\Apache Software Foundation\Tomcat 7.0\work\Catalina\localhost\_\org\apache\jsp\indexacs_jsp.java]
Only a type can be imported. com.cisco.nm.acs.mgmt.common.version.VersionFileReader resolves to a package
An error occurred at line: 23 in the jsp file: /indexacs.jsp
VersionFileReader cannot be resolved
It's seems there is a missed library (VersionFileReader) for JSP, does anyone can guide me to find it?
Thanks,
Rp -
Nyone who had success using sign-encrypt policy(oracle web service manager)
Hi All,
I could not succeed in using sign Message and Encrypt and decrypt and verify signature policy using oracle web services manager.So I would be grateful if somebody who had success in using it would shed light on its use.
Basically,I am using the following policy steps in securing a helloworld web service using gateway(oracle web services manager) :
1)for Request (Decrypt and Verify signature).
2)for Response(Sign Message and Encrypt).
The configuration for Request is shown below:
Pipeline "Request"
Pipeline Steps:
Start Pipeline
Log
Decrypt and Verify Signature
Basic Properties Type Default Value
Enabled (*) boolean true true
XML Decryption Properties Type Default Value
Decryptor''s keystore location (*) string C:\Sun\jwsdp-2.0\xws-security\etc\server-keystore.jks
Decrypt Keystore Type (*) string jks jks
Decryptor''s keystore password string *******
Decryptor''s private-key alias (*) string s1as
Decryptor''s private-key password string *******
Enforce Encryption (*) boolean true true
XML Signature Verification Properties Type Default Value
Verifying Keystore location (*) string C:\Sun\jwsdp-2.0\xws-security\etc\server-truststore.jks
Verifying Keystore type (*) string jks jks
Verifying Keystore password string *******
Signer''s public-key alias (*) string xws-security-client
Enforce Signing (*) boolean true true
End Pipeline
And the configuration for Response is shown below:
Pipeline "Response"
Pipeline Steps:
Start Pipeline
Log
Sign Message and Encrypt
Basic Properties Type Default Value
Enabled (*) boolean true true
Signing Properties Type Default Value
Signing Keystore location (*) string C:\Sun\jwsdp-2.0\xws-security\etc\server-keystore.jks
Signing Keystore Type (*) string jks jks
Signing Keystore password string *******
Signer''s private-key alias (*) string s1as
Signer''s private-key password string *******
Signed Content (*) string BODY BODY
Sign XPATH Expression string
Sign XML Namespace string[]
Encryption Properties Type Default Value
Encryption Keystore location (*) string C:\Sun\jwsdp-2.0\xws-security\etc\server-truststore.jks
Encrypt Keystore Type (*) string jks jks
Encryption Keystore password string *******
Decryptor''s public-key alias (*) string xws-security-client
Encrypted Content (*) string BODY BODY
Encrypt XPATH Expression string
Encrypt XML Namespace string[]
End Pipeline
But I am getting the following fault exception while accessing this secure web service :
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode "http://schemas.oblix.com/ws/2003/08/Faults">c</faultcode>
<faultstring>Step execution failed with an exception
</faultstring>
<detail></detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
I would appreciate your help.Thanks.
KashHi clemens,
Actually I installed OracleWebServices_Manager_4_0_3 and I see my installation directory does not contain any of the directory structure you mention.
It installed oracle web services manager in the following location:
C:\coresv_install_home
and it contains the following subdirectories:
1)bin
2)config
3)db
4)ears
5)external
6)extlicences
7)lib
8)samples
9)scripts
10)wars
So I like to ask did you install the same version of the oracle web services manager, if not which version you install in which security is working for you.Thanks for any help.
Kash -
Gateway in Oracle Web Service Manager
Hi,
Does anybody know a really usable document for gateways in Oracle Web Service Manager?
I tried to use the common Oracle's document to create a gateway and counfigure a tomcat-axis web service in it, but I could not manage it.
Supposing that I have a webservice on http://localhost:8088/axis/services/ExtService?wsdl
and I have a OWSM administrable on http://localhost:3115/ccore
what wuld be the steps to register my webservice into OWSM to be able to call my web service through OWSM?
thanx in advance,
AttilaHi Eric,
thank you for your answer.
Now I managed to authenticate the user with WS-BASE against LDAP server (ApacheDS), but, with the authorization I can not move on.
The structure of my Ldap entries is the following:
-> system
-> groups
-> tomcatCallers
attributes: cn: tomcatCallers
objectClass: groupOfUniqueNames
objectClass: top
uniqueMember: 0.9.2342.19200300.100.1.1=owsmuser,
0.9.2342.19200300.100.1.1=admin,2.5.4.11=system
-> users
-> owsmuser
attributes: cn: OWSM user
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: top
sn: OWSM
uid: owsmuser
So, Authentication against owsmuser is OK, with parameters:
LDAP baseDN (*): ou=users,ou=system
Uid Attribute (*): uid
How should I configure the policy step Ldap Authorize?
I tried it with parameters:
LDAP baseDN (*): ou=system
ServiceRoles : tomcatCallers
Uid Attribute (*): uid
but it does not seem to work. I get the fault: 'Access Denied. User: owsmuser'
One more question :-) :
if I make a 2nd policy gateway with ID C0003002 and configure it in file
%OWSM_HOME%\j2ee\home\applications\gateway\gateway\WEB-INF\gateway-config-installer.properties
with propery gateway.component.id=C0003002 and restart the OWSM the gateway identified by C0003001 becomes unreachable.
How can I configure OWSM to eable all the gateways at the same time?
thanx in advance,
Attila
Edited by: user5329589 on Jul 1, 2010 5:04 AM -
Error in HelloWorld service using oracle web services manager(Test Engine)
Hi All,
I deployed simple hello world web services on jwsdp2.0 and it is running at the following end point address :
http://localhost:8080/jaxrpc-HelloWorld/hello
When I use the Test engine provided by oracle web services manager to test this web service,Then I got the following response:
<Result><ServiceResult name="sayHelloBack"><Data>Could not send: JAXRPCSERVLET28: Missing port information</Data></ServiceResult></Result>
I am just wondering what is the cause of this behavior?Is it because of compatibility problem between oracle and jwsdp2.0 based web services?As I mentioned earlier that HelloWorld Service is running under jwsdp2.0 & tomcat50-jwsdp and it works fine from jwsdp2.0 based client.I would appreciate your reply.Thanks.
KashifI had the same problem, but adding the ant/lib directory to classpath helped.
-
What is Oracle Web Services Manager and where can i get more information ?
Hi,
Can any one point me to some useful links to know abt
Oracle Web Services Manager and some example to play with it.
Appreciate your help !!
Regards,
Vijay.BVijay,
You can install Oracle Web Services Manager (OWSM) as a stand alone product, but the easiest way would be to use the OracleAS SOA Suite Developer Preview, that contains all the SOA components (OWSM, J2EE, BPEL, ESB, ...)
Oracle Application Server 10g Release 3 (10.1.3.1.0) Developer Preview for the Oracle SOA Suite
Regards
Tugdual Grall -
Does Oracle Web Services Manager certified the following item?
Hi all,
I would like to ask whether Oracle Web Services Manager 4.0.3 certify the following items:
1) Windows 2003 server
2) Oracle Application Server 10gR2 (10.1.2.0.2)
3) Oracle Application Server 10gR3 (10.1.3.0)
ThanksHi all,
I would like to ask whether Oracle Web Services
Manager 4.0.3 certify the following items:
1) Windows 2003 server
2) Oracle Application Server 10gR2 (10.1.2.0.2)
3) Oracle Application Server 10gR3 (10.1.3.0)
ThanksOWSM 4.0.3 provides support for:
OC4J 10.1.2 and 10.1.2.0.2
Win2000
OWSM 10.1.3.1.0 (3Q06) will provide support for Win2003 and OC4J 10.1.3.0.
Marc Chanliau
Dir. Product Mgt
Web Services Security -
Oracle Web Services Manager Extensibility Guide
I am not able to find this document. Links to this document exits but they do not work.
B31010-01 Oracle Web Services Manager Extensibility Guide
What purpose do you have when you don't publish it anymore?
/PerOn OTN, documentation library. Search for Oracle Web Service Manager and there you will see the Extensibility Guide.
http://www.oracle.com/pls/as10131/drilldown?word=Oracle+Web+Services+Manager&wildcards=0&remark=federated_search -
Oracle Web services and J2EE 1.4
Hi,
Can anyone tell me if the Oracle Web services generated by Jdeveloper from a Java Class is compliant to the specification: Web services J2EE1.4 (JSR 109) ?
Thanks,
Best Regards,In JDeveloper 10.1.3 the J2EE 1.4 (JAX/RPC) Web Services are.
Maybe you are looking for
-
IPod touch 32 Gig "One of the USB Devices Attatched to this Computer has.."
One of the USB Devices Attatched to this Computer has malfunctioned, and Windows does not recognized it. I've had this iPod for about a month now, with no problems until now. Infact, two days ago when I connected/charged it everything worked fine. I
-
BB 9220 call resume not working
I recently bought a BB 9220 curve, when I am putting a call in hold and resuming it again, call is not resuming.
-
Imac connect to Digital TV settopbox
Can I connect a digital TV settopbox (receiver/decoder) to a latest model IMAC 21 inch? if yes...how?
-
HT1551 How do I turn off the audio that announces every show?
Where is the setting to turn off the annoying that verbalizes every show choice?
-
We often have to copy images in Word documents and paste them into a new file in Photoshop. Hitting New... in CS4 Photoshop opens a blank file of the correct size and resolution to paste in the clipboard file. CS5 cuts the file down to a tiny size an