Oracle Web Services Functions
is there a list of the functions that can be thrown to the web services api to retrieve say people's list of events for that day or a resource schedule?
Thanks
Hi,
If I understand correctly you question,
You would like to know if there is an API that would allow to get a user's information for a given date range (say today)?
At the moment it is only possible to get "your" list of meetings for a given date range. We are looking at adding such feature in a future release of the Calendar Web Services.
Also, the same answer apply to the resouce. You can't fetch a resource schedule at the moment.
Regards,
Frederic Leblanc
Similar Messages
-
Web Service function to return OracleDataReader
My current .Net code with ODP calls a data access layer function which returns an "OracleDataReader". We would like to test an alternate approach and call a web service function instead. When I try and create the Web Service function it does not allow me to specify "OracleDataReader" as the return since it gives an error that the function cannot be serialized since it "does not implement Add(System.Object).".
Is there an Oracle.DataAccess.Client alternative? Does this mean I have to return a "DataSet" since it is the only data structure which can be serialized?this is pseudo c#
snippets of a class definition NB Note the Serializable decoration
#region ADPerson definiton
[Serializable]
public class ADPerson
#region ADPerson fields
private string _postCode;
private string _deliveryOffice;
private string _telephoneNumber;
#region ADPeople collection of ADPerson
[Serializable]
public class ADPeople : System.Collections.CollectionBase
public int Add(ADPerson value)
This is in my web method
using AD = ADClasses;
#region main lookup method
[WebMethod(Description = "Lookup in Active Directory")]
public AD.ADPeople ADLookup(string strSearchCriteria, string strUser, string strPassword, string strDomain)
AD.ADPeople adPeople = new AD.ADPeople();
AD.ADPerson ap = new AD.ADPerson();
adPeople.Add(ap);
return adPeople;
Just make sure that your class(es) are serializable and return them from your web service. If you call the ser vice from a browser you will see your class as xml. If you call it from an app you can do something like
class c= callWebService(param);
HTH -
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 -
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 -
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 -
Problem with CFMX web service function return
I made a post yesterday about a web service function I was
writing, as it turns out my post was extremly incorrect for my
problem. With this web service function I can return an array just
fine, I can return one instance of an object just fine, however,
when I try to return an array of the object I keep getting the
error:
Could not perform web service invocation "SelectGames"
because AxisFault faultCode: {
http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode: faultString: [org.apache.axis.AxisFault : ; nested
exception is: coldfusion.xml.rpc.CFCInvocationException:
[java.lang.IncompatibleClassChangeError : Dependent CFC type(s)
have been modified. Please refresh your web service client.]];
nested exception is: coldfusion.xml.rpc.CFCInvocationException:
[org.apache.axis.AxisFault : ; nested exception is:
coldfusion.xml.rpc.CFCInvocationException:
[java.lang.IncompatibleClassChangeError : Dependent CFC type(s)
have been modified. Please refresh your web service client.]]
faultActor: faultNode: faultDetail: {
http://xml.apache.org/axis/}stackTrace:
AxisFault faultCode: {
http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode: faultString: [org.apache.axis.AxisFault : ; nested
exception is: coldfusion.xml.rpc.CFCInvocationException:
[java.lang.IncompatibleClassChangeError : Dependent CFC type(s)
have been modifie..
which basically means that the CF server needs restarted.
However if I restart the CF server, no matter how many times I am
still getting this error. If I change up my web service function to
return just a normal array of integers or strings, or I change it
to return one instance of the arbritrary complex type it all works
just fine. I am still a little new on this subject and any
enlightenment would be great. If anyone has found a way around this
please let me know.
Here is my complex type:
<cfcomponent>
<cfproperty name="Game_id" type="numeric">
<cfproperty name="gameDate" type="date">
<cfproperty name="Starttime" type="string">
<cfproperty name="Place" type="string">
<cfproperty name="Level" type="string">
<cfproperty name="Sport" type="string">
<cfproperty name="Gender" type="string">
<cfproperty name="Opponent" type="string">
<cfproperty name="Type" type="string">
<cfproperty name="Link" type="string">
</cfcomponent>
I loop trhough a query and set a cfobject of the types above,
then I append that object to an array and try t o return the array.
Here is the basics of the loop:
<cfset theArray = arrayNew(1)>
<cfobject component = "games" name = "test>
<cfloop query ...>
<!--- set values to test ---->
<cfset arrayApend(theArray, test)>
</cfquery>
<cfreturn theArray>
my return type is array, I think the problem is I need to
specify the return type to be an array of arbritray complex types
which is impossible to do in CF. Anyone find a way to get around
this?? Any feed back at all would be greatly appreciated.Yes, I have tried it and return type any does not work in
this situation since this function is being consumed by a web
service. It needs to be in the form of an array of arbritrary type
that is defined in a cfc file. Since this is WSDL the returntype
has to be specified to every last bit. -
Web service functions in SSO without username and password
Is there a way to use the Public Report Web Service functions when configured in SSO and without passing a username and password? I was able to try out the web service and make it work. As we all know, you need to pass a username and password for each web service call unless your reports can be accessed by guests. In an SSO + LDAP server configuration, there are cases in which you are not allowed to get the password. The password can not be decrypted.
Is there a way to still use web service? or do you need to use the url approach instead? But if you use the url approach then you may be limited to generating reports only.
I'm thinking there should be since if you are already logged in for SSO then you should be able to generate.
Any way to configure this?<i>When I access web reports from bw.</i>
i hope you are not talking about BEX web reports , since you have mentioned ITS.
Is it a standlone ITS or intergrated ITS?
can you post the url pattern here.
Regards
Raja -
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 -
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. -
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
Maybe you are looking for
-
Hi, I've purchased a few films from itunes (and they are listed as Purchased in my account), but I can't find them on my computer or my itunes account, and itunes wants me to pay for them again. How do I get around this? I've tried all the suggestion
-
Mountain Lion problems with Logic Plug-Ins
I have just installed the new Mountain Lion, and now my Logic Pro 9 cannot create any more audio or software instrument tracks. I think it has messed up the plug-ins. What should I do to restore my original Logic Pro 9?
-
I have problem in using the following expression in my "Assign" activity: oraext:format-string('|{0}|',bpws:getVariableData('inputVariable','payload','/client:process/client:name_param)) I get the following error <env:Envelope xmlns:env="http://schem
-
Dear SD Gurus, I need the <b>T codes or ways to generate</b> the following reports: 1. Customer aging report by item and by period. 2. Statement of Sales for Customer by Sales Area, by Sales Rep., by City, by Product. 3. Completed Customer POs an
-
Best way to prepare for SJCP 1.4
Hello All, I'm planning on taking the SJCP 1.4 exam and was wanting some current feedback on preparation on the exam. I have a couple of books and the Whizlabs exam software. How much time should I expect to put in to prepare and is the Whizlabs soft