Obiee Answers XML request

Anyone can tell me where i can get documentation about the XML on the requests of obiee answers?

Hi,
The channels table is in the database schema ..because i am able to drag the columns from channels table in answers and veiw the results.
when the query runs through the RPD it works fine .
but when i run the query using direct database request feature of answers...I see the error.

Similar Messages

  • Request chaning/flow in OBIEE Answers?

    In OBIEE Answers, is it possible to save the value of a request and reuse this value for further
    calculations?
    In other words, I want to use the results of request(s) as the data source for another request.
    The use case is like this:
    1. Use OBIEE Answers to get the value of a metric. There are multiple such metrics. Create one request per metric and save all such requests.
    2. Use the requests saved in step 1 to derive a higher layer of metrics. Save these requests.
    3. Use the requests saved in step 2 to derive a higher layer of metrics. Save these requests.
    And so on.
    Then I want to show these metrics on the dashboard with drill down navigation.
    Appreciate your help.
    Thank you.

    Hi all,
    Thanks for the reply.
    But this doesn't seem to solve the problem.
    Let me put it in other words:
    Result-1:
    Metric_A X <-- single row resulting from a request in OBIEE Answers
    Result-2:
    Metric_B Y <-- again single row resulting from a request in OBIEE Answers
    Result-3 (to be derived from above two results)
    Metric_C a*X + b*Y
    where a, b are constants.
    and so on...
    Edited by: user2363628 on Jun 10, 2010 2:18 AM

  • Error processing XML request, java.lang.IllegalArgumentException

    Hi all,
    In my code I can successfully connect to server and send the content which is an XML content:
    param = java.net.URLEncoder.encode(s, "UTF-8");
    java.io.PrintWriter out = new java.io.PrintWriter(connection.getOutputStream());
    out.print(param);
    Read the response from server:
    java.io.BufferedReader in = new java.io.BufferedReader(new java.io.InputStreamReader(connection.getInputStream()));
    while((input = in.readLine()) != null)
    response += input + "\r";
    System.out.println("Client : received : "+response);
    Following is the response I receive from server:
    Client : received : <html><h1>Error processing XML request</h1>java.lang.IllegalArgumentException: No xml request posted</html>
    Has anybody know what the problem is? Why this error is issued?
    Any help is greatly appreciated.

    Dear legosa,
    Thanks so much for the replies. What you wrote makes absolute sence, w/o flush() or close(), it seems that I'm sending only balnk to output!
    I don't know how can I fix the 500 Internal Server Error; below is my complete code that does this part, can you tell me if you see sth. wrong in this code?
    param = java.net.URLEncoder.encode(aTrans.xmlDoc, "UTF-8");
    url = new URL("https://xml.test.surepay.com");
    connection = (HttpURLConnection)url.openConnection();                    
    connection.setDoInput(true);
    connection.setDoOutput(true);
    connection.setUseCaches(false);
    connection.setRequestMethod("POST");
    connection.setRequestProperty("Content-type", "application/x-www-form-urlencoded");
    String sLen = "" + param.length();
    connection.setRequestProperty("Content-length", sLen);
    connection.setRequestProperty("Accept", "text/plain");
    connection.connect();
    System.out.println("Client : Connected");
    java.io.PrintWriter out = new java.io.PrintWriter(connection.getOutputStream());
    System.out.println("Client : Writing Content");
    out.print(param);
    out.close();
    System.out.println(connection.getURL());          
    System.out.println(connection.getResponseCode() + " " + connection.getResponseMessage());
    System.out.println(connection.getURL());
    System.out.println("Client : Waiting for response from Server");
    java.io.BufferedReader in = new java.io.BufferedReader(new java.io.InputStreamReader(connection.getInputStream()));
    System.out.println("Client : Opened input stream");
    while((input = in.readLine()) != null)
    response += input + "\r";
    System.out.println("Client : received : "+response);

  • Create a cache for external map source - Error in parsing xml request.

    When doing the following:
    Create a cache for external map source
    I get "error in parsing xml request" when setting the following
    Map service Url:
    http://neowms.sci.gsfc.nasa.gov/wms/wms?version=1.3.0&service=WMS&request=GetCapabilities
    It looks like it is breaking on "&". Any suggestions?
    Rob

    Hi Chris,
    thanks for your reply!
    I've tried to add the following into persistence.xml (although I've read that eclipseLink uses L2 cache by default..):
    <shared-cache-mode>ALL</shared-cache-mode>
    Then I replaced the Cache bean with a stateless bean which has methods like
    Genre findGenreCreateIfAbsent(String genreName){
    Genre genre = genreDAO.findByName(genreName);
    if (genre!=null){
    return genre;
    genre = //Build new genre object
    genreDAO.persist(genre);
    return genre;
    As far as I undestood, the shared cache should automatically store the genre and avoid querying the DB multiple times for the same genre, but unfortunately this is not the case: if I use a FINE logging level, I see really a lot of SELECT queries, which I didn't see with my "home made" Cache...
    I am really confused.. :(
    Thanks again for helping + bye

  • How to work with Fedex xml request

    Hi Developers,
    In USPS I can send the xml request with http url in the browser and successfully getting the xml response. How can we achieve the same concept in FedEx?
    Is this possible?
    In FedEx site i downloaded the xml-transaction pdf, which contains the multiple xml request. I don't know how to test it with the browser.
    Sample xml request for Fedex which i founded in the above mentioned pdf is shown below:
    <?xml version="1.0" encoding="UTF-8" ?>
    <FDXSubscriptionRequest xmlns:api="http://www.fedex.com/fsmapi" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"
    xsi:noNamespaceSchemaLocation="FDXSubscriptionRequest.xsd">
    <RequestHeader>
    <CustomerTransactionIdentifier>String</CustomerTransactionIdentifier>
    <AccountNumber>123456789</AccountNumber>
    </RequestHeader>
    <Contact>
    <PersonName>Jim Smith</PersonName>
    <CompanyName>Creative Widgets</CompanyName>
    <Department>Shipping</Department>
    <PhoneNumber>5405559900</PhoneNumber>
    <PagerNumber>9999999999</PagerNumber>
    <FaxNumber>5405559901</FaxNumber>
    <E-MailAddress>[email protected]</E-MailAddress>
    </Contact>
    <Address>
    <Line1>123 Main Street</Line1>
    <Line2>1st Floor</Line2>
    <City>Anycity</City>
    <StateOrProvinceCode>VA</StateOrProvinceCode>
    <PostalCode>24060</PostalCode>
    <CountryCode>US</CountryCode>
    </Address>
    </FDXSubscriptionRequest>
    and they also provide the sample xml response which is given below:
    <?xml version="1.0" encoding="UTF-8" ?>
    <FDXSubscriptionReply xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="FDXSubscriptionReply.xsd">
    <RequestHeader>
    <CustomerTransactionIdentifier>String</CustomerTransactionIdentifier>
    </RequestHeader>
    <MeterNumber>1234567</MeterNumber>
    <SubscribedService>FedEx Express Shipping</SubscribedService>
    </FDXSubscriptionReply>
    I want to know how to send the above mentioned FedEx xml request in the browser to reach the FedEx Server or how to achive the FedEx xml request using java
    code.
    But these concepts is possible in the USPS because we make a connection with http url(provided by usps) and then we will send the xml request, where as in FedEx the http url is inside the xml structure. So how can we achive this?
    Please help me to come out from this problem
    Thanks
    Srinivasan

    You might have to tweak this code some to get it to work, but it should at least lay the groundwork for solving your problem:
    Code Snippet
    /* Declare an XmlNode object and initialize it with the XML response from the GetListItems method. The last parameter specifies the GUID of the Web site containing the list. Setting it to null causes the Web site specified by the Url property to be used.*/
                System.Xml.XmlNode nodeListItems =
                    MyListsService.GetListItems
                    (listName, viewName, query, viewFields, rowLimit, queryOptions, null);
    System.Xml.XmlDocument xd = new System.Xml.XmlDocument();
    xd.LoadXml(nodeListItems.OuterXml);
    System.Xml.XmlNamespaceManager nm = new System.Xml.XmlNamespaceManager(xd.NameTable);
    nm.AddNamespace("rs", "urn:schemas-microsoft-com:rowset");
    nm.AddNamespace("z", "#RowsetSchema");
    nm.AddNamespace("rootNS", "http://schemas.microsoft.com/sharepoint/soap");
    System.Xml.XmlNodeList nl = xd.SelectNodes("/rootNS:listitems/rs:data/z:row", nm);
    foreach(System.Xml.XmlNode listItem in nl)
      listBoxProsjekter.Items.Add(listItem.OuterXml);
    I hope this helps!
    Please look into the following site for more info:
    http://msdn2.microsoft.com/en-us/library/4bektfx9(vs.80).aspx

  • XML request in Flex WebService using ActionScript

    Hi,
    I'm having a problem with dumping the request XML. When I send XML request to a web service with soapUI, it gives me normal results, but when I try to do the same thing in Flash using Flex, the web sevice responds with a SOAP fault. This is basically what I'm doing:
    var xml = XML('<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://some.web-sr.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><SOAP-ENV:Header/><SOAP-ENV:Body><ns1:SomeOperation><ns1:data></ns1:data></ns1:SomeOpera tion></SOAP-ENV:Body></SOAP-ENV:Envelope>');
    wsOperation = getWsOperation('SomeOperation');
    wsOperation.resultFormat = 'e4x';
    wsOperation.request = xml;
    wsOperation.send();
    Result: <faultstring>The path is not of a legal form. ---&gt; The path is not of a legal form.</faultstring>
    How can I dump the request xml which was actually sent to the web service by Flex? Or what am I doing wrong here?
    Thanks in andvance,
    MC

    At last, after three days of reading the WHOLE INTERNET and posting this I have managed to dump the request data
    var assetToken = wsOperation.send();
    trace(assetToken.message);
    Hope this helps anybody else.
    Regards,
    MC

  • How can I send an XML request to the server using JSP

    Can anybody say how to send a xml request
    For ex:
    Address:__________
    City: ________
    State:__________
    Country:________
    and a Submit Button.
    By clicking on the Submit Button -- xml request had to go to the server.
    Please send the detailed code for it

    xml http request..is that wat your are looking for?

  • How can I send an XML request to the server using servlets

    How can I send an XML request to the server using servlets

    http://forum.java.sun.com/thread.jspa?threadID=5158333
    http://forum.java.sun.com/thread.jspa?threadID=5158705
    Crossposting is lame.

  • ODI Invoke Web Service XML Request error.

    hi,
    i want to invoke a web service from ODI 10g.
    i use OdıInvokeWebService in package.
    in General tab. I wrote the parameters values. when i execute package
    it gives error;
    com.sunopsis.wsinvocation.SnpsWSInvocationException: Part does not exist:Header
         at com.sunopsis.wsinvocation.client.a.d.a(d.java)
         at com.sunopsis.wsinvocation.client.a.d.a(d.java)
         at com.sunopsis.wsinvocation.client.a.d.b(d.java)
         at com.sunopsis.wsinvocation.client.a.c.a(c.java)
         at com.sunopsis.wsinvocation.client.a.c.getWebServiceRequestByOperation(c.java)
         at com.sunopsis.dwg.tools.InvokeWebService.actionExecute(InvokeWebService.java)
         at com.sunopsis.dwg.function.SnpsFunctionBase.execute(SnpsFunctionBase.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execIntegratedFunction(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlS.treatTaskTrt(SnpSessTaskSqlS.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.k(e.java)
         at com.sunopsis.dwg.cmd.g.A(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    when i invoke from advanced button web service retrieve data.
    and XML Request parameter is wrong. what is wrong about XML request?
    i copied XML Request value from SoapUI.
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:db="DB_SUBS_BUDGET">
    <soapenv:Header>
    <db:QaaWSHeader>
    <!--Optional:-->
    <db:sessionID xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
    <!--Optional:-->
    <db:serializedSession xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
    </db:QaaWSHeader>
    </soapenv:Header>
    <soapenv:Body>
    <db:runQueryAsAService>
    <db:login>DWH_BO</db:login>
    <db:password>Pass1234</db:password>
    </db:runQueryAsAService>
    </soapenv:Body>
    </soapenv:Envelope>
    thanks

    hi again,
    i solved "Part does not exist:Header" error
    i changed xml request
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:db="DB_SUBS_BUDGET">
    <db:QaaWSHeader/>
    <db:runQueryAsAService>
    <db:login>DWH_BO</db:login>
    <db:password>Avea1234</db:password>
    </db:runQueryAsAService>
    </soapenv:Envelope>
    now a new error occures;
    how can i pass this error?.
    java.lang.Exception: org.apache.crimson.tree.XmlDocument.getXmlStandalone()Z
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.k(e.java)
         at com.sunopsis.dwg.cmd.g.A(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    thanks

  • WebService setting xml request

    I'm a .NET developer learning Flex
    I'm trying to set the xml request in the flex webservice.  A little background, I'm uploading a file to a third-party and they respond with xml data I want to use.  I want to take that xml and pass it to a .NET webservice.  I have verified the .NET webservice gets called everytime but its not getting the xml data.  What am I missing?  Here is my code.
    private function responseHandler( event:DataEvent ) :void{
    var response:XML = XML( event.data );
    var service:WebService = new WebService();
    service.wsdl = "http://localhost/FlashUploadWeb/WebSerivce/Video.asmx?wsdl";
    service.loadWSDL();
    var operation:Operation = new Operation(null, "UpdateVideoFile");
    operation.addEventListener(ResultEvent.RESULT, onWSResult, false, 0, true);
    operation.addEventListener(FaultEvent.FAULT, onWSFault, false, 0, true);
    operation.request = response;
    service.operations = [operation];
    operation.send();

    I'm a .NET developer learning Flex
    I'm trying to set the xml request in the flex webservice.  A little background, I'm uploading a file to a third-party and they respond with xml data I want to use.  I want to take that xml and pass it to a .NET webservice.  I have verified the .NET webservice gets called everytime but its not getting the xml data.  What am I missing?  Here is my code.
    private function responseHandler( event:DataEvent ) :void{
    var response:XML = XML( event.data );
    var service:WebService = new WebService();
    service.wsdl = "http://localhost/FlashUploadWeb/WebSerivce/Video.asmx?wsdl";
    service.loadWSDL();
    var operation:Operation = new Operation(null, "UpdateVideoFile");
    operation.addEventListener(ResultEvent.RESULT, onWSResult, false, 0, true);
    operation.addEventListener(FaultEvent.FAULT, onWSFault, false, 0, true);
    operation.request = response;
    service.operations = [operation];
    operation.send();

  • MapViewer API: addMapCacheTheme creates unexpected XML request string

    Hi,
    I try to get a map with map cache theme on it. But MapViewer class generates an xml request string in which an unexpected wfs theme
    exists. So I'm unable to add a map cache theme since the wfs theme causes a problem and i only get an image painted with background
    color...
    my java code is as follows:
                   String viewerUrl = "http://localhost:8888/mapviewer/omserver";
                   String dataSource = "ADATASOURCE";
                   String mapCache= "AMAPCACHE";
                   MapViewer viewer = new MapViewer(viewerUrl);
                   viewer.setDataSourceName(dataSource);
                   viewer.setImageFormat(MapViewer.FORMAT_PNG_URL);
                   viewer.setMapRequestSRID(8307);
                   viewer.setAntiAliasing(false);
                   viewer.setMapTitle(null);
                   viewer.setBackgroundColor(new Color(0xA6CAF0));
                   viewer.setBackgroundImageURL(null);
                   viewer.setDeviceSize(new Dimension(480, 480));
                   //viewer.setBaseMapName(baseMap);
                   viewer.addMapCacheTheme(mapCache, dataSource, mapCache, true);
                   viewer.setCenter(29, 41);
                   viewer.setSize(1);
                   //For debugging issues
                   String req = viewer.getMapRequestString();
                   viewer.run();
    value for req variable is:
    <?xml version="1.0" standalone="yes"?>
    <map_request
    datasource="ADATASOURCE"
    srid="8307"
    width="480"
    height="480"
    bgcolor="#a6caf0"
    antialiase="false"
    format="PNG_URL"
    >
    <center size="1.0">
    <geoFeature>
    <geometricProperty typeName="center">
    <Point>
    <coordinates>29.0,41.0</coordinates>
    </Point>
    </geometricProperty>
    </geoFeature>
    </center>
    <themes>
    <theme name="AMAPCACHE" datasource="ADATASOURCE">
    <map_cache_theme map_cache_name="AMAPCACHE" snap_to_cache_scale="true"/> </theme> <theme name="AMAPCACHE" >
    <wfs_feature_request
    datasource="ADATASOURCE"
    />
    </theme>
    </themes>
    </map_request>
    The first theme is the one that i wanted to add.
    The second one (bold) is the one that causes trouble. I don't know where it comes from.
    This problem occured when i started to use mvclient.jar that came with patch 6453515 which changed MapViewer version from
    Ver10131_B06102 to Ver11_B07100.
    The old mvclient.jar (came with MapViewer Ver10131_B06102) produces the following xml request string:
    <?xml version="1.0" standalone="yes"?>
    <map_request
    datasource="ADATASOURCE"
    srid="8307"
    width="480"
    height="480"
    bgcolor="#a6caf0"
    antialiase="false"
    format="PNG_URL"
    >
    <center size="1.0">
    <geoFeature>
    <geometricProperty typeName="center">
    <Point>
    <coordinates>29.0,41.0</coordinates>
    </Point>
    </geometricProperty>
    </geoFeature>
    </center>
    <themes>
    <theme name="AMAPCACHE" datasource="ADATASOURCE">
    <map_cache_theme map_cache_name="AMAPCACHE" snap_to_cache_scale="true"/> </theme> </themes>
    </map_request>
    What might cause this problem?
    OS: Windows XP Pro SP2
    IDE: JDeveloper 10.1.3.1.0
    Thanks in advance,
    Cihan

    Hi Cihan,
    it is confirmed to be a bug with this client library and it will be fixed. Thanks.
    Joao

  • How to send concurrent xml request to Soap service.

    Hi
    I am working in a scenario. where i need to send more than 10 concurrent xml request to soap service hosted in IIS.
    and that service directly pools to biztalk recieve location. Presently i am sending a single request through soap ui.
    Is there any tool available to send more than 10 xml request to service. If not then how we send through C#.code

    Hi Anagh,
    Microsoft BizTalk LoadGen 2007 Tool would be the perfect fit for your requirement where you need to send "Concurrent" request to SOAP.
    Using LoadGen you can configure it use to number of concurrent threads to send messages. In its config file, it has a section called
    <NumThreadsPerSection> which can be used to set the number of concurrent threads that LoadGen will use to send messages.
    Read one of my old blogposts where I have talked about using LoadGen for simulating message load for SOAP services.
    http://indway-is.blogspot.co.uk/2009/01/loadgen-testharness-for-soap-transport.html
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Does income xml request get validated against wsdl?

    Hi, there:
    I'm using document/literal web service. My question is: Does income xml request get validated automatically against wsdl complex type xml schema? If not is there any configuration way we can set to validate income xml request automatically?
    I searched posts in this forum, it seems the same question was asked long long time ago already, but no answer. So, I want to check that question again.
    I simply tested my web service by using soapUI, it seems no xml validation implemented on any request at all.
    Highly appreciated if any help or comment, thanks a lot in advance.
    David

    Thank you very much jwenting for the reply. We are using jbossWs.
    Yes, I definately agree that it's very cool that wsdl is generated on the fly, and all xml message is parsed to java bean automatically by jaxb. However, my 2 cents is:
    1. How can I generate other xml schema restrictions in wsdl on the fly except "enum" (ex. pattern, minInclusive, maxInclusive etc.)? Currently, it seems only @XmlEnum can generate "enum" restriction in wsdl automatically, no other restrictions could be generated automatically in wsdl.
    2. Even if I have those restrictions defined manually in wsdl, as it doesn't implement validation on income xml request, and I should do the validation inside my webservice logic, which means that even if I have those xml schema restrictions defined in wsdl, they are useless.
    That's the reason I want to check if anyway the validation can be implemented automatically on income xml request.
    Again, highly appreciated any further helps or comments. Thanks a lot in advance.
    David

  • How to post xml - request in mapviewer

    Hello,
    i want to make a web page that will post xml - requests in mapviewer.
    How can i send a xml request in mapviwer from a web page?

    Does the mapviewer welcome do what you need?
    That is index.html in oc4jhome/j2ee/home/applications/mapviewer/web/
    If it does then , use the same method to submit a form using HTTP POST to
    the mapviewer servlet.
    It's also documented in Ch 3 of the the user guide.
    "A request to the OracleAS MapViewer servlet has the following format:
    http://hostname[:port]/MapViewer-servlet-path?xml_request=xml-request
    Jayant

  • Sample XML request for Parametric Data Collection.

    Hello Experts,
    Can any one please post a Sample XML request for Parametric Data Collection.
    Thanks in advance.
    Rgds
    Nityanand Singh

    Stuart,
    I have dealt with the issue you mentioned as a bug with DcGroupRef. In fact, it is not a bug but a misinterpretation of the WS. Those fields you mentioned are a part of Test Plan measurement collection (MeasureGroup and MeasureName fields in particular). However, if you check the database, Test Plan measurement values are collected to a separate table which is not processed by WS at all, however, the WS pushes the data to the table used by DC500. And within this context, DcGroupRef is the must.
    I have rectified such situation at one customer by manually adding the values to the incomplete records. They used to collect the data in such way as of ME 5.0 or even earlier by means of Prod XML.
    Implementation of WS in 5.2 and 6.0 are completely different, especially taking into account switching to usage of PAPI.
    So, it is not a bug but a feature not implemented yet.
    And with that, I'm taking over the ticket.
    Regards,
    Sergiy

Maybe you are looking for