Oracle BI Web Services to extract Presentation Variables

Hi Folks,
I have a complex requirement and was unable to find the right solution on web.
My general question is,
What is the C# code which uses Oracle BI Web Services to extract Presentation Variables information and write it to XML files?
We are unable to extract for Presentation Variables with Variable Value but able to extract for Column Value.
So please share your thoughts as how to extract the presentation variables.
Thanks,
Oj

Oj,
Check this
O.B.I.E.E: Obiee Web Services – Using .net and C#
http://msdn.microsoft.com/en-us/library/windows/desktop/gg537745(v=vs.85).aspx
Try this and let us know the outcome.
Thanks,

Similar Messages

  • WS-I fails with Oracle Generated Web Service

    Hi
    I recently used WS-I Analyzer to analyze the HTTP Analyzer logs. I get the following error:
    SSBP1003
    The Content-Type header is not present.
    Element Location:
    lineNumber=19
    SSBP5101
    The message either (1) did not have a "Content-Type" HTTP header field, or (2) the "Content-Type" HTTP header field had a field-value whose media type was something other than "text/xml"
    Element Location:
    lineNumber=19
    Any ideas?

    I successfully developed the oracle native web service for returning single record but the next challenge is to develop web service in order to return multiple record (like Employees data base on each department)You could return a list (multiple values/records) in XML format (using XMLType or CLOB), or CSV, or JSON, or whatever.
    function get_employees (p_department_id in number) return clob
    as
    begin
      return 'your_xml_string_here';
    end get_employees;It would be up to the client (the caller of the web service) to extract the values from whatever format you decide upon, of course.
    - Morten
    http://ora-00001.blogspot.com

  • How to return multiple record with Oracle Native Web Service?

    Dear all,
    I would like to know that the oracle native web service can be able to return multiple records to client or not?
    I successfully developed the oracle native web service for returning single record but the next challenge is to develop web service in order to return multiple record (like Employees data base on each department)
    Thank and Regards,
    Zenoni

    I successfully developed the oracle native web service for returning single record but the next challenge is to develop web service in order to return multiple record (like Employees data base on each department)You could return a list (multiple values/records) in XML format (using XMLType or CLOB), or CSV, or JSON, or whatever.
    function get_employees (p_department_id in number) return clob
    as
    begin
      return 'your_xml_string_here';
    end get_employees;It would be up to the client (the caller of the web service) to extract the values from whatever format you decide upon, of course.
    - Morten
    http://ora-00001.blogspot.com

  • Oracle 9i Web Services Quickstart Install TCP tunneling problem

    When I try to run the OTNGUIDGenerator example using the TCP Tunneling portion of the Oracle 9i Web Services Quickstart
    Install I get this in the From localhost8900 tunnel window:
    <?xml version='1.0' encoding='UTF-8'?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Body>
    <ns1:getGUID xmlns:ns1="oracle.otn.ws.emarket.OTNGUIDGenerator" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    </ns1:getGUID>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    I get this in the From 127.0.0.1:8888 window:
    HTTP/1.1 404 Not Found
    Date: Mon, 28 Oct 2002 20:38:06 GMT
    Server: Oracle9iAS (9.0.2.0.0) Containers for J2EE
    Content-Length: 171
    Connection: Close
    Content-Type: text/html
    <HTML><HEAD><TITLE>404 Not Found</TITLE></HEAD><BODY><H1>404 Not Found</H1>Resource /j2ee-web/oracle.otn.ws.emarket.OTNGUIDGenerator not found on this server</BODY></HTML>
    This is my webservices stub
    public class OTNGUIDGeneratorStub
    /** public String endpoint = "http://otn.oracle.com/ws/oracle.otn.ws.emarket.OTNGUIDGenerator"; */
    public String endpoint = "http://127.0.0.1:8900/j2ee-web/oracle.otn.ws.emarket.OTNGUIDGenerator";
    private OracleSOAPHTTPConnection m_httpConnection = null;
    public OTNGUIDGeneratorStub()
    System.setProperty("oracle.soap.transport.noHTTPClient", "true");
    m_httpConnection = new OracleSOAPHTTPConnection();
    Properties props = new Properties();
    /** props.put(OracleSOAPHTTPConnection.PROXY_AUTH_TYPE, "basic");
    props.put(OracleSOAPHTTPConnection.PROXY_HOST, "proxy.scott.af.mil");
    props.put(OracleSOAPHTTPConnection.PROXY_PORT, "375");
    props.put(OracleSOAPHTTPConnection.PROXY_USERNAME, "fowlerji");
    props.put(OracleSOAPHTTPConnection.PROXY_PASSWORD, "F1234567*g"); */
    m_httpConnection.setProperties(props);
    Not sure what to call the server - this works okay when I'm not using tunneling and using our proxy server??

    I think your problem is that you have a proxy user/password and the TCP Monitor (both the command line and built-in 9.0.3 version) do not support that - they only support specification of the proxy server itself :-(
    It is a feature request that I hope will make it into the late spring/early summer release of JDeveloper - I wrote it up as a request based on the number of folks who faced this issue with these tutorials.
    Mike.

  • Oracle Spatial Web Services in ADF application

    Hi,
    I want to use Oracle Spatial Web Services in an ADF application (JDeveloper 11.1.2) to retrieve Longitude/Latitude after inserting/upating an address record.
    Is there any sample app or documentation on how to do this?
    Thank you,
    Monica

    I never did solve the problem. I decided to try out GeoServer for WFS and am very impressed. It was much easier to install and pretty feature-filled as well with a lot of documentation. I would definitely suggest checking it out to see if it will fit your needs.

  • Oracle Calendar Web services toolkit download

    Where can I download Oracle Calendar Web Services Toolkit ?

    OK, I found it under the OCS sindows client v9 download.

  • ORA-06502 JNI.CALL_STRING_METHOD Oracle Forms & Web Services

    Hello:
    A customer of us has been integrating Oracle Forms 10g and Web Services.
    There is a java class named WsGenQueryStub. That java class has been generated using Oracle JDeveloper.
    It implements the consume of a Web Service That class has a method named GetDat which receives 2 input parameters which are of VARCHAR2 type, containing XML text.
    This method returns an XML text string which may have more than 4000 characters .
    That class is incluedd at forms application by using the "Import Java Class" feature.
    Forms builds a package named WsGenQueryStub which includes the following funtion
    -- Method: GetData (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    FUNCTION GetData(
    obj ORA_JAVA.JOBJECT,
    a0 VARCHAR2,
    a1 VARCHAR2) RETURN VARCHAR2 IS
    BEGIN
    args := JNI.CREATE_ARG_LIST(2);
    JNI.ADD_STRING_ARG(args, a0);
    JNI.ADD_STRING_ARG(args, a1);
    RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'Interfases/WsGenQueryStub', 'GetData', '(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;', args);
    END;
    Forms Version is 9.0.4.0.19 , and PL/SQL version ( of forms ) is 9.0.1.5.1 , both support variables of type VARCHAR2 up to 32767 characters long
    However when the form is run the line
    RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'Interfases/WsGenQueryStub', 'GetData', '(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;', args);
    gets the ORA-06502 error when the returned text is longer than 4000 characters
    I thank your answers.
    Fernando.

    Ferdo,
    could you split up the result string in chunks that don't exceed the max. length? A method exposed on the Java class to could do this and be called from Forms as long as there is data coming.
    Frank

  • Using Oracle AS Web Services stub in portlet?

    I have built a portlet using the jdeveloper plugin wizard, and added a web service stub using the jdeveloper wizard for that. I have added no other code to the portlet than the stub. When running the portlet the classloader throws an class format exception. When using the same stub in a standalone application it runs fine. The libraries mentioned in jdevelopers under the system library "Oracle SOAP" has all been added to the webapplication web-inf/lib. How do I fix it?

    (coworker)
    We have solved the problem. It turned out that the auto generated stub contained code not compatible with the OC4J class loader (but compatible with normakl JVM classload). By modifying the stub a little we got it working. Here is the an extract from one method in the stub. The two line that work comes first and the two next lines contains the auto generated code
    public Integer dispatchFile(byte[] fileContent, Integer programID) throws Exception {
    params.addElement(new Parameter("fileContent", fileContent.getClass(), fileContent, null));
    params.addElement(new Parameter("programID", programID.getClass(), programID, null));
    // params.addElement(new Parameter("fileContent", byte[].class, fileContent, null));
    // params.addElement(new Parameter("programID", Integer.class, programID, null));
    The two original lines compiles into some static class members and a static method that fails to load.
    The new code does not produce any static content.
    We consider this behaviour to be an OC4J error.

  • Oracle CRM web services

    javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? and 500 Internal error
    This is the error I am getting, whenever I run the program. I have put dummy credentials
    package crmod;
    import com.sun.net.httpserver.Authenticator;
    import crmondemand.xml.contact.Contact;
    import java.io.IOException;
    import java.net.HttpURLConnection;
    import java.net.PasswordAuthentication;
    import java.net.URL;
    import java.security.Security;
    import java.util.StringTokenizer;
    import org.apache.axis.session.Session;
    public class CRMOD {
        public CRMOD() {
        public static void main(String[] args) {
        //  System.getProperties().put( "proxyHost", "172.17.24.24");
         // System.getProperties().put( "proxyPort", "8003");
       //   System.getProperties().put("proxySet", true);
         //            System.setProperty("http.proxyHost", "172.17.24.24");
         //            System.setProperty("http.proxyPort", "8003");
          //           System.setProperty("https.proxyHost", "172.17.24.24");
        //             System.setProperty("https.proxyPort", "8003");
          //           System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
          //           Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
          System.setProperty("javax.net.ssl.trustStore","C:\\Oracle\\Middleware\\jdk160_21\\jre\\lib\\security\\cacerts");
        System.setProperty("https.proxyHost", "172.17.24.24 ");
        System.setProperty("https.proxyPort", "8003");
           System.setProperty("mail.smtp.socketFactory.fallback", "true");
          String jsessionid;
                 String endpoint;
                 try
                                          CRMOD crmod = new CRMOD();
                                          System.out.println("Logging In");
                                          jsessionid = crmod.logon("https://secure-slsomxvka.crmondemand.com/Services/Integration", "CRM", "Ondemand");
                                          System.out.println(jsessionid);
                   endpoint =  "https://secure-slsomxvka.crmondemand.com/Services/Integration" + ";jsessionid=" + jsessionid;
                   URL urlAddr =  new java.net.URL( endpoint);
                   crmondemand.ws.contact.Contact service = new crmondemand.ws.contact.ContactLocator();
                   crmondemand.ws.contact.Default_Binding_Contact stub = service.getDefault(urlAddr);
                   crmondemand.ws.contact.ContactWS_ContactInsert_Input contactlist = new crmondemand.ws.contact.ContactWS_ContactInsert_Input();
                   crmondemand.ws.contact.ContactWS_ContactInsert_Output outlist = new crmondemand.ws.contact.ContactWS_ContactInsert_Output();
                   crmondemand.xml.contact.Contact[] contacts = new crmondemand.xml.contact.Contact[1];
                   crmondemand.xml.contact.Contact contact = new crmondemand.xml.contact.Contact();
                   contact.setContactFirstName("Joy");
                   contact.setContactLastName("Jose");
                   contact.setExternalSystemId("72134");
                   contacts[0] = contact;
                   contactlist.setListOfContact(contacts);
                   contactlist.setEcho("off");  // Don’t forget this line, as the Web service call would fail!
                   outlist = stub.contactInsert(contactlist);
                   crmondemand.xml.contact.Contact[] results = new crmondemand.xml.contact.Contact[1];
                   crmondemand.xml.contact.Contact result = new crmondemand.xml.contact.Contact();
                   results = outlist.getListOfContact();
                   result = results[0];
                   System.out.println(result.getContactId());
                                          crmod.logoff("https://secure-slsomxvka.crmondemand.com/Services/Integration", jsessionid);
                                          System.out.println("Log Out");
                 catch (Exception  e)
                         System.out.println(e);
      private static String logon(String wsLocation, String userName,
                                     String password) {
             String sessionString = "FAILURE";
             try {
                 // create an HTTPS connection to the On Demand webservices
                 URL wsURL = new URL(wsLocation + "?command=login");
                 HttpURLConnection wsConnection =
                     (HttpURLConnection)wsURL.openConnection();
                 // we don't want any caching to occur
                 wsConnection.setUseCaches(false);
                 // we want to send data to the server
                 // wsConnection.setDoOutput(true);
                 // set some http headers to indicate the username and passwod we are using to logon
                 wsConnection.setRequestProperty("UserName", userName);
                 wsConnection.setRequestProperty("Password", password);
                 wsConnection.setRequestMethod("GET");
                 // see if we got a successful response
                 if (wsConnection.getResponseCode() == HttpURLConnection.HTTP_OK) {
                     // get the session id from the cookie setting
                     sessionString = getCookieFromHeaders(wsConnection);
             } catch (Exception e) {
                 System.out.println("Logon Exception generated :: " + e);
             return sessionString;
         * log off an existing web services session, using the sessionCookie information
         * to indicate to the server which session we are logging off of
         * @param wsLocation - location of web services provider
         * @param sessCookie - cookie string that indicates our sessionId with the WS provider
         private static void logoff(String wsLocation, String sessionCookie) {
             try {
                 // create an HTTPS connection to the On Demand webservices
                 URL wsURL = new URL(wsLocation + "?command=logoff");
                 HttpURLConnection wsConnection =
                     (HttpURLConnection)wsURL.openConnection();
                 // we don't want any caching to occur
                 wsConnection.setUseCaches(false);
                 // let it know which session we're logging off of
                 wsConnection.setRequestProperty("Cookie", sessionCookie);
                 wsConnection.setRequestMethod("GET");
                 // see if we got a successful response
                 if (wsConnection.getResponseCode() == HttpURLConnection.HTTP_OK) {
                     // if you care that a logoff was successful, do that code here
                     // showResponseHttpHeaders(wsConnection);
             } catch (Exception e) {
                 System.out.println("Logoff Exception generated :: " + e);
         * given a successful logon response, extract the session cookie information
         * from the response HTTP headers
         * @param wsConnection successfully connected connection to On Demand web services
         * @return the session cookie string from the On Demand WS session or FAIL if not
         found*
         private static String getCookieFromHeaders(HttpURLConnection wsConnection) {
             // debug code - display all the returned headers
             String headerName;
             String headerValue = "FAIL";
             for (int i = 0; ; i++) {
                 headerName = wsConnection.getHeaderFieldKey(i);
                 if (headerName != null && headerName.equals("Set-Cookie")) {
                     // found the Set-Cookie header (code assumes only one cookie is being set)
                     headerValue = wsConnection.getHeaderField(i);
                     break;
             // return the header value (FAIL string for not found)
             return headerValue;
      private static String getSessionId(String cookie) {
                StringTokenizer st = new StringTokenizer(cookie, ";");
                String jsessionid = st.nextToken();
                st = new StringTokenizer(jsessionid, "=");
                st.nextToken();
                return st.nextToken();

    I guess both errors are same ..

  • Oracle Database Web Service Client using UTL_DBWS :: ORA-29532 Error

    Hi,
    I have the Oracle Database 10.2.0.1.0 :-
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - ProductionI have written a simple Web Services Client using the classes gfrom the UTL_DBWS package. I loaded the JAR file dbwsclient.jar in the SYS Schema and I am trying to use it in the USF Schema.
    However, I have hit this error & I ma unable to proceed :-
    SQL>  select get_stock_price from dual;
    select get_stock_price from dual
    ERROR at line 1:
    ORA-29532: Java call terminated by uncaught Java exception:
    java.lang.IllegalAccessException: javax.xml.rpc.ServiceException:
    java.security.AccessControlException: the Permission
    (java.lang.RuntimePermission getClassLoader) has not been granted to USF. The
    PL/SQL to grant this is dbms_java.grant_permission( 'USF',
    'SYS:java.lang.RuntimePermission', 'getClassLoader', '' )
    ORA-06512: at "USF.UTL_DBWS", line 193
    ORA-06512: at "USF.UTL_DBWS", line 190
    ORA-06512: at "USF.GET_STOCK_PRICE", line 17Can you please help me with this ?
    Regards,
    Sandeep

    Hi,
    The error message said
    the Permission(java.lang.RuntimePermission getClassLoader) has not been granted to USF.
    I'd follow the suggestion
    The PL/SQL to grant this is dbms_java.grant_permission( 'USF','SYS:java.lang.RuntimePermission', 'getClassLoader', '' )
    In case you have not done so, consult the Callout Users Guide @
    http://www.oracle.com/technology/sample_code/tech/java/jsp/callout_users_guide.htm
    Kuassi http://db360.blogspot.com

  • Oracle BI  Web Services "SecurityServices.createAccount" Failure

    I am attempting to create a script to add potentially 1200 accounts to our BI presentation server. If this is not the best method for doing this please suggest something else.
    I am trying to use the Webservice interface to call the securityservices.createAccount functionality but I am returned only a authentication error with no details.
    I am logged in as adminstrator and I am passing that session ID in the service call to createAccount.
    Additionally I want to ask why is this not documented anywhere. All the PDFs do not mention this function although it is clearly there in the WSDL.

    Simple Mistake. Web service was logging into a different server then where the next web service was making a request.
    Opps.

  • Oracle ADF web services data control reconfiguration problem....

    We fallow instruction below
    http://www.oracle.com/technology/products/jdev/viewlets/1013/bpelfromadf_viewlet_swf.html
    That was our test environment.
    we need to change web service url according to our production environment.
    But we can't find ADF web services data control configuration pages.
    do we need to manually change XML file.
    Thanks..

    sorry. I miss the structure windows..
    I see the menu.
    in my opinion this setting need to be done on the item.
    Also We can't refresh Web servise parameter list from there.
    is tehre any where to refresh parameter list.

  • Use other application server to run Oracle generated web services

    Hi all,
    I am currently running an Oracle 9i database and application server (OC4J) and use WebservicesAssembler (JPublisher) to expose PL/SQL packages as web services to an external PDA application.
    Is it possible to run the EAR files (the assembled web service) generated in this way on another type of application server? This question because I need to use Resin in a live environment.
    If this is not possible, would there be a way to work around it? I mean by manually programming the web service against the PL/SQL package. And if so, has anybody tried that out before?
    Are there other alternatives?
    Thanks in advance for your help!
    Regards,
    Stijn Lambert

    Hello,
    Which version of OracleAS/Web Service stack are you using?
    If you are using a version prior to 10.1.3 the Web Service stack is proprietary and not portable.
    JAX-RPC used in 10.1.3 is more portable but you have to be very careful about the way you create your deployment descriptor.
    In a general manner you can always create pure JDBC/JPublisher clients and expose them using the Web Service that you want.
    Regards
    Tugdual Grall

  • BPEL & Oracle J2EE Web Services

    I have only tested with success invocations to JAX-RPC
    web services.
    When I try to call an oracle J2EE rpc/encoded web service
    I get a runtime error:
    BPEL Fault: {http://mypackage4/ws_hola.wsdl}org.apache.wsif.soap.fault{org.apache.wsif.soap.fault.object=No Deserializer found to deserialize a 'http://mypackage4/ws_hola.wsdl:quien' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'. [java.lang.IllegalArgumentException]}
    Does anybody know why?

    Hello 2087,
    try to add support for xsi type in "bpel.xml" of your bpel process
    Example:
    <?xml version="1.0"?>
    <BPELSuitcase>
    <partnerLinkBinding name="PartnerLinkName">
    <property name="wsdlLocation">services/PartnerLinkNameWrapper.wsdl</property>
    <property name="sendXSIType">true</property>
                   </partnerLinkBinding>
    For more information see the link in this forum:
    [NOTE] Adding xsi type to SOAP messages
    ByeBye
    Andrea

  • Oracle SMS web service

    Has anyone got this demo SMS web service to work?
    http://otn.oracle.com/tech/webservices/htdocs/series/mobile/content.html
    I tried using many different ways: Oracle's SOAP lib, Apache SOAP, Apache Axis, ASP.NET. None of them work.
    When I used Oracle's SOAP lib within Jdev9i (as illustrated by the demo code), I get a MainClassNotFound, when using all the other libraries. I get errors with SOAP message encapsulation (I think other libs have trouble encoding the ArrayOfString data type).
    I'd like to hear from someone who successully used this web service.
    The WSDL is at http://otn.oracle.com/ws/9iasmobile?WSDL

    Has anyone got this demo SMS web service to work?
    http://otn.oracle.com/tech/webservices/htdocs/series/mobile/content.html
    I tried using many different ways: Oracle's SOAP lib, Apache SOAP, Apache Axis, ASP.NET. None of them work.
    When I used Oracle's SOAP lib within Jdev9i (as illustrated by the demo code), I get a MainClassNotFound, when using all the other libraries. I get errors with SOAP message encapsulation (I think other libs have trouble encoding the ArrayOfString data type).
    I'd like to hear from someone who successully used this web service.
    The WSDL is at http://otn.oracle.com/ws/9iasmobile?WSDL

Maybe you are looking for