Web Service security settings of 10g and 11g Migration
We will migrate a complete Application of the ADF from 10g to 11g. We got all this work, but the web services. It seems that we learned the work of web services, but the security settings for the web service are very different and I have difficulties to make them work.
For example, we have a customer's web service that has a X 509 certificate for authentication. We use the WSS 1.0 safety and I chose in the Configuration of the customer strategy: "oracle/wss10_x509_token_with_message_protection_client_policy and in 'Select credentials', I use https identification information."
However, I get the following error when I try to use the web service pointing to the customer: Note: I also detached the client and deleted the credentials and get a SIMILAR error.
< javax.xml.ws.soap.SOAPFaultException: WS-Security treat failure: FAULT CODE: InvalidSecurity MESSAGE of ERROR: header missing WS Security in the SOAP message >
< to com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:197) >
< to com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122) >
< to com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:125) >
< to com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95) >
< to com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:136) >
So any that I have attached a customer or have not a joint, I get the same error. An idea that I am wrong?
Thank you
Okay, figured it out. I had to use ClientConstants to set the web strategy and set the OWSM political Director to use the appropriate strategy.
The ClientConstants code is:
SecurityPoliciesFeature = securityFeatures
New SecurityPoliciesFeature (new String() {"oracle/wss10_x509_token"});
In InboundOutbound_Service = new InboundOutbound_Service();
InboundOutbound svc = in.getInboundOutboundPort (securityFeatures);
String urlLn = this.getURL ('url');
BindingProvider bp = svc (BindingProvider);
Card
reqContext.put (BindingProvider.ENDPOINT_ADDRESS_PROPERTY, urlLn); reqContext.put (ClientConstants.WSSEC_KEYSTORE_TYPE, "JKS"); reqContext.put (ClientConstants.WSSEC_KEYSTORE_LOCATION, "web.jks"); reqContext.put (ClientConstants.WSSEC_KEYSTORE_PASSWORD, "pw"); reqContext.put (ClientConstants.WSSEC_ENC_KEY_ALIAS, "keyalias"); reqContext.put (ClientConstants.WSSEC_ENC_KEY_PASSWORD, "pw"); reqContext.put (ClientConstants.WSSEC_SIG_KEY_ALIAS, "keyalias"); reqContext.put (ClientConstants.WSSEC_SIG_KEY_PASSWORD, "pw"); reqContext.put (ClientConstants.WSSEC_RECIPIENT_KEY_ALIAS, "serveralias"); Here is a picture of link at all that I found useful: https://blogs.Oracle.com/OWSM/entry/owsm_concepts_11g http://docs.Oracle.com/CD/E21764_01/Web.1111/b32511/setup_config.htm#BABJHIBI Using Oracle Web Service security policies Review of the architecture of Oracle WSM in Oracle Fusion Middleware
Tags: Java
Similar Questions
-
Rights of access to the BI Publisher 10g and 11g migrate reports
Hi all
I've migrated BI Publisher reports in 10G in the middle of 11 G environment. I installed both applications in local machine, to carry out this activity. Post, I moved a folder containing few reports (.xdo and .xdm) in OBIEE 11g environment installed in Linux environment.
Report units are visible, but .xdo cannot be performed. I get the error on execution it below.
"oracle.xdo.servlet.CreateException: oracle.xdo.servlet.CreateException: oracle.xdo.servlet.CreateException: oracle.xdo.servlet.CreateException: definition of data model not found: / report of Performance of the Bank-like of.xdm". "
In addition, I don't have the access rights to change the datamodel (xdm) and report (xdo)
I'm stuck with this problem for a few days and could not get much help from the available discussions.
Thanks in advance
Prasanna
Hello
I was able to retain the rights administrative everything on the new catalogue by doing the steps below
1 run a fresh upgrade with destination as a separate folder (D:/dest) and not selecting "{BI_DOMAIN}... repository/bi_publisher /'."
2 created a new catalog of presentation by specifying the path of the catalog in em ' in a new folder.
3. copy the units OBI EE (file and files problemcs), upgraded in the shared folder in the folder newly created by Ms.
4. go in BI Publisher 11 g-> Administration. Navigate to the directory of BI Publisher and point to the destination folder would be: / dest' and run 'Upload to the BI presentation catalog.
5. now, all units are available in a shared folder with full rights for the user "weblogic.
Concerning
Prasanna
-
Hello
I read the various messages about Discoverer 10 g and 11 g upgrade.
No matter who would be able to tell me the General problems that exist that we must be aware of if we improve to 11g?
Thank you.
LeahHi LEA
I see no major problems that would prevent you from upgrading to 10g and 11g.The server underlying application changes to OAS for Weblogic, but put except that you won't see any changes. Certainly more and Viewer function similarly as Admin and office. Even the iitself EUL is 100% compatible between the two. You mind I advise to use a 11g database.
The tricky part is to understand how to install discoverer 11g and then having someone who can learn to manage the discoverer using Weblogic.
From the point of view of the end-user, everything will be fine. In fact, in my opinion discoverer 11g works faster than 10g, probably because Weblogic manages web stuff better than the old OAS.
Hope this helps
Best wishes
Michael -
Hello;
Implementation of this line in 11g:
loadjava, myUser and password - u - v - r-f./java/MyString/MyStringObject.java
Everything is OK.
Running the same line in 10g:
arguments: '-u' ' myUser/Password' '-v' '-r' '-f' '. / java/MyString/MyStringObject.java'
Error in the determination of the contained classes dans./java/MyString/MyStringObject.java
Exception oracle.aurora.sqljdecl.ParseException: lexical error on line 75, column 5. Encountered: '@' (64), after:
The error is @Override
Why does this happen?/** * @see java.lang.Object#toString() */ @Override public String toString() {
Is it possible to fix by changing the loadjava settings?
Is there an incompatibility between 10g and 11g?
Thank you.>
Implementation of this line in 11g:
loadjava, myUser and password - u - v - r-f./java/MyString/MyStringObject.java
Everything is OK.Running the same line in 10g:
arguments: '-u' ' myUser/Password' '-v' '-r' '-f' '. / java/MyString/MyStringObject.java'
Error in the determination of the contained classes dans./java/MyString/MyStringObject.java
Exception oracle.aurora.sqljdecl.ParseException: lexical error on line 75, column 5. Encountered: '@' (64), after:The error is @Override
Why does this happen?
>
Why is it? Because the JVM in Oracle 10 g is version 1.4 and the annotation of substitution does not exist in 1.4 since it was added in version 1.5, which is the version of the JVM using Oracle 11 g.
>
Is it possible to fix by changing the loadjava settings?
>
Non - Java 1.4 cannot, of course, supports a feature that did not exist at the time.
>
Is there an incompatibility between 10g and 11g?
>
The JVM version included with 11g is 1.5 in 10g is 1.4See what's new in 11g Release 1 in the Java Developer's Guide
http://docs.Oracle.com/CD/B28359_01/Java.111/b31225/whatsnew.htm
>
Compatibility with JDK 1.5 Oracle JVM
Sun Microsystems introduced new features in Java Development Kit (JDK) 1.5. To support these new features and enhancements, Oracle has updated to the last Platform Java 2, Standard Edition (J2SE) Oracle JVM.
>See replacement Type Annotation in the Java API for 1.5
http://docs.Oracle.com/javase/1.5.0/docs/API/Java/lang/override.html
>
Indicates that a method declaration is intended to override a method declaration in a superclass. If a method is annotated with the annotation type but does not override a method of the superclass, compilers are required to generate an error message.Since:
1.5
>
And "' NO you can't ' is the answer if you plan to ask if you can replace the version of the JVM in 10g with 1.5 or newer.See my response in this thread for a few days.
Re: uninstall the virtual machine JAVA of oracle 11g -
Images after upgrade to 10g and 11g
We have recently updated to 10g and 11g, and all images are broke in the dashboard.
Can anyone provide steps must be done in order to correct the broken images?
Thank you.Put image files to
Drive: \Oracle\Middleware\Oracle_BI1\bifoundation\web\app\res\s_blafp\images
Drive:\Oracle\Middleware\user_projects\domains\bifoundation_domain\servers\bi_server1\tmp\_WL_user\analytics_11.1.1\7dezjl\war\res\s_blafp\images
If necessary
Drive:\Oracle\Middleware\user_projects\domains\bifoundation_domain\servers\AdminServer\tmp\.appmergegen_1291264099332\analytics.ear\ukjjdc\res\s_blafp\imagesCall using fmap
Syntax: fmap:images / imagename.imageformat
for example: fmap:images / geograph.jpgMark correct/good so pls help
-
C2664 errors after the upgrade of client db 10g and 11g
Hi, after upgrading customer db 10g and 11g, the compiler gave errors error C2664:
/************************************************************
AddCxrCh.cpp (2071): error C2664: 'sqlglm': cannot convert parameter 1 from 'char' [513] in ' unsigned char *'
Types of art are not related. conversion requires reinterpret_cast, C style cast or function-style cast
make: * [AddCxrCh.obj] error 2
************************************************************/
The same code was compiled correctly when you use the db 10g client. I know that I can easily correct this error by changing the code, but there is more than a sqlglm used instructions. I'm looking for a way that will solve the problem by changing the settings of the compiler.
Thank youHello
There is a change between 10g and 11g. It is described in "Oracle 11g Pro * C nsqlprep Sqlglm issues [ID 860382.1]". The document, you can find on Metalink, aka Oracle Support.
Herald tiomela
http://htendam.WordPress.com -
Difference between Standard 10g and 11g Standard edition.
Hi all
I tried Googling to find the difference between the Standard of 10g and 11g Standard editions, but couldn't find what I want.
Y at - it links you want to share.
Thank you
Hello
I tried, please check
http://docs.Oracle.com/CD/B19306_01/license.102/b14199/editions.htm#BABJICBB (10 G based on the edition functions)
http://docs.Oracle.com/CD/B28359_01/License.111/b28287/Editions.htm#DBLIC116 (11 g features based on edition)
Just compare the two.
Hope that helps.
-Thank you
Pavan Kumar N
-
Issue of upgrade of database (10g and 11g)
Hello
I currently have 2 versions of oracle installed on my server 10g and 11g
(1) oracle Database 10 g Enterprise Edition Release 10.2.0.5.0
With oracle-/oracle/app/oracle/product/10.2.0/db_1 House
&
(2) oracle Database 11 g Enterprise Edition Release 11.2.0.3.0
With oracle home-/u01/app/oracle/product/11.2.0/dbhome_1
Is it possible level Oracle database 10g Enterprise Edition Release 10.2.0.5.0 to Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 using the oracle same House for 11 g IE (/ u01/app/oracle/product/11.2.0/dbhome_1) the process of DBUA
Would appreciate any help on this matter.
Yes - pl see the Upgrade Guide - http://docs.oracle.com/cd/E11882_01/server.112/e23633/toc.htm
You can skip the part of the doc where it plans to install 11 GR 2, since you already have installed binary files.
-
Weblogic server integration is needed in Jdeveloper for BPEL of 10g and 11g upgrade?
Hello
Weblogic server integration is needed in Jdeveloper for BPEL of 10g and 11g upgrade?
We migrated BPEL 10g and 11g. I understand that this integrated weblogic server is part of jdeveloper.
Integration of weblogic server allows successful simulation of the weblogic Server real 11g which we installed as a separate product?
or should we connect jdeveloper to weblogic server 11g instead of the integrated weblogic Server?
Please notify.
Thank you
No, built-in weblogic server is not necessary in jdeveloper for bpel upgrade.
If you are migrating bpel go separate domain and weblogic/managed servers, don't use integrated weblogic.
Kind regards
Anshul
-
Hi guys,.
Current version: 10.2.0.5
Target Version: 11.2.x.x
I intend to improve my DB from 10g to 11g.
Before the actual upgrade, I can create a test 11 g environment.
I've read a few articles and understand the following concepts
1 create a set of tuning in current 10 g to capture plan and the performance of the sql execution statistics
2 export the setting of 10 g and 11 g SQL import base
3 export all data to 10 g and 11 g
4 to 11 g database, consider whether there is a best execution plan and accept
For my scenario here, my test 11g environment is not all applications server conneecting to it.
For my 11g generate other plans, the sql should be run at least once in 11g. As there could be a number of SQLs captured in the tuning set, how I run everything manually (via sql * more) because I did not have a request to call him?
In fact, my main goal here is to compare the execution between 10g and 11g plan. Already from 9i and 10 g, I have actually generate version manually sql execution plan and compare manually.
Thank youHave you thought about Oracle Real Application Testing - http://www.oracle.com/technetwork/database/focus-areas/manageability/rat-option-11gr2-datasheet-128580.pdf
Lordane Iotzov
-
Resume it AGAIN APPLY: differences of 10g and 11g
Versions > 10.2, 11.2
OS > Solaris
I have a question about step 4 below.
In 10g and 11g versions for a physical Standby DB, you
Step 1.
Mount the DB using
Step 2. Start using it to applystartup nomount; alter database mount ;
Step 3. Open the DB to help ensurealter database recover managed standby database disconnect from session;
Step 4. Resume it AGAIN APPLYrecover managed standby database cancel; -- stop the redo apply alter database open ;
At this point (after step 4), version 10.2, the standby DB goes back to fashion to Mount , but DB 11.2 remains Open for READ ONLY queries because of the ACTIVE DATAGUARD feature. Am I wrong?alter database recover managed standby database using current logfile disconnect ;
Yes, you are right.
In 10g, there is no active dataguard option (application of redo is not possible when the database is open). Application of roll forward is only possible when the backup database is in the editing phase. When the database is opened in read-only, the application mode of archive is not possible. In order to execute queries against database tables, a physical standby database, he had to stop the log apply and open the database in read-only mode. This means that the log files are waiting for this period and should be applied once the database is returned to the managed recovery mode.
11 g, this isn't the case. It allows users to have read-only access to the pending physical databases. This option gives continuous customers the flexibility to run queries to the database physical standby, while log shipping and apply its work. The application archive is possible even when the database is open read-only. This option is called Active Dataguard (Oracle, high availability). To do this, the steps you have mentioned are perfect. It's the advantage in 11g.
-
Migration of schema of 10g and 11g
Hello
I spend about 2 GB in size of schema 10.2.0.4.0 11.2.0.2.0 helps users including expdb/impdp & his password and DBA_DIRECTORIES.
OPERATING SYSTEM: AIX
My questions are,
1 > I know the OBJECT_TYPE below which we can not able to migrate using expdb/impdp?
OBJECT_TYPE
------------
INDEX
PROCEDURE
TYPE
TABLE
VIEW
FUNCTION
TRIGGER
PACKAGE BODY
SEQUENCE
PACKAGE
LOB
2 > how to synchronize the password n/b 10g and 11g for 11g password is case - sensitive.
THX,
GowinCheck this link http://laurentschneider.com/wordpress/2008/03/alter-user-identified-by-values-in-11g.html
-
Upgrade the database to 8i and 9i and 10g and 11g
Nice day
Hi all
Please can someone help me to get a good document for the upgrade of the database to upgrade the database to 8i and 9i and 10g and 11g include prerequisites and upgrade processes and after upgrading the process waiting for your response because it required requiredhttp://download.Oracle.com/docs/CD/B19306_01/server.102/b14238/TOC.htm
Concerning
Asif Kabir -
Upgrade to 10g and 11g: license cost?
Hi guys,.
We are studying the possibility of upgrading to 10g and 11g. Oracle Software Update License & Support that we currently covers 11 g at level or to buy the software from scratch as if we never had?
Sorry if the question is stupid, but I never went through this process with Oracle before.
Thank you!!In General, when you purchase a support contract, upgrades are included free of charge. It is best to contact your seller to Oracle to confirm. If you have access to Metalink (which is a good sign), you can also open an SR to check
HTH
Srini -
Hi people,
I need some clarification about the migration of things.
In fact, we expect migrate Oracle 10 g and 11g.
I want an idea y at - it no impact in the pool of connections from Weblogic migrate Oracle 10 g 11 g and y at - it no Pro * impact of compilation as well c.
Please help me...
Thanks in advance!
Renon-Double post...
Please refer to
Concerning
Rajesh
Maybe you are looking for
-
I have updated to IOS 10 on my Iphone 6 and when I try to print a page word document is visible and then to a blank page and cannot be printed. Does anyone else have this experience and have a resolution?
-
I opened FF (ver 3.6.17) and when I click on the '+' to the extreme right most tab to open a new tab (the ToolTip says even "open a new tab"), nothing happens. I click on file, new tab and nothing happens. I opened a new browser window, click on the
-
Where to buy the new Clip +?
I was wondering where I can buy the new Clip + with international shipping to Europe (Romania). EBay does not have it in stock, I see that Amazon has, but they ship electronic anyway. Any thoughts, or perhaps the links where I can buy? Please
-
Pavilion dv6t-2000: level questions to SSD
Hello I'm looking to upgrade my hard drive, because it failed the test of hard disk through BIOS > diagnostic test. The hard drive seems to overheat and is super slow these days. I found this hard drive, which is the same size as the one I currently
-
Official support from Microsoft
I have a HP Itouch computer, which is 13 months old, I have Vista Home Premium 64-bit operating system and Microsoft Office 2007, all on all legal, but when I tried to get the support of Microsoft I get the message that there is a problem with my reg