Custom de disponibilizacao do XML via WebService

Srs.
Preciso da ajuda de vocês em uma solução custom que estou criando via WebServices de disponibilizacao do arquivo XML gerado pelo SEFAZ.
O problema que estou tendo é que, informando um ID de uma NFe, não estou conseguindo ler todos os dados do XML que está armazenado no GRC, durante a leitura está ocorrendo salto entre os dados e não entendo ainda o que pode estar errado.
Segue abaixo o codigo da RFC que estou criando que através do ID ( como eu disse ) me retornaria o XML completo dentro de um unico campo de texto, o que nao esta ocorrendo.
FUNCTION Z_GETXML_BY_MFEID.
""Local Interface:
*"  IMPORTING
*"     VALUE(I_NFEID) TYPE  /XNFE/ID
*"  EXPORTING
*"     VALUE(E_XML) TYPE  CHAR30K
  TYPES: begin of typ_tab_xml,
            id    TYPE string,
            docid TYPE SDOK_DOCID,
         end of typ_tab_xml.
    TYPES: begin of typ_tab_string,
            str  TYPE Xstring,
         end of typ_tab_string.
  DATA: wa_xml       TYPE typ_tab_xml,
        wa_dokobject TYPE SDOKOBJECT,
        itb_fileinfo TYPE TABLE OF SDOKFILACI,
        wa_fileinfo  TYPE SDOKFILACI,
        itb_fileBinary TYPE TABLE OF SDOKCNTBIN,
        wa_fileBinary TYPE SDOKCNTBIN,
        str_xml      TYPE string,
        tab_string   TYPE TABLE OF SDOKCNTASC.
  SELECT SINGLE id
                docid
    FROM /XNFE/XML
    INTO wa_xml
   WHERE id = I_NFEID.
  IF sy-subrc <> 0.
  ENDIF.
  wa_dokobject-class = '/XNFE/XML1'.
  wa_dokobject-objid = wa_xml-docid.
  CALL FUNCTION 'SDOK_PHIO_LOAD_CONTENT'
    EXPORTING
      OBJECT_ID                 = wa_dokobject
      CLIENT                    = SY-MANDT
  AS_IS_MODE                =
      RAW_MODE                  = 'X'
  TEXT_AS_STREAM            =
   TABLES
     FILE_ACCESS_INFO          = itb_fileinfo
     FILE_CONTENT_BINARY       = itb_fileBinary
EXCEPTIONS
  NOT_EXISTING              = 1
  NOT_AUTHORIZED            = 2
  NO_CONTENT                = 3
  BAD_STORAGE_TYPE          = 4
  OTHERS                    = 5
  IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
  READ TABLE itb_fileinfo INTO wa_fileinfo INDEX 1.
  DATA: linha       TYPE i,
        linha2      TYPE i,
        linha_fim   TYPE i,
        tabela      TYPE TABLE OF typ_tab_string.
  linha = wa_fileinfo-first_line.
  linha_fim = wa_fileinfo-last_line.
  Data: len TYPE i.
  WHILE linha <= linha_fim.
    linha2 = linha + 1.
    data LXSTRING type XSTRING.
    CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'
      EXPORTING
        INPUT_LENGTH       = 4096
       FIRST_LINE         = LINHA
       LAST_LINE          = LINHA2
     IMPORTING
       BUFFER             = LXSTRING
      TABLES
        BINARY_TAB         = itb_fileBinary
    EXCEPTIONS
      FAILED             = 1
      OTHERS             = 2
    IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
   Data: str TYPE string.
   CALL FUNCTION

Eu uso essa  função para recuperar o XML:
    CALL FUNCTION '/XNFE/CORE_KPRO_XML_READ'
      EXPORTING
        is_dokobject     = ls_dokobject
      IMPORTING
        ev_content       = EV_STRING
      EXCEPTIONS
        no_existing      = 0
        no_authorization = 0
        no_content       = 0
        read_failure     = 0
        convert_failure  = 0
        OTHERS           = 0.
Onde:
    ls_dokobject-class = '/XNFE/XML1'.
    ls_dokobject-objid = lv_docid .
At.,
Bernardo Braga

Similar Messages

  • Not able to generate AS2 MDN when receiving custom XML via AS2

    Hi friends,
    I have setup the trading partner and the corresponding TP certificate import for receiving the custom XML via AS2 channel.
    I am receiving the custom xml properly to oracle b2b and able to receive the same to bpel as well. however in the oracle b2b console under reports tab i am seeing only one record for inbound document receive and i am not seeing the other record for the AS2 MDN going back to vendor. I have setup the AS2 channel under the external trading partner --> Channel using the vendor AS2 URL and selected all the security parameters while creating the Outbound AS2 channel.
    1. Not able to generate AS2 MDN when receiving custom XML via AS2.
    2. eventhough i am able to decrypt the inbound custom XML and ablr to recieve it in bpel also for processing, in the reports tab the inbound message state is changing to MSG_ERROR and it has the folloing error message:
    Error Code
    B2B-50037
    Error Description
    Machine Info: (***********)  Description: B2B inbound message processing error
    Error Level
    ERROR_LEVEL_COLLABORATION
    for AS2 MDN generation for custom XML receiving using As2 protocol, do we need to setup anything other than the outbound As2 Channel using the external vendor AS2 URL?
    Can you please help me how can i generate the AS2 MDN for the inbound custom XML document i have received and also why the inbound message is failing even though i am receiving the custom XML properly to bpel?
    Thanks,
    Amirineni.

    Hi Prasanna,
    Vendor has enabled the ACK mode as SYNC.
    Below are the headers for the inbound message to B2B. and we are able to receive the input message to bpel also.
    Protocol Transport Binding
    ChannelName=******** AS2-To=****AS2 TE=trailers, deflate, gzip, compress Date=Thu, 02 Oct 2014 14:26:31 GMT AS2-Version=1.2 Accept-Encoding=deflate, gzip, x-gzip, compress, x-compress AS2-From=****AS2 Disposition-Notification-Options=signed-receipt-protocol=optional, pkcs7-signature; signed-receipt-micalg=optional, sha1 Disposition-Notification-To=https://******/as2 Message-ID=<CLEO-20141002_142630452-31X54N@****_*****AS2.pcwbedi1-O> Content-type=application/pkcs7-mime; smime-type=enveloped-data; name=smime.p7m Content-length=747006 MSG_RECEIVED_TIME=Thu Oct 02 10:26:39 EDT 2014 Subject=EDI ECID-Context=1.005175bK7U^AXNJCAnf9Cx0002pW000yjX;kXjE1ZDLIPGIj2QCYV8QoKSSILRO_PQT_IS Proxy-Client-IP=****** Recipient-Address=https://******/b2b/httpReceiver User-Agent=RPT-HTTPClient/0.3-3I (Windows 2003) X-Forwarded-For=****** Content-Disposition=attachment; filename="smime.p7m" Host=****** EDIINT-Features=CEM, multiple-attachments, AS2-Reliability Connection=Keep-Alive X-WebLogic-KeepAliveSecs=30 X-WebLogic-Force-JVMID=-1497702782 From=****** Mime-Version=1.0
    Message Digest
    Message Digest
    Digest Algorithm
    sha1
    Transport Protocol
    HTTP
    Transport Protocol Version
    1.0
    Url
    http://******
    security
    Transport Headers
    ChannelName=****** AS2-To=******AS2 TE=trailers, deflate, gzip, compress Date=Thu, 02 Oct 2014 14:26:31 GMT AS2-Version=1.2 Accept-Encoding=deflate, gzip, x-gzip, compress, x-compress AS2-From=****AS2 Disposition-Notification-Options=signed-receipt-protocol=optional, pkcs7-signature; signed-receipt-micalg=optional, sha1 Disposition-Notification-To=https://******/as2 Message-ID=<CLEO-20141002_142630452-31X54N@****AS2_*****AS2.pcwbedi1-O> Content-type=application/pkcs7-mime; smime-type=enveloped-data; name=smime.p7m Content-length=747006 MSG_RECEIVED_TIME=Thu Oct 02 10:26:39 EDT 2014 Subject=EDI ECID-Context=1.005175bK7U^AXNJCAnf9Cx0002pW000yjX;kXjE1ZDLIPGIj2QCYV8QoKSSILRO_PQT_IS Proxy-Client-IP=***** Recipient-Address=*******/b2b/httpReceiver User-Agent=RPT-HTTPClient/0.3-3I (Windows 2003) X-Forwarded-For=******* Content-Disposition=attachment; filename="smime.p7m" Host=***** EDIINT-Features=CEM, multiple-attachments, AS2-Reliability Connection=Keep-Alive X-WebLogic-KeepAliveSecs=30 X-WebLogic-Force-JVMID=-1497702782 From=***** Mime-Version=1.0
    Thanks,
    Amirineni

  • How to extract data via webservices and configure webservices in BI 7

    Hi to all,
    Can any body tell me How to extract data via webservices and configure webservices in BI 7.
    i have created a remote functionmodule which extract data from R/3 , now i want to upload data to BI 7 using that remote function module.
    i have use webservice (push) as adapter mode, as i want to connect function module with SOAP , via web services.
    please can any body tell how to do that.
    also how to configure the webserive , what is it .
    I SHALL BE THANKFULL TO YOU FOR THAT
    Regards
    Pavneet rana

    Hi,
    1. Using the function library (transaction SE37), call the Web service creation wizard.
    To do this, select the desired function module in the function library and choose Utilities ®Generate Web Service ® From the Function Module.
    2. Go through the following steps, shown in the wizard:
    a. Create a virtual interface.
    The virtual interface represents the interface between the Web Service and the outside.
    b. Choose the end point.
    The name of the function module that is to be offered as Web service is already entered here.
    c. Create the Web service definition.
    The Web service definition helps with assigning the Web service features, such as how security can be guaranteed in data transfer.
    d. Release the Web service.
    The wizard generates the object virtual interface and Web service definition in the object navigator.
    The function group that was generated when the XML DataSource was created is not transportable and is thus assigned to a local package. To prevent errors due to transports, make sure that the objects that were generated in the Web service creation wizard are assigned to a local non-transportable package.
    The Web service is released for the SOAP runtime.
    3. In the virtual interface for the import parameter DATASOURCE, define the name of the XML DataSource as the fixed value.
    A separate function group is generated for each XML DataSource. It makes sense to pre-assign the parameter DATASOURCE with the name of the XML DataSource in the virtual interface of the Web service for which the function group was generated.
    If you do not pre-assign the parameter, it will be necessary to transfer the data sent with the appropriate filled DataSource element, for example, by setting the value in the application that implements the Web service.
    a. In the object navigator, choose the name of the package in which the Web service was created and choose Enterprise Services ® Web Service Library ® Virtual Interfaces.
    b. Choose Change in the context menu for the virtual interface.
    c. For the virtual interface, remove the flags exposed and initial and enter the name of the XML DataSource in apostrophes, for example u20196ADATASOURCENAMEu2019.
    d. Activate the virtual interface.
    Regards,
    Marasa.

  • Problemas no recebimento de XML via E-mail caracteres especiais

    Boa Tarde
    Estou com problemas no cenario de Validação de Assinatura com apenas um XML :
    Estou recebendo um XML via E-mail !
    Quando verifico o XML pelo Validador Online disponibilizado pelo SEFAZ RS ,a Assinatura é dada como Válida
    e quando é pelo PI usando o serviço de Validação da Assinatura(Verify) a mesma é dada como inválida... Através do Payload na SXI_MONITOR verifiquei que além dos cacacteres ENTER entre as TAGs aparecem ESPAÇOS ...(ex.: Tag1 valor fecha Tag1   espaço  Tag2 valor fecha Tag2).teria como tratar isso sem invalidar a Assinatura automáticamente ?

    Boa Tarde
    Não sei se você chegou a receber alguns casos  que lhe enviei ...! Quando ele chega ao e-mail ele já esta assim....!
    Esse é nosso grande problema as vezes o parceiro não se sente obrigado em ajustar o seu sistema,  uma vez que lhe é apresentado uma ferrameta do governo que valida esse mesmo arquivo rejeitado pelo serviço  de Validação de *** Digital(AS JAVA)SAP  ...,oque penso em  fazer  quanto a essa questão,.. desenvolver  uma  solução para tratar a excessão ..com calculo  de Hash ...comparação Binária.. e outras mais...!
    Só que eu não queria tomar um caminho muito distante doque a SAP possa vir a tomar com essa solução no futuro até mesmo para não depreciar essa ferramenta que é tão boa...!
    Att
    Ronaldo de Moraes
    Edited by: Ronaldo de Moraes on Oct 21, 2009 4:58 PM

  • Custom view in onet.xml?

    I'd like to create a custom view in my custom site definition, but I'd like to avoid unnecessary complexity. An extra feature that completely redefines an oob list in order to change a single default value to be used only once strikes me as, to not use
    the phrase "extremely retarded", kind of silly. I'd much rather keep everything, I guess, still scattered all over the place, but slightly less so. Is it at all possible to define a custom view in onet.xml? The goal is to have a task
    list without a timeline on the default page.

    1. Save Site As Template can be basis for your solution, and in no means it should be left as-is. It should be cleaned up, IMO, anytime you import it to VS and create your own solution. Yes, 130 files and few thousand of XML is really too much.
    2. Timeline is displayed as separate web part in custom sites (at least we used it that way). You can turn it of by simply using appropriate view in your ListViewWebPart, as the timeline is in fact "ProjectSummaryWebPart". Of course, you need to define that
    view first in schema.xml for your list.
    Dragan Panjkov [http://www.dragan-panjkov.com]

  • Decode an XML from WebServices

    Hello ! :
    I need to do an application in Java. This application will receive and XML from WebServices.
    But, I never did anything like that. So,I have some questions about this :
    1- The webservice will return the execution of an RFC, so, how get Java this XML Code that contains the information of the parameters and tables? With tags?.
    2- How i can traduce this xml code / tags, for example, to print a grid with the information received of the table parameter?
    3- Will you have an example of xml that comes from a webservice or rfc?
    As you can see.. i really need your help.
    Sorry about my english and  thanks for reading.
    Bye!

    Hi,
    For instance, here I have used BAPI_BANK_GETLIST. I generated a WSDL, then I did a "loopback" by generating a client proxy so that to know how to call it, started the ICF recording (SICF), tested the proxy, and I obtain that:
    Request:
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
      <soap-env:Header>
        <n0:Trace xmlns:n0="http://www.sap.com/webas/630/soap/features/runtime/tracing/">
          <TraceLevel xmlns="http://www.sap.com/webas/630/soap/features/runtime/tracing/">Error</TraceLevel>
        </n0:Trace>
      </soap-env:Header>
      <soap-env:Body>
        <nr1:BankGetlist xmlns:nr1="urn:sap-com:document:sap:soap:functions:mc-style">
          <BankCtry>FR</BankCtry>
          <BankList></BankList>
          <MaxRows>0</MaxRows>
        </nr1:BankGetlist>
      </soap-env:Body>
    </soap-env:Envelope>
    Response:
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
    <soap-env:Body>
      <n0:BankGetlistResponse xmlns:n0="urn:sap-com:document:sap:soap:functions:mc-style">
        <BankList>
          <item>
            <BankCtry>FR</BankCtry>
            <BankKey>1234567890</BankKey>
            <BankName>AAAAAAAAAAAAA</BankName>
          </item>
        </BankList>
        <Return>
          <Type></Type>
        </Return>
      </n0:BankGetlistResponse>
    </soap-env:Body>
    </soap-env:Envelope>
    Sandra

  • Sending Custom Java Objects over XML!!

    Hello all !
    Can anybody please tell me how can I send custom Java Objects through XML? For example we can set attributes for a node using the setAttribute method, it accepts only strings, also the setTextContent method requires text and sets the node's value.Can I some way set my own Java object as the value of a particular node or attach it to the node?
    Thanks in advance.

    Kami_Pakistan wrote:
    So I should rather go for Marshalling or Serialization or is there any other work-around possible?I don't know. You didn't say what you had against text formats. Since all Java objects are composed of primitives when you get right down to the bottom, everything in Java can be serialized as text versions of those primitives. So you're going to have to explain why you think a work-around is necessary at all.

  • How to get content of custom fields that were created via the EEWB for CIC?

    Hi
    Can anyone tell me how to get the content of custom fields that were created via the EEWB for CIC? This is required at a time when the data has not been written to the database.
    I would like to know how to read this data in the CRM_APPOINTMENT_MERGE method of CRM_APPOINTMENT_BADI.
    Thanks

    Hi Michael,
    I have a requirement to replicate custom setype data created for CRM sales order to R/3 sales order.These fields have been created at item level.
    Do you know the set of steps to achieve the same.
    Any help would be appreciated.
    Thanks,
    Chamu

  • Read/write XML via OO4O

    We have some ASP code (Active Server Pages) that uses OO4O to select/insert data in an Oracle 8i rel. 2 database (The OO4O objects are from the same release 8.1.6). Now we would like to enhance it to read and store some XML documents directly (the XML documents are about 10 KB and have nested master/detail like structure).
    Our first idea was to write a stored procedure with a string argument to save the XML document, and to write a stored function also returning a string to retrieve the same data. But it appears that there is a 4KB limitation here (we thought it was a 32 KB limitation, but have only been able to get 4 KB?).
    Then we tried to use the RAW parameter type (although the documentation recommends not to), but this apparently requires the data top be transformed to binary format (the XML is in ISO8859-1 format).
    Have you any suggestions on how to overcome these limitations?
    Or are we simply going in the wrong direction (Is there a better way to use XML via OO4O than with stored procedures)?
    Regards
    Tom Bjerre.
    NB: The stored procedures written in Java look like:
    public static String get_xml(String key) throws SQLException{...}
    public static void set_xml(String key, String xmlStr) throws SQLException{...}
    with call specs of:
    CREATE OR REPLACE PACKAGE TEST AUTHID DEFINER AS
    FUNCTION GET_XML ("key" IN VARCHAR2)
    RETURN VARCHAR2
    AS LANGUAGE JAVA
    NAME 'Test.UtilXML.get_xml(java.lang.String) return java.lang.String';
    PROCEDURE SET_XML ("key" IN VARCHAR2, "xmlStr" IN VARCHAR2)
    AS LANGUAGE JAVA
    NAME 'Test.UtilXML.set_xml(java.lang.String, java.lang.String)';
    END TEST;
    null

    CHAR is limited to 2k.
    VARCHAR2 is limited to 4k.
    You should be using CLOB if you're
    saving XML strings.

  • Decode XML from WebServices

    Hello ! :
    I need to do an application in Java. This application will receive and XML from WebServices.
    But, I never did anything like that. So,I have some questions about this :
    1- The webservice will return the execution of an RFC, so, how get Java this XML Code that contains the information of the parameters and tables? With tags?.
    2- How i can traduce this xml code / tags, for example, to print a grid with the information received of the table parameter?
    3- Will you have an example of xml that comes from a webservice or rfc?
    4- Where do I get the information that is contained in the tables and parameters?
    As you can see.. i really need your help.
    Sorry about my english and thanks for reading.
    Bye!

    Your questions are confusing. Can you simply say what  needs to be done ?
    Edited by: Hussain Sehorewala on Sep 4, 2011 1:26 PM

  • "Out of memory" error when receiving "Bytes" via Webservices.

    When I receive Byte content via Webservices over 3.5MB, I get Out of memory error.
    Does Everybody know how to solve this problem?
    I'm using TomCat 4.1 [and 5.0.28 too] with Axis.

    Then you are not using them correctly. If I set up my stream to read into 2K buffers, then my memory overhead should not significantly exceed 2K when reading the file. My bet is you are reading everything into memory and then writing it.
    Post some code. Not the whole application or even the whole class, just the part performing I/O. And please use the 'code' formatting button above when doing so. Then, perhaps, we can help diagnose your issue.
    - Saish

  • Custom p13n-cache-config.xml

    Trying to implement 5.1 P13N CacheProvider SPI Implementation from link:
    http://docs.oracle.com/cd/E24290_01/coh.371/e22621/wlportal.htm#CHDIFHCD
    In step 2: The p13n-cache-config.xml has been updated with the <default-provider-id>com.tangosol.coherence.weblogic</default-provider-id> line.
    Question:
    How can a custom p13n-cache-config.xml be loaded using a -D command?
    Edited by: user734247 on May 1, 2013 1:28 PM

    Hi,
    The p13n-cache-config.xml needs to changed in each of your WLP application's META-INF directory. Coherence does not need this file but rather the provider configuration in file makes Portal application to start using coherence for p13 caching.
    HTH
    Regards,
    _NJ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Not able to see iby_fd_extract_ext_pub custom tags of in XML data

    Hi Experts,
    I have customized the iby_fd_extract_ext_pub package to add the custom tags in the payment format xml data.Package status is valid but I am not able to see any of the custom element in the XML Data.
    Please share your experience if you faced similar issue.
    Regards,
    Brajesh

    1. Do not prefix it just put your code in and compile - unless you want to call XX_IBY_FD_EXTRACT_EXT_PUB from IBY_FD_EXTRACT_EXT_PUB to have minimal impact to IBY_FD_EXTRACT_EXT_PUB.
    2. You won't be able to put in an additional parameter, you'll need to derive the Payment Process Profile from SQL by linking from payment document to payment process to payment process profile; or just get the org from, say, the first invoice in the batch - as long as you always group by organization this will be fine.
    3. Yes, it is probably that a patch will overwrite your customization - make sure you test it after each IBY patch - use applcust.txt and make sure your DBA's check adpatch logs for the file being overwritten!
    Regards,
    Gareth
    http://garethroberts.blogspot.com
    http://www.virtuate.com

  • Unable to add XML and Webservices Datasource in Crystal Reports

    Hi,
        when I am trying to add a Web service datasource upon clicking the XML and Webservices Datasource in Database Manager I get the following error.
    Invalid Arguments Provided.
    Details: Java server startup failure. Verify PATH (JDK), CLASSPATH, and IORFileLocation properties in the CRConfig.xml file. In addition, verify that you are using JDK 1.5.
    I am using Windows server 2003 OS. Java is version 1.6. I tried the below things but none of them worked.
    1.Edit the crconfig.xml file to add classpath and license information
    2.reverted to java 1.5
    3.uninstalled and installed the CR 2008 software. None of these worked. Please help.

    Thanks Don but my issue is not proxy related.
                        I am not using a proxy though I am using a VPN to be in the network of the Webservice hosting server. Also, my problem is that I am not able to even enlarge the XML and Webservices Data source to add any xml or web service file let alone the one I want to.
    Edited by: iamkhader on May 10, 2010 7:26 AM

  • Send xml via mail (IPhone SDK)

    HI all,
    i have some problem sending xml via mail(mailto). When the amil program caming up il see the subjet but the xml tag there aren't???
    any one has an idea how do this??
    thanks in advanced
    Claudio

    Go into settings - mail - account - and then look for the outgoing server - click in there and there should be a place for you to enter your password - just as you would when you first set up your email account.

Maybe you are looking for

  • Binding a Shared Varable to multiple MODBUS registers

    A simple question, but can't seem to find an answer: I have a project library with a serial MODBUS i/o server setup. In this library I have several shared variables that are bound to registers on the remote device through the MODBUS protocol, and thi

  • No Video from QT/Avid codec .mov files in Premier CS4

    We have a lot of .mov files exported from Avid Newscutter using the Avid .mov codec. SD files 720x480. AE, QuickTime, and Bridge play the audio and video no problem. Premier plays only the audio and black for the video. This happens on 3 different wo

  • BOM changes automated Report

    Hi friends Is there any way that i could get this done  (please see below) For a plant, if any of the BOM has undergone changes. It needs to be captured and mail sent to a user .The list to be sent on daily basis thro mail Please help with your input

  • Using BT Fon at home

    Hi, I have started to use BT Fon in an upstairs bedroom where the wifi can't reach, mainly for a quick social media catch up. I have read some things on the internet which suggest that this could eat into my neighbours data usage for the month. Is ok

  • I added firefox 7 to my new dell 620 and can no longer retreive my bookmarks

    On Sunday 10/30/11 I downloaded firefox 7 And am no longer able to retreive my bookmarks. How can I get this important research back