The unauthorized JAX - RPC web service client?

I try to call a 3rd web service part using a WSDL I can't control.  I was unable to send requests by using a style JAX - WS client and errors have led me to believe that this was due to the WSDL using the RPC/Document model.  Checks showed there is, in fact, the primitive methods of return base schema.  My understanding is that I have to use a JAX - RPC client in this case.

JDev generated successfully objects, but I got whitelist errors that I have deployed in the cloud.  Basically, any class that referred to java.rmi failed (as documented) - and that's almost all main objects for the customer.

Is there a way around this problem?

  • Is there another method to generate JAX - RPC clients?
  • The cloud is possible to accept the java.rmi. * classes?
  • Is there a way to force the web services JAX - WS upset WSDL RPC/Document?

Thank you

Alex

I do not think that RPC is supported, see unsupported features and API which States:

Feature not supported Alternative

Web services based on JAX - RPC.

Convert in JAX - WS web services.

Remote invocations with a transport protocol other than HTTPS (including the HTTP text).

Does not apply.

--

Jani Rautiainen

Relationship with the developers of Applications in fusion

https://blogs.Oracle.com/fadevrel/

Tags: Cloud Computing

Similar Questions

  • JDeveloper Web Service Client/Proxy basic authentication

    Hi, I recently migrated a 10g Web Service to a Web Service that uses authentication of database 11g.

    Then I generated the proxy/client by using the WSDL for my consumer application in JDeveloper 11 g. However, I can't find all the functions that will allow me to set the user name and password to access the web service.

    For example, in 10g Client, I had simply to this:

    myPort = new SoapHttpPortClient();
    myPort.setUsername ("username");
    myPort.setPassword ("password");

    I don't know how to do the same thing in the Web Service client generated in 11g.

    Thanks in advance.

    Hello

    See the beginning of this blog entry: http://biemond.blogspot.de/2009/04/jax-ws-web-service-proxy-client-and.html

    Frank

    BTW. : I used Google

  • Problem with creating Web Service Client using Oracle JDeveloper

    Hi all

    I am trying to create a Web Service Client using Oracle JDeveloper. The property of the compiler of the project I updated JRE 1.4

    When I run the web service client, he gives me a lot of errors saying:
    ' Error (32.2): annotations are not supported in - source 1.4'

    I wonder why JDeveloper uses annotations even after that I set the compiler property to 1.4

    I'm following this link to create the Web service client:
    http://www.Oracle.com/technetwork/developer-tools/forms/WebServices-forms-11g-094111.html

    Any help in this regard would be greatly appreciated.

    Thank you
    Scott.

    Scott, when you run the proxy Web service in JDeveloper, you will see a bunch of jars listed in the classpath in the Journal JDeveloper window.
    All of these classes must be in the classpath of your server when the class is deployed there.
    Note that by default, I don't think they are going to be included in the JAR that you build for the proxy when you deploy.

  • How to move all of the FORM to a Web service?

    What is the proper way to pass all of the form to a Web service? I can do my work of CFCS with 1 param, who is the FORM, but when I try to use the CFC as a Web service I get a type mismatch error. The must be a way to pass all of the form to a Web service rather than to me, creating a bunch of parameters for each element of the form, I just can't find an example of anywhere. I know I can't be the only person to ask this question.

    ..

  • Errors of auditor of host name in the web service client

    We have a Web service consumer who runs in WebLogic, and we receive a host name error check whenever the consumer trying to communicate with the external Web service. The error occurs because the subject of the certificate is for a host name that is different from the URL that uses the consumer.

    A possible solution is to write a custom hostname Verifier, but we would prefer not to do so. Can mitigate this error if we import the external Web service certificate is added to the WebLogic truststore?

    Thank you

    NO, it can't be mitigated...

    Import the certificate into the trust store means that you trust the certificate, but if the CN of the certificate does not match the hostname... we must disable hostname checking / write a custom host name auditor...

  • Receiving the EventInfo object for Web Service alerts as null?

    I have set up the web as service:

    Service endpoint interface

    @WebService (targetNamespace = "http://prosight.com/wsdl/7.0/EventSink/")

    @SOAPBinding (style = Style.RPC)

    public interface {OPPMAlertWebService}

    @WebMethod public void itemAddedToPortfolio (PsPortfoliosItemAddedToPortfolioEventInfo eventObj);

    @WebMethod public void categoryConditionMet (PsPortfoliosCategoryConditionMetEventInfo eventObj);

    @WebMethod public void multipleCategoryConditionMet (PsPortfoliosMultipleCategoryConditionsMetEventInfo eventObj);

    @WebMethod public void phaseModified (PsPortfoliosPhaseModifiedEventInfo eventObj);

    @WebMethod public void deliverableModified (PsPortfoliosDeliverableModifiedEventInfo eventObj);

    @WebMethod public void actionItemModified (PsPortfoliosActionItemModifiedEventInfo eventObj);

    }


    Implementation of the service

    @WebService (endpointInterface = "com.ws.OPPMAlertWebService", targetNamespace = "http://prosight.com/wsdl/7.0/EventSink/")

    / public class OPPMAlertWebServiceImpl implements OPPMAlertWebService {}

    Item added to the triggered event portfolio

    @Override

    {} public void itemAddedToPortfolio (PsPortfoliosItemAddedToPortfolioEventInfo eventObj)

    System.out.println ("added \n--Item method called-");

    }

    Category Condtion meeting triggered event

    @Override

    {} public void categoryConditionMet (PsPortfoliosCategoryConditionMetEventInfo eventObj)

    System.out.println ("\n--Category filled Condition method called-");

    }

    Several categories filled Condition triggered event

    @Override

    {} public void multipleCategoryConditionMet (PsPortfoliosMultipleCategoryConditionsMetEventInfo eventObj)

    System.out.println ("\n--Multiple category method called - filled Condition");

    }

    Updated the event triggered the phase

    @Override

    {} public void phaseModified (PsPortfoliosPhaseModifiedEventInfo eventObj)

    System.out.println ("\n--Phase method called - changed");

    }

    Events updated the deliverable triggered

    @Override

    {} public void deliverableModified (PsPortfoliosDeliverableModifiedEventInfo eventObj)

    System.out.println ("\n--Deliverable method called - changed");

    }

    Follow-up activity for change event triggered

    @Override

    {} public void actionItemModified (PsPortfoliosActionItemModifiedEventInfo eventObj)

    System.out.println ("\n--Action element modified method called-");

    }


    Editor of endpoint

    public class OPPMAlertWebServicePublisher {}

    Public Shared Sub main (String [] args) {}

    URL of the Web Service

    " String url = ' http://URL ";

    System.out.println ("\nOPPM Alert Web Service published on" + url);

    Endpoint.Publish (url, new OPPMAlertWebServiceImpl());

    }

    }

    The service works very well all the get methods called on respective alert events here, but whenever I tried to use the EventInfo object he throws NullPointer Exception. I get the EventInfo objects as null in these methods but the audit log shows event information are sent by the Madaboutangling. Y at - it another way to configure this service to receive the EventInfo object or where I have to change to receive the EventInfo object?

    EventInfo object using there is Exception as:

    -Added point method called-

    October 15, 2015 05:30:52 com.sun.xml.internal.ws.server.sei.TieHandler createResp

    onse

    GRAVE: null

    java.lang.NullPointerException

    at com.ws.OPPMAlertWebServiceImpl.itemAddedToPortfolio(OPPMAlertWebServiceImpl.java:25)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke (unknown Source)

    at java.lang.reflect.Method.invoke (unknown Source)

    at sun.reflect.misc.Trampoline.invoke (unknown Source)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke (unknown Source)

    at java.lang.reflect.Method.invoke (unknown Source)

    at sun.reflect.misc.MethodUtil.invoke (unknown Source)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke (unknown Source)

    at java.lang.reflect.Method.invoke (unknown Source)

    at com.sun.xml.internal.ws.api.server.MethodUtil.invoke (unknown Source)

    to com.sun.xml.internal.ws.api.server.InstanceResolver$ 1.invoke(Unknown Source)

    to com.sun.xml.internal.ws.server.InvokerTube$ 2.invoke (unknown Source)

    to com.sun.xml.internal.ws.server.sei.SEIInvokerTube.processRequest (Unknown Source)

    at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun (unknown Source)

    at com.sun.xml.internal.ws.api.pipe.Fiber._doRun (unknown Source)

    at com.sun.xml.internal.ws.api.pipe.Fiber.doRun (unknown Source)

    at com.sun.xml.internal.ws.api.pipe.Fiber.runSync (unknown Source)

    to com.sun.xml.internal.ws.server.WSEndpointImpl$ 2. process (unknown sourcee)

    to com.sun.xml.internal.ws.transport.http.HttpAdapter$ HttpToolkit.handle(unknown Source)

    at com.sun.xml.internal.ws.transport.http.HttpAdapter.handle (unknown SouNCE)

    at com.sun.xml.internal.ws.transport.http.server.WSHttpHandler.handleExchange(Unknown Source)

    to com.sun.xml.internal.ws.transport.http.server.WSHttpHandler.handle (acalled Source)

    to com.sun.net.httpserver.Filter$ Chain.doFilter (unknown Source)

    at sun.net.httpserver.AuthFilter.doFilter (unknown Source)

    to com.sun.net.httpserver.Filter$ Chain.doFilter (unknown Source)

    to sun.net.httpserver.ServerImpl$ Exchange$ LinkHandler.handle (unknown SouNCE)

    to com.sun.net.httpserver.Filter$ Chain.doFilter (unknown Source)

    to sun.net.httpserver.ServerImpl$ Exchange.run (unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker (unknown Source)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (unknown Source)

    at java.lang.Thread.run (unknown Source)

    I rarely use java for Madaboutangling, but I would check the to see if the psPortfoliosEventInfo object has been generated with the correct namespace.  Here is a c# class generated from a web job alert.

    [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.18020")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prosight.com/type/Portfolios/5.0/psPortfoliosWebServiceAlert")]
    public partial class psPortfoliosItemAddedToPortfolioEventInfo : psPortfoliosEventInfo {
    
    private psADDED_CREATED addedCreatedField;
    
    private psPortfoliosItemInfo addedItemInfoField;
    
    /// 
    public psADDED_CREATED AddedCreated {
    get {
    return this.addedCreatedField;
    }
    set {
    this.addedCreatedField = value;
    }
    }
    
    /// 
    public psPortfoliosItemInfo AddedItemInfo {
    get {
    return this.addedItemInfoField;
    }
    set {
    this.addedItemInfoField = value;
    }
    }
    }
    
    /// 
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(psPortfoliosMultipleCategoryConditionsMetEventInfo))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(psPortfoliosCategoryConditionMetEventInfo))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(psPortfoliosPhaseModifiedEventInfo))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(psPortfoliosActionItemModifiedEventInfo))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(psPortfoliosDeliverableModifiedEventInfo))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(psPortfoliosItemAddedToPortfolioEventInfo))]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.18020")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prosight.com/type/Portfolios/5.0/psPortfoliosWebServiceAlert")]
    public partial class psPortfoliosEventInfo {
    
    private string alertGuidField;
    
    private string alertNameField;
    
    private psPortfoliosItemInfo scopeInfoField;
    
    private System.DateTime eventDateTimeField;
    
    private int ownerIdField;
    
    private string ownerLoginField;
    
    /// 
    public string AlertGuid {
    get {
    return this.alertGuidField;
    }
    set {
    this.alertGuidField = value;
    }
    }
    
    /// 
    public string AlertName {
    get {
    return this.alertNameField;
    }
    set {
    this.alertNameField = value;
    }
    }
    
    /// 
    public psPortfoliosItemInfo ScopeInfo {
    get {
    return this.scopeInfoField;
    }
    set {
    this.scopeInfoField = value;
    }
    }
    
    /// 
    public System.DateTime EventDateTime {
    get {
    return this.eventDateTimeField;
    }
    set {
    this.eventDateTimeField = value;
    }
    }
    
    /// 
    public int OwnerId {
    get {
    return this.ownerIdField;
    }
    set {
    this.ownerIdField = value;
    }
    }
    
    /// 
    public string OwnerLogin {
    get {
    return this.ownerLoginField;
    }
    set {
    this.ownerLoginField = value;
    }
    }
    }
    

    V/r,

    Gene

  • JAX - RS Web service-deployment problem

    I am creating a restful Web service in Eclipse EPCO + Weblogic 10.3.6. When you use 'com.sun.jersey.spi.container.servlet.ServletContainer', I have no problem in the deployment and execution of the service. (kept in pots of Jersey in the lib to the application directory).

    but when you use 'weblogic.jaxrs.server.portable.servlet.ServletContainer', ranks not found exception during deployment. Can someone tell me what jar has this class that must be available on the classpath?

    FYI: I chose weblogic system libraries in the way of the construction and the facet of the JAX - RS project is selected.

    Thank you
    A

    This class is only available from WLS 12.1.1.0 "weblogic.jaxrs.server.portable.servlet.ServletContainer" Please check below for weblogic 12 c documentation that supports the two classes
    weblogic.jaxrs.server.portable.servlet.ServletContainer
    com.sun.jersey.spi.container.servlet.ServletContainer
    http://docs.Oracle.com/CD/E24329_01/Web.1211/e24983/configure.htm#RESTF179

    10.3.6 only "com.sun.jersey.spi.container.servlet.ServletContainer" is available.
    http://docs.Oracle.com/CD/E23943_01/Web.1111/e13734/rest.htm#WSADV572

    Kind regards
    Sunil P

  • Secure Web Service client

    Hello.
    I'm trying to create a Proxy Web Service using JDeveloper (client). The goal is to connect to a secure external web service.
    Provided by the service web WSDL contains no information on security policy.
    I decided to give it a try, so, since "Configuration of the customer strategy" page "Editor of Proxy" window I selected "oracle/wss_username_token_client_policy.
    The problem is that I have found a way to define the user name and the password. If I get an error like this:

    BASS: WSM-00078 powers in policy configuration is incorrect.
    SEVERE: WSM-00016 name username/password credentials or certificates null are missing.
    SEVERE: WSM-00005 error in sending the request.
    SEVERE: WSM-07607 failure in the execution of the assertion executor wss-username-token class oracle.wsm.security.policy.scenario.executor.WssUsernameTokenScenarioExecutor {http://schemas.oracle.com/ws/2006/01/securitypolicy}.
    SEVERE: WSM-07602 failure in execution of WS-Policy because of the exception.
    SERIOUS: Failure WSM - 07501 Oracle WSM Agent processRequest, category = security, function = agent.function.client, = null, composite application = null, modelObj = EVPQuery, political = oracle/wss_username_token_client_policy policyVersion = null, assertionName = {http://schemas.oracle.com/ws/2006/01/securitypolicy} username-wss-token.
    oracle.wsm.common.sdk.WSMException: WSM-00015: the user name is missing.
    at oracle.wsm.security.policy.scenario.executor.WssUsernameTokenScenarioExecutor.sendRequest(WssUsernameTokenScenarioExecutor.java:219)
    at oracle.wsm.security.policy.scenario.executor.SecurityScenarioExecutor.execute(SecurityScenarioExecutor.java:545)
    at oracle.wsm.policyengine.impl.runtime.AssertionExecutor.execute(AssertionExecutor.java:41)
    at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.executeSimpleAssertion(WSPolicyRuntimeExecutor.java:608)
    at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.executeAndAssertion (WSPolicyRuntime
    ...

    The code is something like this:

    Private Shared EVPQuery_Service eVPQuery_Service;

    Public Shared Sub main (String [] args)
    {
    eVPQuery_Service = new EVPQuery_Service();
    SecurityPolicyFeature [] = securityFeatures
    new SecurityPolicyFeature [] {new SecurityPolicyFeature("oracle/wss_username_token_client_policy")};
    EVPQuery eVPQuery = eVPQuery_Service.getEVPQuery (securityFeatures);
    EVPPersonQueryCriteria crit = new EVPPersonQueryCriteria();
    crit.setCnpNumber ("something");
    crit.setCountyCD ("something");
    Res EVPPersonQueryResult;
    Add your code to call the desired methods.
    try {}
    RES = eVPQuery.queryPerson (written);
    } catch (SableEVPQueryException e) {}
    System.out.println (e.getMessage ());
    }
    }

    I am looking for a solution pass the user name and the password for the web service.
    I'm here after six hours of searching, so if my question is stupid, please forgive me.

    Thank you

    Hello

    The chances are very slim that you will be able to get this to work since you don't really know how the service has been obtained.
    But since you want to do a test with the user name token policy, you can try with the code below:
    .
    Public Shared Sub main (String [] args)
    {
    class1Service = new Class1Service();
    SecurityPolicyFeature [] = securityFeatures
    new SecurityPolicyFeature [] {new SecurityPolicyFeature("oracle/wss_username_token_client_policy")};
    Class1, class1 = class1Service.getClass1Port (securityFeatures);
    Add your code to call the desired methods.
    Card reqContext = (class1) .getRequestContext ((BindingProvider));
    reqContext.put (BindingProvider.USERNAME_PROPERTY,">" ");
    reqContext.put (BindingProvider.PASSWORD_PROPERTY,">" ");
    System.out.println (Class1.SayHello ("SecureCall"));

    }

    Thank you
    Vishal

  • How to avoid the redéclarant your web service interface?

    Hello

    How can I avoid having to redeclare her your interface wsdl on each mxml page, where it is available? I want to only declare the web service and the operation is both and then just include it in the component where I access/update of data.

    I'm new to flex so this can be obviouse to another but not me. I tried including it in its own mxml file and then using the normal component include the tag to put. I get errors not being able to access the webservice via its ID.

    for example

    Error: Access of undefined property WebService.
    [mxmlc] WebService.getSiteOptions.send ();


    Thank you

    The solution is to place the web definition in a separate file and then use the "include" as feature to define your own namespace in the xml file. You do to include it in the main file of the application.

    for example
    <>
    ' xmlns:MX =' http://www.adobe.com/2006/mxml '
    xmlns:WebService = "webservice.*".
    Width = '100% '.
    Height = "100%".
    title = "Menu".
    creationComplete = "onInit (); » >

    On the main page of the application to include your web service file, do a

    The webservices.mxml file will contain your definitions.


    http://www.Adobe.com/2006/mxml '.
    height = '0 '.
    Visible = "false" >


    Import mx.rpc.soap.mxml.WebService;
    Import mx.rpc.events.FaultEvent;
    Import mx.controls.Alert;

    [Bindable]
    "public var webServiceWSDL:String =' http://127.0.0.1:8080 / jumpingbean/services/AddWebService? wsdl";
    public void onServiceFault(evt:FaultEvent):void
    {
    var err: error = new error (evt.fault.faultCode + "," + evt.fault.faultString);
    parentApplication.showError (err);
    }

    public void onSuccess(evt:Event):void
    {
    Alert.Show (evt. ToString());
    }

    ]]>



    etc.

    In the components of your child you can refer to the component by making a "parentApplication.services.webservice".

  • Failure of the Validation of WSDL (Web Services)

    I want to create a Service-Based Web Application in LabVIEW and I'm trying to go through the steps in the tutorial http://zone.ni.com/devzone/cda/tut/p/id/4728.

    I tried the following web services, but I still get the same error.

    http://coeservice.en.KKU.AC.th:8080/TemperatureConvertor/TemperatureConvertorService? WSDL

    http://www.ecubicle.NET/iptocountry.asmx?WSDL

    Error:

    The WSDL Validation failed.

    Validation failed. The URL is not formatted correctly and must be in the following form: http://localhost/test/good.asmx?WSDL

    I set a proxy with authentication. Without that, I have another error:

    Validation failed.

    The possible reasons are:

    1. the URL does not exist or the WSDL file is bad.

    2. authentication is not correct.

    3 proxy information is not correct.

    So, it seems that the proxy information is ok. But the web service I want to access is not located on the localhost - I want to access a Web service. Can someone give me a hint? I tried to change some parameters of the LabVIEW Web server. But it did not help anything.

    David

    Hi David,

    I tried second link you gave and worked perfectly (without authentication). One gives me the error that you mentioned.

    Are you sure that this URL exists?

    Andrea Perin

    Application engineer

    OR Germany

  • OfficeJet Pro 8625 not connected to the network - no active web services

    Just bought this printer and cannot get the active web services! Keeps telling me printer not connected to the network. Printing and scanning very well. It is connected via USB.

    Hello

    You need to connect the printer to a network in order to enable Web Services, those who will not work with a USB connection, such as those that require an internet connection.

    You can follow the steps below to connect the printer to the network and configuration for the ePrint printer:

    http://support.HP.com/us-en/document/c03721293

    Shlomi

  • Delete the MSE 3.0 (Web Services Enhancement?) before the upgrade from Vista to Windows 7

    Eager to upgrade Vista to Windows 7. Windows 7 compatibility report recommends to uninstall 'Microsoft WSE 3.0' of different searches, I think it's Web Services Enhancemment, a Microsoft Developers application.  (But I also get many results Windows secuity Essentials). In any case, I can't find WSE 3.0 in the normal control panel > uninstall program page.  I can't find it under start > all programs of research with Windows Explorer.  The compatibility report is specific says that I have Version3.0.5305.0. But where is it and how do I uninstall it. Thank you

    Hello

    Thank you for your response.

    Glad to know that you have addressed the issue.

    Your efforts to solve this problem is appreciated. Please do not hesitate to answer, in the case where you are facing in the future other problems with Windows.

  • ADF Mobile Page with the data control of Web Service not showing latest results

    Hello

    I developed a simple mobile application of ADF. It has two functions members and subscriptions. These two pages are part of my Taskflow. On the members page I show all members in a list by using the Web Service method data Find command. In the list item have a listener property Set where I'm storing MemberId in a variable of pageFlowScope for action. On the subscription page, I have a bar graph that gets the data with the help of a Find method in control of data to the Web Service. The find method is based on a view created criteria which has a member ID of input parameter. in the model of ADFBC project. I connected the variable using the AMX page binding. The variable is being levied on the pageFlowScope variable.

    The page displays the chart first to a member. And shows the same graph for the other members. I printed the memberId variable and it shows the value of the respective members. But the cards are not get updated every time I select new Member.

    I use JDeveloper 11.1.2.4.0.

    Any suggestions?

    Thank you

    Mehabub

    Go to the Connections tab, and then click the Green plus sign on the central section - you need to add a 'invokeAction. Give it a name, and then select the iterator that built the table, and that's all you should have to do. The invokeAction fires whenever you visit the page and should update the list.

    Rich,

  • How to create the new record of web service in the ADF?

    Hello, I use JDeveloper 11.1.2.3.0. I created a class and published as a web service. I created a web method like this:

       public void addNewRow(MyObject cob)

    {

    MyAppModule myAppModule = new MyAppModule();

    try {

    ViewObjectImpl vo = myAppModule.getMyVewObject1();

    ================> vo object is now null

    Row r = vo.createRow();

    r.setAttribute("Param1", cob.getParam1());

    r.setAttribute("Param2", cob.getParam2());

    vo.executeQuery(); getTransaction().commit();

    }

    catch (Exception e) { e.printStackTrace(); }

    }

    As I have written in the code, myAppModule.getMyVewObject1 () returns a null object. I do not understand why! AFAIK AppModule must initialize the object itself, when I call "getMyVewObject1()", but maybe I'm wrong, or maybe that's not the way it should be for the web methods. Has anyone ever have this problem? Any help would be much appreciated.

    You must use Configuration.createRootApplicationModule () to create the new instance of AM.

    Example: creating root Application Module Instance & #8211; Oracle ADF | Techiecook & #039; s Nook

    Also, the methods in your AM can be automatically exposed as service web soap:

    Andrejus Baranovskis blog: Web Service Interface for molten Oracle 11 g ADF BC Application Module

    And note that your code has other issues, for example:

    vo.createRow () will not automatically add this line to the View object.

    vo.executeQuery () is not necessary...

    Dario

  • Simple way to check the status of EPM web services

    Hi all

    I need a shell script that would check the status of all EMP web services (HSS, APS and EAS for now)...

    --

    I notice that the content of the below URL provides a way to check the status of the workspace:

    http://Server1:28080 / status/work space

    <? XML version = "1.0" encoding = "UTF-8"? >

    <Status >

    "<Initialization State="LOAN" attemptCount="1"/ > " "

    <Code >0 < /Code >

    <Message >workspace runs normally. < /Message >

    <Products >

    <Product >bpm < /product >

    <Product >workshop < /product >

    <Product >APS < /product >

    < /Products >

    < /status >


    Note that server1 run HSS, APS and EAS.

    The below URL is not very informative...

    http://Server1:28080 / status

    Status: Active

    -> Someone knows of other ways / URL that can provide a summary of the status of the managed servers? I intend to use a shell script to analyze the rest of these URLs in order to assess the health of services... I guess that there is a way of using WLST to check the status of the managed server, as these services are controlled via the Console of Administration WebLogic web app.

    Thank you!

    Have a read of the following Oracle support doc - "Troubleshooting Oracle Hyperion Enterprise Performance Management 11.1.2.0 or 11.1.2.1 11.1.2.2 utilities 11.1.2.3 [Video] (Doc ID 1303200.1).

    He has a list of URLS to check the status of web applications.

    See you soon

    John

    http://John-Goodwin.blogspot.com/

Maybe you are looking for