The deployment of Web Services custom R12

Please let me know how to deploy the custom web services of R12. We have not installed in our instance of Oracle Enterprise Manager.

Thank you

You really need a manager of the company. You can install EM from the SOA Suite CD simply select the j2ee option not Suite SOA full blown.

Not sure what you mean by R12, is this e-Business Suite. Web services must be installed on the same application server as the e-Business Suite, it can be installed in any oc4j / j2ee application server. If it's e-Business Suite, the application server will probably need connectivity to the e-Business Suite.

You want the Web service for you do generally use adapters supplied for eBusiness Suite integration.

see you soon
James

Tags: Fusion Middleware

Similar Questions

  • Error SSE2 optimization in the deployment of Web Services

    I'm migrating from 2010 to 2011 SP1 web service [because web services 2010 SP1 were buggy]. At first, I could build and deploy the code very well. Now, I get the following deployment error:

    LabVIEW error: (Hex 0xFFFEFA45) LabVIEW Web Services: call to create a VI reference failed. The target does not support SSE2 optimization. Disable SSE2 optimization in the Advanced dialog box of the Web Service Properties page before continuing.

    Based on the online documentation, my hardware can support SSE2 - but no matter, I disabled it anyway. The error message persists. This message means anything this SSE2 optimization is enabled and is not supported? Based on the text of the error, it seems that turning off optimization should probably fix the problem...


  • Problem during the deployment of web services - bad location of WSDL files inside the jar

    Hi all.
    I create my web service from wsdl.

    First of all I run wsdlc and download archive jar that contains the generated sources - the highest level, it looks like this:
    META-INF
    MyPackage
    WSDLs

    After this, I change my web service class, in particular, that I decided that it will be session bean thus the SessionBean interface.

    Then I run jwsc and download archive final jar - module EJB with WebService
    The highest level, it looks like this:
    META-INF
    MyPackage

    And META-INF contains among other WSDL directory files.

    Everything seems OK, but when I try to deploy this I get an error (which I assume is caused by poorly located inside the ejb module generated WSDL files directory, it should probably be at the root of the jar not in META-INF):
    Please help me to force jwsc to generate the module with good location of WSDL dir files.

    WSDLC INVOCATION:

    < by default of the project = "generate-EventNotifierService-of-wsdl" >

    < taskdef = classname="weblogic.wsee.tools.anttasks.WsdlcTask"/ "wsdlc" name >

    < name target = "generate-EventNotifierService-of-wsdl" >
    "< wsdlc srcWsdl="src/main/wsdl_resources/EventNotifierService.wsdl ' destJwsDir = 'target' destImplDir = 'target' packageName = "mypackage" type = "JAXRPC" >
    < / wsdlc >
    < / target >

    < / project >

    JWSC INVOCATION:

    < by default of the project 'build EventNotifierService wsdl' = >

    < taskdef = classname="weblogic.wsee.tools.anttasks.JwscTask"/ "jwsc" name >

    < name target = "build EventNotifierService wsdl" >
    < jwsc srcdir = ' src/main/java' destdir = 'target' encoding = "UTF-8" >
    < queue = "mypackage/EventNotifierService.java TJ' compiledWsdl =" '... / peg-eai-wsdl/target/EventNotifierService_wsdl.jar ' "
    Type = "JAXRPC" >
    < / TJ >
    < / jwsc >
    < / target >

    < / project >

    ERROR:

    # < 24 March 2009 14:21:35 THIS > < error > < hats > <>< AdminServer > < ExecuteThread [ASSET]: '0' for the queue: '(self-adjusting) weblogic.kernel.Default' > < < WLS Kernel > > <><>< 1237900895770 > < BEA-149205 > < failed to initialize application "port" because of the error weblogic.application.ModuleException: Exception preparation module: EJBModule (EventNotifierService - 1.0 - SNAPSHOT.jar)


    Unable to deploy EJB: EventNotifierService - 1.0 - snapshot.jar EventNotifierService-1.0 - snapshot.jar:

    WSDL "wsdls/EventNotifierService.wsdl" is not in the deployment weblogic.utils.jars.JarFileDelegate@2bb9f2 - /var/peg/domains/wldev4/wldev4_domain/servers/AdminServer/tmp/_WL_user/port/edc553/EventNotifierService-1.0-SNAPSHOT.jar

    .
    weblogic.application.ModuleException: Exception preparation module: EJBModule (EventNotifierService - 1.0 - SNAPSHOT.jar)


    Unable to deploy EJB: EventNotifierService - 1.0 - snapshot.jar EventNotifierService-1.0 - snapshot.jar:

    WSDL "wsdls/EventNotifierService.wsdl" is not in the deployment weblogic.utils.jars.JarFileDelegate@2bb9f2 - /var/peg/domains/wldev4/wldev4_domain/servers/AdminServer/tmp/_WL_user/port/edc553/EventNotifierService-1.0-SNAPSHOT.jar


    at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:452)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
    to weblogic.application.internal.flow.DeploymentCallbackFlow$ 1.next(DeploymentCallbackFlow.java:387)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
    to weblogic.application.internal.BaseDeployment$ 1.next(BaseDeployment.java:615)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
    at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:16)
    at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
    at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:141)
    to weblogic.management.deploy.internal.DeploymentAdapter$ 1.doPrepare(DeploymentAdapter.java:39)
    at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:187)
    to weblogic.management.deploy.internal.AppTransition$ 1.transitionApp(AppTransition.java:21)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
    at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    weblogic.wsee.ws.WsException: wsdl "wsdls/EventNotifierService.wsdl" is not in the deployment weblogic.utils.jars.JarFileDelegate@2bb9f2 - /var/peg/domains/wldev4/wldev4_domain/servers/AdminServer/tmp/_WL_user/port/edc553/EventNotifierService-1.0-SNAPSHOT.jar
    at weblogic.wsee.deploy.WSEEEjbModule.loadWsdlDefinitions(WSEEEjbModule.java:130)
    at weblogic.wsee.deploy.WSEEModule.loadWsdl(WSEEModule.java:292)
    at weblogic.wsee.deploy.WSEEModule.verifyWsdd(WSEEModule.java:147)
    at weblogic.wsee.deploy.WSEEModule.prepare(WSEEModule.java:106)
    at weblogic.wsee.deploy.WsEJBDeployListener.prepare(WsEJBDeployListener.java:36)
    at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1193)
    at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:425)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
    to weblogic.application.internal.flow.DeploymentCallbackFlow$ 1.next(DeploymentCallbackFlow.java:387)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
    to weblogic.application.internal.BaseDeployment$ 1.next(BaseDeployment.java:615)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
    at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:16)
    at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
    at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:141)
    to weblogic.management.deploy.internal.DeploymentAdapter$ 1.doPrepare(DeploymentAdapter.java:39)
    at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:187)
    to weblogic.management.deploy.internal.AppTransition$ 1.transitionApp(AppTransition.java:21)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
    at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >

    I think that the only solution is to manually update the webservices.xml.

  • 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

  • Unable to connect to the server of Web Services

    Hello

    I'm trying to implement my C310a for the first time.

    The printer is connected to my wireless router.

    My computers and iPads can access and print using the printer.

    BUT when I try to use Web tools

    (1) product update,

    (2) activate ePrint or

    (3) enable Web Services

    I get the error message USELESS "Problem connecting to the server of Web Services"

    I am able to connect to the Internet using a web browser, so I don't have an ISP issue.

    I'll put in place the printer at home behind a CGD24N wireless router.

    The implementation for the browser does not use a proxy, so I have no proxy information.

    Is anyone able to help.

    Thank you

    David

    I worked on it.

    I had put the impression of having a static IP address and did not address primary and auxiliary DNS server.

    Once he had these links now.

    Thank you.

  • deployment of web services on a remote computer

    Hello

    Which is the best way and quick to deploy Web services for user WEB interface Builder on a remote computer, where there is no development, but only LV runtime environment?

    (in the case that I have to frequently change the vi that I use to create Web service and deploy it to a remote computer)

    Is it necessary to create an installer with included WS? Is always necessary in LV2012 to use labview.ini and niwebserver.conf to the webservices to run on the remote computer, as it is written on the following knowledge about LV2009 book?

    http://digital.NI.com/public.nsf/allkb/62B9C2D5C91EE8B28625778800609FF2

    I noticed that there is in the folder:

    C:\ProgramData\National Instruments\WebServices\aws

    the webservice is deployed with the screws that are used to operate.

    Is not possible to copy only the VI in this folder when I modify the vi used by the Web service, instead of doing each time the program installation and the whole procedure on the knowledge that I linked above?

    Thank you very much

    Steven

    Hi Steven,

    The best way to install a Web Service on a remote computer is to use an installer.  The reason being that the Web Service will be compiled and the installer will place the screws have respected and associated configuration files in the right place. If you were to put a VI from the development environment in the folder of aws would not correctly.  Any process other than the installer is also considered not supported by OR.

  • Deployment of Web Services has failed. Web applications server OR still load.

    I installed LabVIEW 2013 and I am trying to publish the web service. Every time I try, I see this message: "unable to Web Services deployment. The Server Web applications OR load again. »

    I don't know how to stop or complete this loading. I have reinstalled LabVIEW 2013, removed LV 2012 and other software. In addition, when I restart the 32-bit server, I have old web services installed. Even if I do not publish them, they appear after the transition to 64-bit-> 32-bit server.

    I will be grateful for your help.

    Peter

    Hi all

    It was a problem introduced with the new deployment of LabVIEW web services in 2013, specifically on laptops (classified as CAR 422680). It is fixed in the patch of f1 2013 LabVIEW. This patch is available for download here and you can get more information about the patches in the patch here. The patch will travel via Service Update OR later this month.

    Kind regards

    Jeff Peacock

    Product Support Engineer | LabVIEW R & D | National Instruments

  • Deploy a web service on an old database proxy

    I'm studying on different approaches to call an external web service of PL/SQL and I came across this document pretty old how-to:

    Call a Web Service from the database

    The document explains how to create a proxy web service in Java with JDeveloper and how to deploy it in a database.

    The sample service is relatively simple. The service that I have to call exposes several methods that returns and requires complex objects as parameters, but I found more tips in the next song in the Oracle documentation:

    http://docs.Oracle.com/CD/B19306_01/Java.102/b14187/chsix.htm#BABBEAJI

    So I downloaded and installed the latest JDeveloper and I get a service proxy web work at a glance. When I tried to deploy to my old database (Oracle 10.0.2.5 running Java 1.4) I've got the errors listed in the attached paper (sorry for the names of class in Italian).

    As indicated in the last line, it seems that I have some kind of compatibility issue between the version of Java that I used to generate the proxy and that which is available on my server. If, as suggested, change the JDK 1.7 to 1.4 version, I get an error saying something like "you have used data annotation, but this feature is available from Java 1.5".

    Is there a way to force JDeveloper to generate a web service proxy ' 1.4 friendly '?

    With the provided link, I was able to get all the missing pieces of the software.

    Now I just need to convince our DBA to try this approach

    However, it is a different story

  • Basic questions about the PL/SQL web services and data source names

    Hello

    I've successfully generated a web service for a procedure from PL/SQL packaged JDeveloper 11.1.1.3.0).

    The following code was generated in the base class for web services:
     __dataSource = (javax.sql.DataSource) __initCtx.lookup("java:comp/env/jdbc/dbconnectionDS");
    However in the weblogic server, the data source name is jdbc/Gisele for deployment fails in a first time.

    What is the recommended procedure to solve this problem? The obvious solution is to manually change the source - that's what I did and it worked fine. However if I re - generate the web service I won't lose my change. Is there a better way to do it?

    Another question - in the web.xml file that is generated, there is a resource-ref to the data source. I was hoping that change the data source name it would help, but it didn't work. What is - it used to in this context?

    Thank you
    Luis

    I forgot to add, so in case some time later and you want to update the connection to your service details, all you have to do is to add the following entry in your weblogic.xml:
    .

    JDBC/ref_name_from_web. XML
    JDBC/new_jndi_name

    .
    And in this way, you will not have to change any code level to point your web service to another connection.

    Vishal-

  • Flex to the problem of web service communication

    Hi, just like the title of State, I have problem during the web service-> Flex communication. I use class WebService ActionScript, to establish a connection with her, but I had a strange behavior. When I try to access the remote web services (particularly: http://109.74.206.146:8080/jax_ws/quarkservice? wsdl ) of my Flex Builder IDE, all is well. Even more, when I spend my folder and click ProjectName.swf project folder, without any server runs on my pc, the file is executed, communication with the web service is impeccable performed and response is retrieved. However, when I try to export a release build and to my Tomcat localhost, or if I try to copy ProjectName.swf to any other location on my drive, since the location of the project, where is stored, I got:

    1. [RPC Fault faultString = "Error in security to access the url" faultCode = "Channel.Security.Error" faultDetail = "unable to load WSDL. If there are currently online, please verify the format of the WSDL and URI file (http://109.74.206.146:8080/jax_ws/quarkservice? wsdl) "] "

    2A mx.rpc.wsdl::WSDLLoader/faultHandler() [E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\ws dl\WSDLLoader.as:98]

    3A flash.events::EventDispatcher/dispatchEventFunction()

    4. in the flash.events::EventDispatcher/dispatchEvent()

    5 at mx.rpc::AbstractInvoker /() [E:\dev\3.0.x\frameworks\pro jects\rpc\src\mx\rpc\AbstractInvoker.as:168] http://www.adobe.com/2006/flex/mx/internal:dispatchRpcEvent

    6 to mx.rpc::AbstractInvoker /() [E:\dev\3.0.x\frameworks\project s\rpc\src\mx\rpc\AbstractInvoker.as:220] http://www.adobe.com/2006/flex/mx/internal:faultHandler

    7A mx.rpc::Responder/fault() [E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\Responder.as:49]

    8A mx.rpc::AsyncRequest/fault() [E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AsyncRequest .as:103]

    9A DirectHTTPMessageResponder / securityErrorHandler ([E:\dev\3.0.x\frameworks\projects\rpc\sr c\mx\messaging\channels\DirectHTTPChannel.as:368])

    10. at flash.events::EventDispatcher/dispatchEventFunction()

    11. in the flash.events::EventDispatcher/dispatchEvent()

    12. to flash.net::URLLoader/redirectEvent()

    [Error CPP faultString = "Error in security to access the url" faultCode = "Channel.Security.Error" faultDetail = "unable to load WSDL.

    < br / > if there are currently online, please verify the format of the WSDL and URI file (http://109.74.206.146:8080/jax_ws/quarkservice? wsdl) "] to "

    MX. RPC.wsdl::WSDLLoader/FaultHandler() [E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\wsd l\WSDLLoader.as:98]

    at flash.events::EventDispatcher/dispatchEventFunction()

    at flash.events::EventDispatcher/dispatchEvent() to mx.rpc::AbstractInvoker / http://www.Adobe.com/2006/Flex/MX/internal:dispatchRpcEvent ([E:\dev\3.0.x\frameworks\pro jects\rpc\src\mx\rpc\AbstractInvoker.as:168])

    to mx.rpc::AbstractInvoker / (http://www.adobe.com/2006/flex/mx/internal::faultHandler) [E:\dev\3.0.x\frameworks\project s\rpc\src\mx\rpc \AbstractInvoker.as:220] )

    at mx.rpc::Responder/fault() [E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\Responder.as:49]

    at mx.rpc::AsyncRequest/fault() [E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AsyncRequest .as:103]

    to DirectHTTPMessageResponder / securityErrorHandler ([E:\dev\3.0.x\frameworks\projects\rpc\sr c\mx\messaging\channels\DirectHTTPChannel.as:368])

    at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent()

    at flash.net::URLLoader/redirectEvent()

    Thus the same file committed since the FlexBuilder or invoked directly from the folder of the project, where it resides, works perfectly. When I try to call from a DIFFERENT location, including deployment on my local Tomcat (or even just my office), I got the above exception. So, anyone know what is the problem? Thank you

    There is an implicit approval when you run the application in Flex Builder. Outside of Flex Builder, if the call to the Web service is not mandated by LiveCycle Data Services, Flash Player security will not allow the connection the remote service.

    Try to add a crossdomain.xml to the ROOT.war of your respective application server. Something like that...

    http://www.Macromedia.com/XML/DTDs/cross-domain-policy.DTD">

    Steve

  • deployment problems web services on weblogic server 10.2

    Hello... I have completed the first web service to web service tutorial and when I want to deploy the .war generated I have this error

    * An error occurred during activation of the changes, please see the log for more details.

    * Cannot load the webapp: "HelloWorldImpl.war."

    * cl/slider/webservices/HelloWorldImpl: classversion unsupported 50.0


    Can U help me please,

    Thanks in advance

    WebLogic 10.2 always uses the JDK 1.5. You have compiled your war with JDK 1.6.

    I would recommend recompile your application with JDK 1.5 or using the indicator 'target' to generate the JDK 1.5 class files.

    -Ryan

  • The use of Web services in BPM 12 c

    Hi all

    I seem to be a beginner with this discussion, but I was able to do in Jdev 11.1.1.7 and now with the 12 c I don't know how to do.

    I develop a process BPM SOA 12 c and I need to call a web service to exernal.

    In version 11 of composite, I clicked on right click and then insert and WebService.

    Now in version 12 c after a right-click in the list is not present.

    See the attachmement for a better understanding

    Could someone give me some ideas how to do it?

    Concerning

    In 12 c SOA, webservice name change just for SOAP.

    Webservice call just drag / move the SOAP component.

  • JDeveloper 12.2.1.0.0 do not add the header of web service security

    Hello

    I write simple WebService Java Client to a simple wsdl.

    If I click with the right button on the WSDL file and say 'Test Web Service', a request was made for me by Jdeveloper, all I have to do is click the box include the username and password for SOAP Header-> Header WS:Security and under the "security-> UserNameToken" and my request now has a security header

    " < = xmlns:env env:Envelope ' http://www.w3.org/2003/05/soap-envelope "xmlns:ns1 =" " http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd "xmlns:ns2 =" " http://Oracle.apps.CTB.cdapersistence.types ">

    < env:Header >

    < ns1:Security >

    < ns1:UsernameToken >

    WebLogic < ns1:Username > < / ns1:Username >

    password < ns1:Password > < / ns1:Password >

    < / ns1:UsernameToken >

    < / ns1:Security >

    < / env:Header >

    < env:Body >

    < ns2:PersistCDADocumentRequest >

    < ns2:Document / >

    < / ns2:PersistCDADocumentRequest >

    < / env:Body >

    < / env:Envelope >

    I tried 3 separate ways to do it in my Java Web Service Proxy and all 3 have failed, the demand created by my java code does not include the security header and don't include that the < env:Header / > why are my bottom 3 attempts of creation of the grave security header down when they are means documented to supply security headers? Help, please

    Method 1:

    Map < String, Object > requestContext = (cDAPersistenceServicePortType) .getRequestContext ((BindingProvider));

    requestContext.put (BindingProvider.USERNAME_PROPERTY, "weblogic");

    requestContext.put (BindingProvider.PASSWORD_PROPERTY, "password");

    Methos 2:

    Map < String, Object > requestContext = (cDAPersistenceServicePortType) .getRequestContext ((BindingProvider));

    Map < String, List < String > > headers = new HashMap < String, List < String > > ();

    headers.put ("Username", Collections.singletonList ("weblogic"));

    headers.put ("Password", Collections.singletonList ("password"));

    requestContext.put (MessageContext.HTTP_REQUEST_HEADERS, headers);

    Methos 3:

    @Generated ("oracle JDeveloper")

    public static void setPortCredentialProviderList (map < String, Object > requestContext) bird Exception {}

    TODO - provides the required identification information values

    String username = "weblogic";

    String password = "password";

    credList.add (getUNTCredentialProvider (username, password));


    requestContext.put (WSSecurityContext.TRUST_MANAGER, new TrustManager() {}

    {public boolean certificateCallback (X509Certificate [] string, int validateErr)

    Boolean result =

    (string! = null & & chain.length > 0) & & (chain [0] (serverCert) .equals | chain [0] .equals (clientCert));

    return the result;

    Returns true;

    }

    });

    credList.add (getSAMLTrustCredentialProvider ());

    requestContext.put (WSSecurityContext.CREDENTIAL_PROVIDER_LIST, credList);

    }

    @Generated ("oracle JDeveloper")

    public static CredentialProvider getUNTCredentialProvider (String username, String password) {}

    new return ClientUNTCredentialProvider (username.getBytes (), password.getBytes ());

    }

    @Generated ("oracle JDeveloper")

    public static CredentialProvider getSAMLTrustCredentialProvider() {}

    return new SAMLTrustCredentialProvider();

    }

    found an answer here - http://stackoverflow.com/questions/5976940/how-to-add-soap-header-in-java

  • How to limit the appeal of Web service method when the page loads?

    Hello

    I have an a choice selection list that is populated using a web service method. There are several different lists on the page. When a page loads, all of these methods of service web (methods are inside the POJO class) are executed.

    I would like to limit the call to the web service methods. The call occurs even if the component is not rendered. Basically, all methods in the page links are executed during the loading of the page. Is there a way to limit this behavior?

    More time is consumed during the loading of the page. Can someone help me on this?

    JDeveloper Version: 11.1.1.7.1

    Thank you
    Malenfant.

    You can play with the value of the condition of discount for links - see for example:

    https://blogs.Oracle.com/Shay/entry/delay_method_execution_when_us

  • The consumption of web services and paging data.

    Hi all

    I am building an ADF application where I need to make web service calls to two different external systems. Each of them say return 50 records. On the user interface, I want to display 10 records at a time. Also, I need check duplicate records.

    What is the best approach in this case. Will I call the web services and generate the data in a temporary table and ADF - BC allows to display these data on the user interface. In this case set the data of a given user will be a challenge. Or will I programatically create 100 your and use them to display data on the UI (tabular) with paging option.

    Help, please!

    Yes, the pagination of POJO would be appropriate.

Maybe you are looking for