Extract Hierarchies in BO 4.1 WEBI using Java Restful Webservice

Hi ,
We are using Bo4.1 SP3.
Whether can we extract hierarchies from web intelligence report?
Whether there is any URL to extract hierarchies?
Regards,
Kavitha S

Hi Anthony,
Sorry for late reply.
Thanks for your reply.
I got hierarchies by using below URL
GET <webiURL>/documents/{documentId}/links/{linkId}
Regards,
Kavitha S

Similar Messages

  • BO 4.1 WEBI Metadata extraction using Java Restful Webservice

    Hi
    We are building an application using the Restful webservice and are trying to extract the metadata from the webi report.
    Whether there is any URL to retrieve Query filter in web Intelligence Report.
    Please help.
    Regards,
    Kavitha S

    Assuming this is a BEX query, you may want to check p. 296 in the following; SAP Web Intelligence RESTful web service SDK User Guide, SAP BusinessObjects Business Intelligence platform 4.1
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • How to extract payload data from SOA database schema using Java

    I am trying to extract the payload data and output as XML text files using Java. Seems that is stored in SOA table XML_DOCUMENT. I am trying the following Java code to get started and it's not working as I would expect. I only get a few actual lines of output and, when I do, I only get the *<?xml version ... ?>* line.
    I appreciate any advice to extract the payload data from the database. Ultimately I will want to include the composite instance ID in the SQL but for now I'm just using the code shown here:
    OracleDataSource ods = new OracleDataSource();
    ods.setURL("soa_db_connection_string");
    ods.setUser("soa_db_user_id");
    ods.setPassword("soa_db_password");
    Connection conn = ods.getConnection();
    String sql = "select document from xml_document where rownum < 10";
    OraclePreparedStatement stmt = (OraclePreparedStatement)conn.prepareStatement(sql);
    DBBinXMLMetadataProvider dbrep = BinXMLMetadataProviderFactory.createDBMetadataProvider();
    dbrep.setConnectionPool(ods);
    dbrep.associateDataConnection(conn);
    OracleResultSet rset = (OracleResultSet)stmt.executeQuery();
    XMLDOMImplementation domimpl = new XMLDOMImplementation();
    BinXMLProcessor proc = BinXMLProcessorFactory.createProcessor(dbrep);
    while (rset.next()) {
         Blob blob = rset.getBlob("DOCUMENT");
         BinXMLStream inpbin = proc.createBinXMLStream(blob);
         BinXMLDecoder dec = inpbin.getDecoder();
         InfosetReader xmlreader = dec.getReader();
         XMLDocument doc = (XMLDocument)domimpl.createDocument(xmlreader);
         doc.print(System.out);
    }

    I found a method using a slight variation of the code I originally posted. Essentially you remove the DBBinXMLMetadataProvider dbrep portion. I believe, with this included, the XML being extracted is validated against the database (which is referenced as a "metadata provider"). Since the SOA schema doesn't seem to contain the information to validate the XML it returns as blank. If you don't include the dbrep portion then the XML is extracted as desired.
    OracleDataSource ods = new OracleDataSource();
    ods.setURL("soa_db_connection_string");
    ods.setUser("soa_db_user_id");
    ods.setPassword("soa_db_password");
    Connection conn = ods.getConnection();
    String sql = "select document from xml_document where rownum < 10";
    OraclePreparedStatement stmt = (OraclePreparedStatement)conn.prepareStatement(sql);
    OracleResultSet rset = (OracleResultSet)stmt.executeQuery();
    XMLDOMImplementation domimpl = new XMLDOMImplementation();
    BinXMLProcessor proc = BinXMLProcessorFactory.createProcessor();
    while (rset.next()) {
         BLOB blob = rset.getBLOB("DOCUMENT");
         BinXMLStream inpbin = proc.createBinXMLStream(blob);
         BinXMLDecoder dec = inpbin.getDecoder();
         InfosetReader xmlreader = dec.getReader();
         XMLDocument doc = (XMLDocument)domimpl.createDocument(xmlreader);
         doc.print(System.out);
    }

  • Saving information from web using java.

    hi all
    can anyone tell me how to go to the specified url and then save all the information in it to a text file in a local system using java. i also want to know are there any modules in java similar to LWP module in perl for downloading the information from a specified website...

    http://java.sun.com/docs/books/tutorial/networking/urls/index.html

  • Voice-enabled web using java

    I'm not so familiar with java language. But my final year project have to develop by using java. I do not know how to develop a voice enable application. My system is to enable blind user to online and check their exam result. The user just need to enter their user id and then the system will read out the result.
    May i know what should i do for the first step?

    non trivial I think is the phrase that comes to mind - good luck!
    a simple solution might be to record all possible exam results as audio in a db and just index and send back based on the exam result
    if you really want to be quite sophisticated there are various hosted VoiceXML services you can use to send VXML to and for the audio to be returned
    start googling!
    Paul.

  • CONVERT_OTF_2_PDF output can be shown on the web using java sevlet

    Hello, all,
    I used FM CONVERT_OTF_2_PDF, and I can create a pdf file on my PC by using content in table lines of FM. Now I don't want to create a pdf file on my desktop. I want to pass the value of the table lines to remote java program to show this PDF file on the web. Does anyone knows how do I code it in Java program to be able to show the contents in table lines as PDF? Would you please give an example code? Thank you!
    Meiying

    Hi, Dennis,
    The contents in the table look like following.  (code)
    TD TDLINE
    %P DF-1.3##%âãÏÓ##2 0 obj##<<##/Type /XObject##/Subtype /Image##/Filter 3 0 R##/Length 4 0 R##/Name /00002##/Width 604##/Height 263##/B
    it sPerComponent 1##/ImageMask true##>>##stream##x#íÜ¿o#É##ðÙìA#C#Í#>#£q#>#®Ñ!#÷#+óG#H#4#b#A ##î##Àîte##ç2mÊt###S###)¼##W## âFðx&ß7³Ë#2
    Í£ w7@ÎÑÂ#(jøáîì#Ù7³C{#·Ým[·#å]Q#±´+#eô¯#Í#ï-ïÆRËoí7î#ËuÖ#ee#ºw¢#Kç#[>îÂ#[²Ä¼#k###¼#K#d1#µ§l?P,ë ò####µ·®t´ÒE{k¡¢#\u00B5·f±ê#3íó#b'yk«_[G
    Y[ Ê#Õ#xÚÖ²§µÅÏÛZF×VÚ:À®ÊÚJZ#X#ØZ#Ø#bi}ÞÖºXRì¤õÅ##·´zá####ëIPÂwÑÒrǤ<y##U¶´#Ó!ÜÐAò§í,Ka##ùã@¶´Ê#X##Xtpɬúù¢¥¥ªówÜÞº#õ#=¸ÄA^·´##\u00D2##ª
    µ# ¦Í3zàÐ'>ii-#ôW;##cßÆG¨¹OÚY##?###fÇí¬¯YïAìq##Úv`_¯%ãE¯#õÕ#ÅZZ#Yu«?`GyW#kkõØrÀaØa;ëø¿feÝY-/#ÝZk#oe¹.ÇLj?²Rç#Û¡å:°J#####;Ø/^ô#áê##Î,Ù
    0.1. ÀÊÞeKti©h%]YâÎúþ[#;ë#³#ÞYï##ýOYù#õnYUNn###±¿niÙlÇ#·XªC#µµð#§#ÝXa®Oe-#Kµ±N0VÈS#ðµõ#0î°#±_½ ê#L·°ªÙ¸#X~æ#Ütd]ÀºQy3ëk&©##÷?´ìÄ?#õª#õ
    ¹ _47Ärp#X4gÅ ck¶>Fþ¼²#Qþźõ¤¥U¬Y×í¬ë-Ö°#+ÌÕ¶°®ÔëVÒÐ##íÕFsÛ.in#-Vê#Ý#¶zeQÊ#-#âÿm7º¯p#}#²#Ç{#Á²Ì####hrè^#ëWqî##K5óeùö#Ý#y/ù##uT[#æ'M.#=
    XL '#f/Gý¥ÞñYáÓ&Ö#dýí}ö#8a#,9##½½uAÇø#(>cì4Zö K#ob¡qÃJÙgñ#!Y#×#^æoo-#;LtÊ#ã½Ì`ùÄ#&Öê¾h¸ÇJVâqÁl²fdu¿#Ó#ɤĥF6é,V÷##ÝG6##¢U6Y#ãNjKÊÊâ°z#V
    @# ÕV?[Z¼l¶(i¹#à4¯,#«Ù#¤YÕ³Æ5##{-#]²#µ¨#"®Å KZÞ0=Ñ#kD´hc#j¡##µ#Q#ØÈrY´#Ye#Í-/Bå'qOÙÎ##VÄ㵧²#¦:¥#+#Õ#Ê#[&ÃA&Õ#`éÃ"kf9aq#M µ#Ö½"û¶#6ôF
    Ök Ü##G:Q²áâ#êÚ]l##¥H¿tª##¯Ð#Öã<´#²#&y3ËSÝW#K#c4²l#ëàÈnï#íd%ÞÿíÖÙÒp#îl3#ZW£½#QJ_~Wn:]x¤###Å®bÙÇ"%÷¾#ß´iXvk㳫##j#Tf÷%ؼÑ*W#ym©###õ#.ì
    ¹Û (§óUÒ#þ#ê¡#óm_n·6W##Ùª§°k##ñ¹ê`#×+ê#Ö¬#ºP[-&tì@Üm#9M##×÷kÃ##å#¬¬ú##׫ÚrÛ¬ µ#´ÚQ§mw[femt#ʽÁ#«Ãްĺµ¹Fw¾Í2°b©z#ôr#oäºukÛféÕÕéiü±±j#
    #s #ËÒ#Où©ÜRrÃÚÚ=#îÊÚ=ù#Eõ#¬ÉîtQïi##`#ö´Î#dÈ,p²ù+ü:±ÜIO#J##ë!#ò"ÓÔJ¬Àß#Ì0#âìK#Ûp~)ölê#î##ÖÇ8;5 #G}#8#N`I±sÌ##E#$#å(#d##v#Á#æeV#µ´#=Óc
    gH &##O4ë'#=##>##ä"X²ÈX>Q9##Ç089M#TØÛB##e04P\u00DDg#æDRðd¢##Í###Ù#kA#²Ð§#ÀÉbÀò±qbª¤ÍøÔ<J#,8ËØ#5×°ÿ\u00D13#iÏÎäðï#éÈ>LJö(X###!ú,E##Øsn¼.¤ÎÇcûÏ´
    ì# ÀÕÉÃ#bi1y#?#Ú#§ÙÐ#pî##æØe#1##EKçE#=§Z/eé/#ÎTyrÊËcìM^[##ð##ûâ1¬÷#¨##l#YNT#:ºÒ³¼À#Ñ9,Em#ÖOMøZYºG¯#ÀÊS#Ávm¡#h Eûï6LQÇ#W¥ñ+X2X##5õêÑ#å6
    # ¬#ïP#UT##_ax#êUh#ÝF#¯##¸Á»#%#ed´æ#Ñ##3Á#ñ;Ya¨YR####W##àoè#¢#FP[#X<X)嶰r<«$#gÄ##9om!#W #Ïh#:Z:#Ó#8>Ô5Y,ÇU²Ì##bÁÂ+7,A3øÜ##Îñ#eÁ#kÖÔ³
    #b ݧ&´#Xt###ºW¢ÅpÓB(##Ä#%¢EõY##ãh¥%#hGì#¡5ÆA##µU#za°X#Ö²Ôr#HkK##qì#K-C##d#°DKUYImáê#gÏÈÊ`9#DKËuëaî##"#×#+###ðH##AO´(v°§Ñ#±Ðó##±##Î7êò
    !. #è!#Z £#hÉ5+£.#Ú¤ª,áG##!z#¥#C#ÊkK¡#$«dèn#ºVVfÑ#V#-ÄñA´##'#O##ie%°(â¨Ã,(O±d#°-ûÁ#ÁÊñ,¬C²r¼g´T°¤#½¿J£##i°_8#WYC_#j#N1tôðd¡¦]må¨Ï¥Å£#
    #µ  #Z##û#LMÕ#«,ÃÝQ´#ÝÁ##þ#ú##f³ÈB]ñ$X##¥Ðc[YviÙ#?Ä##GKF#&#Ç#Þ#Í^Ð0Ø#$#`##ö#½Ü0X#/d#¡#Ñ##ÁzJsi@##ÅLÈ6É#Áº##ZòÊë#àz#¿#a#BÞ#±:5#¯#úÒè
    ¤# #°x°î#«¤4#zÀ¬²8NGrãËßú´Èá#çµ5Ä#ë##_¤è¤#j@ RßW#k6¡ý##eBo#ëàÂ#æº#üÙ«#ÇqÍB´¤èÈ)M-Q##Y#õ#)#p#¸H#Þ¹NÃÙ##ESFø#Nwj#²rÀ#óá#×8Aó###Ñb¸Â¡#+#
    ¶# Î#õ#>ùÆ#tj@JÎ}øAV##P±¾#:ö¸Ç#Îpí5#KL#F_##þè}#d#®#K#D< SJ齤#ãt'þ##ÅN¹B¹Ô%tÂðÊ#^###é#ZDê###Ê#4´@#¤töuF##Çq#ÅgHÛ#;Æ##Þ3¥î5¥#;#s#Vú#;ªl#
    ëÕ ##eóc,<¦N·ç#¦1ŤY#z¹Ûg^¤NpwÌ/P&궥o#,#«½>:#*##lo]V#Ûe#ýæXfÕ#Ø®#ú#cö°ÆÕ'#wYf_KWVÞÞâÕ(Ùî(#,¹#UÝ¡Ûu·##}î$¥Óøs²£#ÞÏrI5ý¸kÒdOk¹¼cקwÂpc#+
    ÿî 2#¾ö(w·mÙÖno·Û:¶î¶»íûµÅîní##Ûîùß_nþ##?#µ<f#åz#UÏ1×I#¯[Ìf÷#Ö\u00B8×,½^¦¸m¹ºËÝ´4e#6þi¼#7>cþtù¹¢Ê²#ð##m~#yNÇW]ìgûZ&Zö5##§õ<»e¹Ö##le#×
    ,Ê L####ߪò[¬ùµÁ#Ò#Ó##M¾áL##A#_ø?Ê#1##~~5B¶N#p#BÒÄÉÕ#,î¹¾/K*#,µÐb"JQòp#9#0:¿ïî#0###½'0#e^êq°¸ÿ###iöŦ¦##T0XúBç³±#³q#9ä7#û;síNÜI6ª,#(ËO
    ݱ #ó)Y#ùs1##1#Ù#íç=*#,#L>#ëËñ,Z/§æÚ¼p?·'Ùø¼²#¼Òö4####CÛ#ù#Ç8}5w'þ##FKÂ#i#>#Çè#æ¥9wb#5##T·ÈÄy°#îzîHÖ#ÍL^YT÷>Õ´V!±}²(Ö+#####YYC÷###j#
    £¬ `Ñ##sª{²0Ì#V##XÆf#,##»´lâ?##¬#ö«:Æê? àz#käÕY?VÃr¿òhy#ã##yâßG3##Ñ#BÝÃ#Wíñ#¬#3·¬«°_#ÛÖ##ÕVéäM<#~T[S##KgbÝGë°²#Ñ#Ç8###{«cÔgÙ5#ù鹦[Ûñ#S
    ó# Ñ#S×Ë«]#t#fáî#ø¢##7#eb9¬##0ÍBA##Ù´#%Æê*öFB'6-#û#s##§#uC#me#ÝÇÖÊhà##Ei#Ð:Õ,H]ßås#_>»úw´Ì7#/N2###ü¯`ýÒOÿ#¬td##{C#a##ß{ù§oì#ü%záXðµí#
    £# FÿÙ#ìÎzÙ¡U#ôº±Þð 'ÿ#Mµ5]Ír·ÝmÝlÿ###í###endstream##endobj##4 0 obj##3341##endobj##3 0 obj####[/FlateDecode]##endobj##5 0 obj##/WinAns
    iE ncoding##endobj##6 0 obj##<<##%Devtype SAPWIN Font COURIER bold Lang EN##/Type /Font##/Subtype /Type1##/BaseFont /Courier-Bold##/
    Na me /F001##/Encoding 5 0 R##>>##endobj##7 0 obj##<<##%Devtype SAPWIN Font COURIER normal Lang EN##/Type /Font##/Subtype /Type1##/B
    as eFont /Courier##/Name /F002##/Encoding 5 0 R##>>##endobj##8 0 obj##<<##/Length 9 0 R##>>##stream## q 0 0 0 rg 144.95 0 0 63.10 23 71
    5 cm /00002 Do Q /F001 12.00 Tf 0 g BT 22.70 682.45 Td 0 Tw <4F6666696365206F6620427572736172>Tj ET 0 g BT 22.70 670.45 Td 0 Tw <506F7
    37 4204F666669636520426F782031383438>Tj ET 0 g BT 22.70 658.45 Td 0 Tw## <556E69766572736974792C204D5320203338363737>Tj ET q 0.90 g 283
    .4 5 634.95 273.55 136.90 re f Q /F001 12.00 Tf 0 g BT 286.30 759.85 Td 0 Tw <202020202020556E6976657273697479206F66204D697373697373697
    07 069>Tj ET 0 g BT 286.30 747.85 Td 0 Tw## <2020202020204163636F756E742053746174656D656E742053756D6D617279>Tj ET 0 g BT 286.30 723.85
    Td 0 Tw <53747564656E74204E756D626572202020202020202020202020203130303035333030>Tj ET 0 g BT 286.30 711.85 Td 0 Tw## <426567696E6E696E
    67 2044617465202020202020202020202031312F30312F32303036>Tj ET 0 g BT 286.30 699.85 Td 0 Tw <456E64696E672044617465202020202020202020202
    02 0202031312F33302F32303036>Tj ET 0 g BT 286.30 687.85 Td 0 Tw## <426567696E6E696E672042616C616E636520202020202020202020392C3339352E30
    31 20>Tj ET 0 g BT 286.30 675.85 Td 0 Tw <416374697669747920202020202020202020202020202020202031302C3234322E35352D>Tj ET 0 g BT 286.30
    66 3.85 Td 0 Tw## <456E64696E672042616C616E63652020202020202020202020202020203834372E35342D>Tj ET 0 g BT 286.30 651.85 Td 0 Tw <46696E6
    16 E6369616C20486F6C6473202020202020202020202020202020204E4F4E45>Tj ET q 0 0 0 RG 0.50 w 283.45 771.85 m 283.45 634.95 l S Q q 0 0 0 RG
    (/code)
    There are two fields (TDFORMAT and TDLINE) in the table,  I used following Java code to put them together as PDF. But When I open it as PDF file, it says "the file does not start with %PDF-' . Do you see why
    (code)
    byte[] pdfstream;
    byte[] myout = new byte[]{};
             byte[] tdformat = new byte[]{};
             byte[] tdline = new byte[]{};
             //String myout = "";
             for (int i = 0; i < lt_pdftab.getNumRows()  ; i++) {
                  JCO.FieldIterator e1 = lt_pdftab.fields();
               while (e1.hasMoreElements()) {
              JCO.Field field = e1.nextField();
              lt_pdftab.setRow(i);
               if (field.getName().equals("TDFORMAT")) {
                   tdformat = field.getString().getBytes("UTF-16LE");
               if (field.getName().equals("TDLINE")) {
                   tdline = field.getString().getBytes("UTF-16LE");
               myout =  tdformat = tdline    ;
               System.out.println("myout " + myout );
               pdfstream = myout;
    (/code)

  • Invalid SOAP action when using java ws WebService

    Hi all,
    this is a slightly more detailed error for a problem i posted recently. I am connecting to a web service that was generated from WSDL. It has two methods "HelloWorld" and "HelloSayFirstName". As defined in the WSDL, the methods use the SOAP action document style. I want to add a cookie to the http header, so after the port is created, I use the following to add the header to the requestContext:
              BindingProvider bindingProvider = (BindingProvider) servicePort;
              Map<String, Object> requestContext = bindingProvider.getRequestContext();
              List<String> cookies = new ArrayList<String>();
              cookies.add("mycookie=mytoken");
              HashMap<String, List<String>> httpHeaders = new HashMap<String, List<String>>();
              httpHeaders.put(HTTPConstants.HEADER_COOKIE, cookies);
              requestContext.put(MessageContext.HTTP_REQUEST_HEADERS, httpHeaders);
    This works when I call the first method (HelloWorld) - the first activity message sent to the server contains the following:
    <HttpRequest>
    <Method>POST</Method>
    <QueryString></QueryString>
    <WebHeaders>
    <Cache-Control>no-cache</Cache-Control>
    <Connection>keep-alive</Connection>
    <Pragma>no-cache</Pragma>
    <Transfer-Encoding>chunked</Transfer-Encoding>
    <Content-Type>text/xml; charset=UTF-8</Content-Type>
    <Accept>*</Accept>
    <Cookie>mycookie=mytoken</Cookie>
    <Host>exampleHost</Host>
    <User-Agent>Java/1.5.0_14</User-Agent>
    <SOAPAction>"http://tempuri.org/IMyService/HelloWorld"</SOAPAction>
    </WebHeaders>
    </HttpRequest>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <s:Header xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <To s:mustUnderstand="1" xmlns="http://schemas.microsoft.com/ws/2005/05/addressing/none">http://exampleHost/WebServices/WCFService/Service.svc</To>
    <Action s:mustUnderstand="1" xmlns="http://schemas.microsoft.com/ws/2005/05/addressing/none">http://tempuri.org/IMyService/HelloWorld</Action>
    </s:Header>
    <soap:Body>
    <HelloWorld xmlns="http://tempuri.org/" xmlns:ns2="http://schemas.datacontract.org/2004/07/" xmlns:ns3="http://schemas.microsoft.com/2003/10/Serialization/">
    <myValue1>world</myValue1>
    </HelloWorld>
    </soap:Body>
    </soap:Envelope>
    However, after this method, the httpHeaders in the requestContext object have been updated to include the "Accept" header and the "SOAPAction" header - which is the incorrect action! Now, when I call the method "HelloSayFirstName" I get the following:
    <HttpRequest>
    <Method>POST</Method>
    <QueryString></QueryString>
    <WebHeaders>
    <Cache-Control>no-cache</Cache-Control>
    <Connection>keep-alive</Connection>
    <Pragma>no-cache</Pragma>
    <Transfer-Encoding>chunked</Transfer-Encoding>
    <Content-Type>text/xml; charset=UTF-8</Content-Type>
    <Accept>*</Accept>
    <Cookie>mycookie=mytoken</Cookie>
    <Host>exampleHost</Host>
    <User-Agent>Java/1.5.0_14</User-Agent>
    <SOAPAction>"http://tempuri.org/IMyService/HelloWorld"</SOAPAction>
    </WebHeaders>
    </HttpRequest>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <s:Header xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <To s:mustUnderstand="1" xmlns="http://schemas.microsoft.com/ws/2005/05/addressing/none">http://exampleHost/WebServices/WCFService/Service.svc</To>
    <Action s:mustUnderstand="1" xmlns="http://schemas.microsoft.com/ws/2005/05/addressing/none">http://tempuri.org/IMyService/HelloWorld</Action>
    </s:Header>
    <soap:Body>
    <HelloSayFirstName xmlns="http://tempuri.org/" xmlns:ns2="http://schemas.datacontract.org/2004/07/" xmlns:ns3="http://schemas.microsoft.com/2003/10/Serialization/">
    <dataContractValue></dataContractValue>
    </HelloSayFirstName>
    </soap:Body>
    </soap:Envelope>
    It seems that the SOAPAction in the http header and the soap header is incorrect. Is there any reason why the requestContext would keep hold of the action that was previously called, and not use the new action? I'm stumped here - any help would be greatly appreciated.
    Cheers.

    Does not only happen when using JAX-WS.
    the following servlet code is enough to reproduce the problem :
    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
    response.setContentType("text/xml;charset=\"utf-8\"");
    It only occurs on 10.1.3.4.0 (works fine on 10.1.3.3.0 and 11.1.1.1.0 TP4)
    Regards

  • Report data ( value ... tag) missing in the Webi report retrieved through RestFul Webservice

    I am trying the below URL to get the WEBi report from SAP BO using the Rest Webservice support that is now available.
    http://{serverIP:serverPort}/biprws/raylight/v1/documents/{documentId}
    I am able to get the report but as I compare the same report response when using SAOP Webservice, there seems to be a mismatch in the response. Here is what I see in the SOAP response:
    </td><td c="1" ><cell  ref="1.E.4t" bid="14" h="26" w="231" pad="6,7" sid="-10"><ct >Some arbitrary value</ct><value type="xs:string">Some arbitrary value</value></cell>
    But when I run it through REST, I am missing the <value ..> tag:
    </td><td c="1" ><cell  ref="1.E.4t" bid="14" h="26" w="231" pad="6,7" bt="1" sid="-10"><ct >Some arbitrary value</ct></cell>
    Apart from this right at the start of the xml response, I see some property mismatch as well.
    SOAP has this property extra:
    <property name="output.format.xml.valuemode">yes</property>
    While REST has these property extra:
    <property name="output.format.xml.option.style">1</property>
    <property name="output.format.xml.styledict.fontplatform">html</property>
    <property name="output.format.xml.td.bandinfo">yes</property>
    <property name="source.selected">data</property>
    <property name="xelement.xml.object">yes</property>
    <property name="xelement.xml.object.usemap">yes</property>
    <property name="xelement.xml.object.usersupportedformat">image/png</property>
    I am not sure if:
    the <value ...> tag miss is because of these missing/extra properties or
    current REST support has some issues
    For my application the value tag is a must and I can't do without this, but with REST it seems no way to obtain that.
    Any help or pointer(s) in this regard is appreciated!

    Hello Milind,
    According to our Product Owner Sam Polichouk, the solution should be available for you in 4.1 SP3, which is currently scheduled for release by the end of March 2014 (subject to change).  The product team recommends that you get the raw, unformatted data values from within the Dataset specific call.  This data contains a type to tell the end user what kind of data it is, so you can format it or use it properly.
    The updated documentation for the SDK will be available at SAP BusinessObjects Business Intelligence platform 4.1 – SAP Help Portal Page once the Support Pack is publicly released.

  • Custom classloader fails when using Java Web Start

    Hope you can help me with a problem that is driving me nuts. I have implemented my own classloader to support plugins. This classloader works as follows:
    1. The classloader is configured to access a plugin components jar file downloaded by jws.
    2. The plugin components jar file contains other jar files which contains the actual plugin code to be loaded using my own classloader.
    3. Upon initialization - my classloader extracts all jar files contained in the plugin components jar file into temporary files.
    4. These temporary files are used by my classloader when defining plugin classes.
    The classloader works fine when not using java web start. Then I launch the application using java web start with security policy in .jnlp file set to:
    <security>
    <all-permissions/>
    </security>
    After a while (it was able to load some of the classes) it fails with the following stack-trace:
    Regards,
    Terje
    java.security.AccessControlException: access denied (java.io.FilePermission C:\DOCUME~1\TEOES\LOCALS~1\Temp\activity61102.jar read)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkRead(Unknown Source)
         at java.util.zip.ZipFile.<init>(Unknown Source)
         at java.util.jar.JarFile.<init>(Unknown Source)
         at java.util.jar.JarFile.<init>(Unknown Source)
         at my.plugin.ActivityClassLoader.getJarFileEntry(ActivityClassLoader.java:258)
         at my.plugin.ActivityClassLoader.search(ActivityClassLoader.java:244)
         at my.plugin.ActivityClassLoader.loadClass(ActivityClassLoader.java:99)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    Does anyone have source code for implementing a simple class loader that can be used with Java Web Start (preferrably with all jar files to be used by the classloader wrapped into a jar file)

    If you implement your own classloader, and then still run with a SecurityManager installed, then your ClossLoader is responsible for asigning the permissions to the code it loads.
    You need your ClassLoader to extend SecureClassLoader, and implement the method :
    SecureClassLoader.getPermissions(CodeSource cs) to return the PermissionCollection you want.
    /Andy

  • Problem with CORBA application deployed using Java Web Start 1_6_0.

    Java Web Start fans and experts:
    We have been using Java Web Start to deploy the client side of a CORBA-based application since the inception of Java Web Start ... including Java Web Start 1.0 right up through the present.
    With Java Web Start 1_6_0, we see evidence that Web Start is "tinkering with" the IOR that CORBA uses to communicate. In all previous versions of Java Web Start, independent of the JRE which the application uses, the stringified IOR have been the same size regardless of whether the application is deployed locally or via Java Web Start. With Java Web Start 1_6_0, the stringified IOR is much longer than the "real" IOR (again, regardless of the JRE used by the application itself). To me this smells like a bug in Java Web Start 1_6_0. Has anyone else observed this behavior?
    Here are some specifics .... I've run the same client application with various JREs both with and without Java Web Start as the deployment mechanism. The application was compiled and runs against servers that are running JDK 1_5_0_09.
    Here is the summary of my results from a Linux box running various JREs, various versions of Java Web Start, and also running as a non-JWS deployed application. I've listed the length of the stringified IOR in each case.
    JRE 1.5.0 non-JWS client: stringified IOR length = 344
    JRE 1.6.0 non-JWS client: stringified IOR length = 344 ... this, I think, excludes the JRE as the cause of these problems.
    Java WS 1.5.0, JRE 1.5.0 JWS client: stringified IOR length = 344
    Java WS 1.5.0, JRE 1.6.0 JWS client: stringified IOR length = 344
    Java WS 1.6.0, JRE 1.6.0 JWS client: stringified IOR length = 1568
    Java WS 1.6.0, JRE 1.5.0 JWS cleint: stringified IOR length = 1568
    In all cases, the stringified IOR length is determined by the service receiving the message and is always running JRE 1_5_9_09 and is
    always the same 344 characters in length UNLESS it was deployed
    using Java Web Start 1_6_0, in which case it in nearly 5 times as big!
    To me, it sure looks as if there is a problem with Java Web Start 1_6_0 to be adding so much to the stringified IOR. Note: it's hard to tell how different the underlying IOR is in the JWS 1_6_0 case because, unlike most other ORBs, the Sun ORB doesn't have a tool to extract the IOR into a human readable structure. However, I can think of no good reason why the identical application deployed using Java Web Start 1_6_0 should have a stringified IOR length that is different than that of the same application deployed in non-JWS form or should differ from the behavior seen in all previous releases of Java Web Start.
    Any clues or suggestions? Has anyone else observed this behavior?
    Thanks,
    John

    Hi.
    I got a different problem. My Corba application works in JRE 1.6, but doesn't works in JRE 1.5.X. I got an unexpected error and my console shows:
    getSubjectX500Principal NoSuchMethodError: java.lang NoSuchMethodError
    #### Java Web Start Error:
    #### null
    Can you help me?

  • Extract hierarchies in background

    I am using Z_SAP_HIERARCHY_DOWNLOAD to extract hierarchies to use in a third party application. I would like to run this program as part of a process chain (together with running some InfoSpokes), however this program cannot run in the background as it uses the GUI_DOWNLOAD function. Does anyone know of a way to extract a hierarchy in background mode, or a BAPI/RFC that I can use to read a hierarchy? Alternatively, has anyone customized Z_SAP_HIERARCHY_DOWNLOAD to remove all of the GUI and Dialog dependent code and either write the hierarchy data to a db table or a file on the app server?
    Many thanks for any help you can provide.

    It looks that you are using a customer FB due to the Z_ at the beginning of the name and there is no SAP_HIERARCHY_DOWNLOAD in our BW system (3.5). So if you want to use a Hierarchy download in background, you could copy the FB and replace the GUI_Download by a download to unix (e.g.):
      DATA: lh_fname TYPE localfile.
      CLEAR: lh_fname.
    Zusammensetzen von Pfad und Dateiname
      CONCATENATE xp_path sy-datum sy-uzeit '.csv' INTO lh_fname.
      OPEN DATASET lh_fname FOR OUTPUT IN TEXT MODE.
      LOOP AT xt_data.
        TRANSFER xt_data TO lh_fname.
      ENDLOOP.
      CLOSE DATASET lh_fname.
      CASE sy-subrc.
        WHEN '0'.
          WRITE: /1 Transfer of data succesful'.
          PERFORM tabellen_update.
        WHEN '8'.
          WRITE: /1 Error ........ '.
      ENDCASE.
    Hope that helps!
    Regards
    Nicola

  • How to  Extract Hierarchies from ECC6.00 to BI7.0 ?

    Hi,
    I am using SAP BI7.00 and SAP ECC 6.00 . How to extract Hierarchies from SAP ECC 6.00 server? .
      Regards,
      Krishna.

    Hi Johnson,
    The transfer of P.O from SRM to R/3 happens through function module (RFC) and not IDOC. Only the transfer of GR and invoice happens through IDOC.
    The above scenario happens when you are using Extended Classic.
    In case of classic scenario, you can only have P.O details in SRM that to in Check status of Shopping cart. You can not display or change a P.O in classic scenario.
    IDOCs are not used for the transfer of P.O from R/3 to SRM. And there is no mapping exists for the replication.
    Hope this makes you clear. Clarifications are welcome.
    Rgds,
    Teja

  • Can we use Java Script in SAP BusinessObjects Web Intelligence 4.1?

    Can we use Java Script or any other Script in BI 4.1 Web Intelligence? If possible please do let me know the method/process

    Hi Kranthi,
    You have option to read a cell content as html. else you will have to go for SDK. I think you will get better suggestions, if you can explain your requirement in a little detailed manner.
    refer below links for more details about SDK.
    http://bukhantsov.org/2013/04/how-to-create-a-webi-document-using-java-report-engine-sdk/
    Regards,
    Nikhil Joy

  • How to create a user in UME Database using web dynpro java custom application

    Hi,
    Can you please suggest me how to create a user in UME Database using web dynpro java custom application.
    My Requirement is user can register his/her user id in SAP Portal 7.3 UME database.
    Please suggest me.
    Thanks and Regards,
    Amit

    Hi Amit,
    Generated Documentation (Untitled)
    This is what you're looking for, there's no real cook-book -- though Amey mentioned there might be some material on SDN, perhaps some tutorials.
    You should be looking into com.sap.security.api.IUserFactory, methods newUser(String) which gives you and IUserMaint and commitUser(IUserMaint, IUserAccount) -- IUserAccount can be obtained using com.sap.security.api.IUserAccountFactory, method newUserAccount(String)
    Hope it helps,
    D.

  • Unable to run my application using java web start

    i have created one application and use java web start to download the application. all the files are succesfully downloaded but when i try to run the application an expected error occur. this only happen in my machine but not in other machine i'm currently using
    -jsdk1.4.2
    -windows 2000 professional 5.00.2195 service pack 3
    -pentium III 870 Mhz
    -x86-based PC
    -RAM 256 Mhz
    Anyone knows why, plz help me with this puzzle

    Please post the information from the Web Start "Exception" and "Wrapped Exception" tabs when the error occurs (I assume the error was in fact unexpected ;-)
    A blind stab in the dark would be that you don't have write permission to the cache directory on the second machine. Also worth checking that the proxy settings on the second machine are the same as the first (if they are on the same network).

Maybe you are looking for

  • OIM 9.1.0.1 in oracle database 11g release 2

    I am installing IOM 9.1.0.1, using Oracle Database 11g release 2 but I have the following errors Failed to load XML. Unable to find record in UPA where USR_KEY = 1 Failed to load XML. Unable to find record in GPA where UGP_KEY = 1 I'm doing in Red Ha

  • BarCode scaners in Java Application

    Hi, i m interested in learning how to interface BarCode Scanners in Java application can ne one give me code snippest for the same ? i want the scanned value to appear on the selected JtextField.. please help me out.. Thanx in advance Bye

  • How to upload video to iPad?

    I can play video on my NB, but I tried to load to iPad. It's said the file cannot recognize by iPad. How should i do to convert?

  • Calling an Abap Web Service from IBM WebSphere with a MYSAPSSO2 Cookie

    Hello, I have the following problem : I have to develop a proof of concept between IBM Web Sphere 5.1 and SAP AS JAVA 7.0. I have created an IBM sevlet in Web Sphere, I use a specific redirect from an SAP AS Java to call it, this way I can have a SAP

  • X org crashing with out of memory

    My system is up to date from the repo. As the title says, X org seems to run out of memory. This started a few days ago. Using KDE 4.9.3 with raster (also tried native) for Qt and kwin with opengl es (also tried with standard opengl), nvidia 310.19 [