IDOC to XML using HTTP

Hi Friends,
Is there any possibilities to Convert IDOCs as XML using HTTP Adapter in SAP PI?
Because in my Scenario i need to send Idocs from ECC to Red Prariie using SAP PI.
Also is it there any possibilities using FTPS?
Please help me.
Thanks.

Hi PIstarter,
Sure this is possible. Just treat the IDoc like any other Service Interface that you use in the HTTP Receiver Adapter. You can even use the no-mapping approach if no additional processing is required by PI.
Hope this helps,
Greg

Similar Messages

  • XML using HTTPS

    I am trying to use the XML class in Flash Media Server to
    read an XML web page. However, the XML web page that I want to use
    needs to be secure and therefore uses HTTPS. It appears that Flash
    Media Server is unable to get the XML web page when the HTTPS
    protocol is used. The code I’m using has tested successfully
    using the HTTP protocol.
    Is HTTPS supported by FMS for getting a XML web page? Is
    there a way or work around to get FMS to read the XML web page
    using HTTPS?
    Thanks!

    Well, it'll depend on the database version of course but
    this should work:
    DECLARE
    url varchar2(500);
    req utl_http.req;
    resp utl_http.resp;
    data VARCHAR2(200);
    name VARCHAR2(256);
    value VARCHAR2(1024);
    BEGIN
    url :='https://<some URL>';
    utl_http.set_wallet('file:<Wallet directory>','<Wallet password>');
    req:=utl_http.begin_request(url, 'POST', utl_http.HTTP_VERSION_1_1);
    utl_http.set_authentication(req, '<username>', '<password>');
    resp := utl_http.get_response(req);
    dbms_output.put_line('code: '||resp.status_code);
    dbms_output.put_line('reason: '||resp.reason_phrase);
    FOR i IN 1..utl_http.get_header_count(resp) LOOP
    utl_http.get_header(resp, i, name, value);
    dbms_output.put_line('H>'||name || ': ' || value);
    END LOOP;
    begin
    loop
    utl_http.read_text(resp,data,200);
    dbms_output.put_line('D>'||data );
    end loop;
    exception
    when utl_http.end_of_body then
    dbms_output.put_line(D'>end');
    end;
    utl_http.end_response( resp );
    END;
    You need to set up a wallet (using the Wallet Manager) on
    the database or at least put a wallet file in adirectory
    accessible from the database. The wallet needs to include
    the public part of the certificate for the web server you
    want to talk to. This can be saved from Internet Explorer
    (File/Properties certificates button, second tab...).
    There is a document on Metalink on this.
    Hope you fix it
    Kind regards
    Tomas Albinsson
    Stockholm, Sweden

  • IDOC To XML using JCOIDOC

    Hi Experts,
    IS it possible to know from a field of segment in XML format  IDOC coming from  SAP system to JCO that whether that transaction is a new record (create) or change pointer record , so that i can either Insert the data or Update in to the Database respectively.
    specifically saying am using MATMAS05 and am not able to figure it out for new or change pointer.
    Edited by: anil@1234 on Nov 12, 2010 6:09 AM

    <?xml version="1.0" ?>
    - <MATMAS05>
    - <IDOC BEGIN="1">
    - <EDI_DC40 SEGMENT="1">
      <TABNAM>EDI_DC40</TABNAM>
      <MANDT>100</MANDT>
      <DOCNUM>0000000000222146</DOCNUM>
      <DOCREL>700</DOCREL>
      <STATUS>30</STATUS>
      <DIRECT>1</DIRECT>
      <OUTMOD>2</OUTMOD>
      <EXPRSS />
      <TEST />
      <IDOCTYP>MATMAS05</IDOCTYP>
      <CIMTYP />
      <MESTYP>MATMAS</MESTYP>
      <MESCOD />
      <MESFCT />
      <STD />
      <STDVRS />
      <STDMES />
      <SNDPOR>SAPB60</SNDPOR>
      <SNDPRT>LS</SNDPRT>
      <SNDPFC />
      <SNDPRN>B60CLNT100</SNDPRN>
      <SNDSAD />
      <SNDLAD />
      <RCVPOR>A000000016</RCVPOR>
      <RCVPRT>LS</RCVPRT>
      <RCVPFC />
      <RCVPRN>ICONLS</RCVPRN>
      <RCVSAD />
      <RCVLAD />
      <CREDAT>20101111</CREDAT>
      <CRETIM>162912</CRETIM>
      <REFINT />
      <REFGRP />
      <REFMES />
      <ARCKEY />
      <SERIAL>20101111162909</SERIAL>
      </EDI_DC40>
    - <E1MARAM SEGMENT="1">
      <MSGFN>004</MSGFN>
      <MATNR>000000000000000029</MATNR>
      <ERSDA>20080305</ERSDA>
      <ERNAM>Material03</ERNAM>
      <LAEDA>20101104</LAEDA>
      <AENAM>anil</AENAM>
      <PSTAT>KSLEBDP</PSTAT>
      <LVORM />
      <MTART>ROH</MTART>
      <MBRSH>M</MBRSH>
      <MATKL>01</MATKL>
      <BISMT />
      <MEINS>EA</MEINS>
      <BSTME />
      <ZEINR />
      <ZEIAR />
      <ZEIVR />
      <ZEIFO />
      <AESZN />
      <BLATT />
      <BLANZ>000</BLANZ>
      <FERTH />
      <FORMT />
      <GROES />
      <WRKST />
      <NORMT />
      <LABOR />
      <EKWSL />
      <BRGEW>0.000</BRGEW>
      <NTGEW>0.000</NTGEW>
      <GEWEI />
      <VOLUM>0.000</VOLUM>
      <VOLEH />
      <BEHVO />
      <RAUBE />
      <TEMPB />
      <TRAGR />
      <STOFF />
      <SPART />
      <KUNNR />
      <WESCH>0.000</WESCH>
      <BWVOR />
      <BWSCL />
      <SAISO />
      <ETIAR />
      <ETIFO />
      <EAN11 />
      <NUMTP />
      <LAENG>0.000</LAENG>
      <BREIT>0.000</BREIT>
      <HOEHE>0.000</HOEHE>
      <MEABM />
      <PRDHA />
      <CADKZ />
      <ERGEW>0.000</ERGEW>
      <ERGEI />
      <ERVOL>0.000</ERVOL>
      <ERVOE />
      <GEWTO>0.0</GEWTO>
      <VOLTO>0.0</VOLTO>
      <VABME />
      <KZKFG />
      <XCHPF />
      <VHART />
      <FUELG>0</FUELG>
      <STFAK>0</STFAK>
      <MAGRV />
      <BEGRU />
      <QMPUR />
      <RBNRM />
      <MHDRZ>0</MHDRZ>
      <MHDHB>0</MHDHB>
      <MHDLP>0</MHDLP>
      <VPSTA>KSLEBDP</VPSTA>
      <EXTWG />
      <MSTAE />
      <MSTAV />
      <MSTDE>00000000</MSTDE>
      <MSTDV>00000000</MSTDV>
      <KZUMW />
      <KOSCH />
      <NRFHG />
      <MFRPN />
      <MFRNR />
      <BMATN />
      <MPROF />
      <PROFL />
      <IHIVI />
      <ILOOS />
      <KZGVH />
      <XGCHP />
      <COMPL>00</COMPL>
      <KZEFF />
      <RDMHD />
      <IPRKZ />
      <PRZUS />
      <MTPOS_MARA />
      <GEWTO_NEW>0.0</GEWTO_NEW>
      <VOLTO_NEW>0.0</VOLTO_NEW>
      <WRKST_NEW />
      <AENNR />
      <MATFI />
      <CMREL />
      <SATNR />
      <SLED_BBD>B</SLED_BBD>
      <GTIN_VARIANT />
      <GENNR />
      <SERLV />
      <RMATP />
      <GDS_RELEVANT />
      <MCOND />
      <RETDELC />
      <LOGLEV_RETO />
      <NSNID />
      <WEORA />
      <_-CWM_-TOLGR />
      <_-CWM_-TARA />
      <_-CWM_-TARUM />
    - <E1MAKTM SEGMENT="1">
      <MSGFN>018</MSGFN>
      <SPRAS>E</SPRAS>
      <MAKTX>bolt</MAKTX>
      <SPRAS_ISO>EN</SPRAS_ISO>
      </E1MAKTM>
    - <E1MARCM SEGMENT="1">
      <MSGFN>004</MSGFN>
      <WERKS>0001</WERKS>
      <PSTAT>SLEBDP</PSTAT>
      <LVORM />
      <BWTTY />
      <MAABC />
      <KZKRI />
      <EKGRP />
      <AUSME />
      <DISPR />
      <DISMM>PD</DISMM>
      <DISPO>001</DISPO>
      <PLIFZ>0</PLIFZ>
      <WEBAZ>0</WEBAZ>
      <PERKZ>M</PERKZ>
      <AUSSS>0.00</AUSSS>
      <DISLS>DY</DISLS>
      <BESKZ>X</BESKZ>
      <SOBSL />
      <MINBE>0.000</MINBE>
      <EISBE>0.000</EISBE>
      <BSTMI>0.000</BSTMI>
      <BSTMA>0.000</BSTMA>
      <BSTFE>0.000</BSTFE>
      <BSTRF>0.000</BSTRF>
      <MABST>0.000</MABST>
      <LOSFX>1</LOSFX>
      <SBDKZ />
      <LAGPR>1</LAGPR>
      <ALTSL />
      <KZAUS />
      <AUSDT>00000000</AUSDT>
      <NFMAT />
      <KZBED />
      <MISKZ />
      <FHORI>000</FHORI>
      <PFREI />
      <FFREI />
      <RGEKZ />
      <FEVOR />
      <BEARZ>0.00</BEARZ>
      <RUEZT>0.00</RUEZT>
      <TRANZ>0.00</TRANZ>
      <BASMG>0.000</BASMG>
      <DZEIT>0</DZEIT>
      <MAXLZ>0</MAXLZ>
      <LZEIH />
      <KZPRO />
      <GPMKZ />
      <UEETO>0.0</UEETO>
      <UEETK />
      <UNETO>0.0</UNETO>
      <WZEIT>0</WZEIT>
      <ATPKZ />
      <VZUSL>0.00</VZUSL>
      <HERBL />
      <INSMK />
      <SSQSS />
      <KZDKZ />
      <UMLMC>0.000</UMLMC>
      <LADGR />
      <XCHPF />
      <USEQU />
      <LGRAD>0.0</LGRAD>
      <AUFTL />
      <PLVAR />
      <OTYPE />
      <OBJID>00000000</OBJID>
      <MTVFP>KP</MTVFP>
      <PERIV />
      <KZKFK />
      <VRVEZ>0.00</VRVEZ>
      <VBAMG>0.000</VBAMG>
      <VBEAZ>0.00</VBEAZ>
      <LIZYK />
      <BWSCL />
      <KAUTB />
      <KORDB />
      <STAWN />
      <HERKL />
      <HERKR />
      <EXPME />
      <MTVER />
      <PRCTR />
      <TRAME>0.000</TRAME>
      <MRPPP />
      <SAUFT />
      <FXHOR>000</FXHOR>
      <VRMOD />
      <VINT1>000</VINT1>
      <VINT2>000</VINT2>
      <STLAL />
      <STLAN />
      <PLNNR />
      <APLAL />
      <LOSGR>0.000</LOSGR>
      <SOBSK />
      <FRTME />
      <LGPRO />
      <DISGR />
      <KAUSF>0.00</KAUSF>
      <QZGTP />
      <TAKZT>0</TAKZT>
      <RWPRO />
      <COPAM />
      <ABCIN />
      <AWSLS />
      <SERNP />
      <STDPD />
      <SFEPR />
      <XMCNG />
      <QSSYS />
      <LFRHY />
      <RDPRF />
      <VRBMT />
      <VRBWK />
      <VRBDT>00000000</VRBDT>
      <VRBFK>0.00</VRBFK>
      <AUTRU>X</AUTRU>
      <PREFE />
      <PRENC />
      <PRENO />
      <PREND>00000000</PREND>
      <PRENE />
      <PRENG>00000000</PRENG>
      <ITARK />
      <PRFRQ>0</PRFRQ>
      <KZKUP />
      <STRGR />
      <LGFSB />
      <SCHGT />
      <CCFIX />
      <EPRIO />
      <QMATA />
      <PLNTY />
      <MMSTA />
      <SFCPF />
      <SHFLG />
      <SHZET>00</SHZET>
      <MDACH />
      <KZECH />
      <MMSTD>00000000</MMSTD>
      <MFRGR />
      <FVIDK />
      <INDUS />
      <MOWNR />
      <MOGRU />
      <CASNR />
      <GPNUM />
      <STEUC />
      <FABKZ />
      <MATGR />
      <LOGGR />
      <VSPVB />
      <DPLFS />
      <DPLPU />
      <DPLHO>0</DPLHO>
      <MINLS>0.000</MINLS>
      <MAXLS>0.000</MAXLS>
      <FIXLS>0.000</FIXLS>
      <LTINC>0.000</LTINC>
      <COMPL>00</COMPL>
      <CONVT />
      <FPRFM />
      <SHPRO />
      <FXPRU />
      <KZPSP />
      <OCMPF />
      <APOKZ />
      <AHDIS />
      <EISLO>0.000</EISLO>
      <NCOST />
      <MEGRU />
      <ROTATION_DATE />
      <UCHKZ />
      <UCMAT />
    - <E1MPOPM SEGMENT="1">
      <MSGFN>009</MSGFN>
      <VERSP />
      <PROPR />
      <MODAW />
      <MODAV>2</MODAV>
      <KZPAR />
      <OPGRA />
      <KZINI>X</KZINI>
      <PRMOD>D</PRMOD>
      <ALPHA>0.00</ALPHA>
      <BETA1>0.00</BETA1>
      <GAMMA>0.00</GAMMA>
      <DELTA>0.00</DELTA>
      <EPSIL>0.00</EPSIL>
      <SIGGR>4.000</SIGGR>
      <PERKZ>M</PERKZ>
      <PRDAT>00000000</PRDAT>
      <PERAN>60</PERAN>
      <PERIN>0</PERIN>
      <PERIO>0</PERIO>
      <PEREX>0</PEREX>
      <ANZPR>12</ANZPR>
      <FIMON>0</FIMON>
      <GWERT>0.000</GWERT>
      <GWER1>0.000</GWER1>
      <GWER2>0.000</GWER2>
      <VMGWE>0.000</VMGWE>
      <VMGW1>0.000</VMGW1>
      <VMGW2>0.000</VMGW2>
      <TWERT>0.000</TWERT>
      <VMTWE>0.000</VMTWE>
      <PRMAD>0.000</PRMAD>
      <VMMAD>0.000</VMMAD>
      <FSUMM>0.000</FSUMM>
      <VMFSU>0.000</VMFSU>
      <GEWGR />
      <THKOF>0.00</THKOF>
      <AUSNA />
      <PROAB />
      </E1MPOPM>
      </E1MARCM>
      </E1MARAM>
      </IDOC>
      </MATMAS05>

  • Custom XML using HTTP channel

    Hi All,
    I have requirement where 2 trading partners will be posting a custom XML payload (same schema for both partners) through a B2B http url.
    I need your help in configuring the Generic-Http channel for both the partners and based up on a particular value in the payload, respective agreement needs to get triggered.
    Currently, I am getting Document Identification Protocol error.
    Please help.
    Thanks,
    Monica

    Hi Prasanna,
    Thank you for the reply.
    I tried setting the identification Xpath under document definition as mentioned in the above mentioned link. But I am getting the "Description: Agreement not found for trading partners: FromTP null, ToTP HTP with document type BRCD_AB_DATA-V1.0-INBOUND." error.
    I have placed my doc definition under Custom-->V1.0-->BRCD_AB_DATA
    I have the XPath for XML as shown below:
    Identification Expression (XPath) ://*[local-name()='BRCD_AB_DATA']/*[local-name()='TRANSACTION_NUMBER']/text()
    Identification Value :1234
    Am I missing anything??
    Thanks,
    Monica

  • SAP ECC Interface w/ IDOC-XML using TCP/IP, HTTP, or FTP to 3rd-Party Syst.

    I am trying to understand if the following interface options can occur (without the use of SAP PI or any other middleware):
    Option 1A: Can I process an SAP ECC outbound IDoc in XML using TCP/IP to a non-SAP 3rd party system?  Can you please explain the reason for why I can or can NOT do this.  If possible, please provide supporting documentation on how-to do this?
    Option 1B: Can I process an SAP ECC inbound XML-IDOC from a non-SAP calling system that used TCP/IP?  Can you please explain the reason for why I can or can NOT do this. If possible, please provide supporting documentation on how-to do this?
    Option 2A: Can I process an SAP ECC outbound IDOC in XML using HTTP to a non-SAP 3rd-party system?  Can you please explain the reason for why I can or can NOT do this. If possible, please provide supporting documentation on how-to do this?
    Option 2B: Can I process an SAP ECC inbound XML-IDOC from a non-SAP calling system that used HTTP?  Can you please explain the reason for why I can or can NOT do this. If possible, please provide supporting documentation on how-to do this?
    Option 3A: Can I process an SAP ECC outbound IDOC in XML using FTP to a non-SAP 3rd-party system?  Can you please explain the reason for why I can or can NOT do this. If possible, please provide supporting documentation on how-to do this?
    Option 3B: Can I process an SAP ECC inbound XML-IDOC from a non-SAP calling system that used FTP?  Can you please explain the reason for why I can or can NOT do this. If possible, please provide supporting documentation on how-to do this?

    Hello Kirk  ,
    The answers for your question are:
    Option 1A: Yes you can .you can use TCP/IP but you must have a middleware component for that such as BC/JCO .
    Please see the link : [http://help.sap.com/saphelp_nw04/helpdata/EN/09/c88442a07b0e53e10000000a155106/frameset.htm]
    Option 1B: See the link above.
    Option 2A: You can use ABAP code :
    [http://help.sap.com/saphelp_nw04/helpdata/EN/e5/4d3514c11411d4ad310000e83539c3/frameset.htm]
    Option 2B: [http://help.sap.com/saphelp_nw04/helpdata/EN/90/4f3c2ec3c511d6b2b400508b6b8a93/frameset.htm]
    Option 3A: Only with ABAP code :[Reg: FTP Connection;
    Option 3B: See the link of Option 3A.
    Good Luck,
    Boaz
    Edited by: Boaz Ornan on Feb 21, 2010 4:33 PM

  • Sending MATMAS05 IDOC via XML-HTTP Interface (without XI)

    Dear all,
    I have to send the MATMAS05 IDOC via XML-SOAP-HTTP Interface to a subsystem. Sending works (the sub-system receives the SOAP-Request with the MATMAS05 as Body). So far so good. Now the SAP System is waiting for an answer (synchronous communication). How should this answer look like?
    We receive the Error EA390 "Problem with SOAP Class" - execute_processing: entry result table
    Can anybody give me a hint how the response should look like.
    Many thanks and best regards
    Roman

    Hello Sven,
    we find a solution. As far as I remember, there is a flag to send without waiting for answer (or technical better to not rely on SOAP standard).
    Look in WE21 and the XML_HTTP Port you use. Uncheck the "SOAP Protocol" flag. Then it should work.
    HTH and Best regards
    Roman

  • AS2 using HTTPS - Handshake failure # null

    Hello,
    I have scenario IDoc - PI - AS2 using HTTPS.
    when i am trying to send data it is giving me "Handshake Failure" error.
    I have check certificate and configuration properly.
    Parnter is saying "your client doesnu2019t sent the requested client certificate"
    following are traces:
       20120102 061927 011 SECS  I SES_INIT  (83903899) Netprof : NP_AS2_CERT_Sender_TEST selected [src_addr="---Hostname/port"] [dest_addr="hostname/port"]
       20120102 061927 013 SECS  I SES_INIT  (83903899) Server TLS Security Profile : TLS_AS2_SRV_CERT_Port selected
       20120102 061927 103 NET   I CONN_RESP (17809) incoming connection response     [resp_add=""]
       20120102 061929 030 SECS  I C_BUILD   (83903899) Server Certificate sent: Receiver_Partner
       20120102 061929 030 SECS  I C_BUILD   (83903899) Server Certificate sent: VeriSign Class 3 International
       20120102 061929 030 SECS  I C_BUILD   (83903899) Server Certificate sent: VeriSign Class 3 Public Primary
       20120102 061929 014 SECS  I CA_BUILD  (83903899) Server Sending Accepted DN: AS2 KRAFT Root Prod CA
       20120102 061929 014 SECS  I CA_BUILD  (83903899) Server Sending Accepted DN: AS2 KRAFT Root Test CA
       20120102 061929 014 SECS  I CA_BUILD  (83903899) Server Sending Accepted DN: AS2 KnorrPrandel (SIGN) New
       20120102 061929 014 SECS  I CA_BUILD  (83903899) Server Sending Accepted DN: AS2 KnorrPrandel (SSL) New
       20120102 061929 014 SECS  I CA_BUILD  (83903899) Server Sending Accepted DN: AS2 MarkantSyntradeRoot
       20120102 061929 014 SECS  I CA_BUILD  (83903899) Server Sending Accepted DN: AS2 ProcterGambleProd
       20120102 061929 014 SECS  I CA_BUILD  (83903899) Server Sending Accepted DN: D-TRUST Root Class 2 CA 2007
       20120102 061929 014 SECS  I CA_BUILD  (83903899) Server Sending Accepted DN: Entrust.net CA
       20120102 061929 014 SECS  I CA_BUILD  (83903899) Server Sending Accepted DN: EquifaxSecure(4Bacardi)
       20120102 061929 014 SECS  I CA_BUILD  (83903899) Server Sending Accepted DN: Sender RootCA (Sender)
      20120102 061929 053 NET   W TLSALSND  (17809) alert 40 sent (handshake failure)
                   20120102 061929 105 NET   I DISC_REQ  (17809) disconnection request            [reason="0"]
    Please suggest.
    //Manisha

    Hello,
    have u downloaded the certificate from the vendor url and uploaded in STRUST.
    have u restarted ICM through SMICM.  did connection test in SM 59 ? what is the response ???
    Regards,
    Phani

  • Automate flat IDOC to XML IDOC using one interface

    Hello all,
    We are currently going through a migration process where XI will be replacing a legacy system.  As part of our testing procedure, we are using historical data pairings from the legacy system and using an automated tool to compare if the interfaces we develop in XI match.  The catch is we need the data that we are comparing in XML format for the automated tool to be able to do the comparison, and unfortunately the legacy data is a flat format.  So now I would like to automate a way to convert this data to XML format.
    Specifically for IDOCs, I would like to have an interface which picks up the flat files, transforms them to XML, and then drops them back into another file directory in the XML format.  It would need to be able to pick up any kind of IDOC (given that XI has the metadata already imported), recognize what message type it is, then do the conversion.
    I have been reading on SDN and found that there is a standard tool to do the conversion, but it appears it can only handle one kind of IDOC at a time, and it appears it only picks up one specifically named file at a time.
    Has anybody tried to implement a scenario like this?  Any help is appreciated (A walkthrough would be the best!).
    Thanks in advance,
    Mike

    Mike,
    What version of PI will you be using? PI 7.11 can now auto-convert Flat File IDocs to XML IDoc and vice versa.
    Here is the documentation:
    http://help.sap.com/saphelp_nwpi711/helpdata/en/b5/bd93642dd3410f90ebea702399fac4/frameset.htm (flat to XML)
    http://help.sap.com/saphelp_nwpi711/helpdata/en/74/a45bc07e2043fb9b63295229178903/frameset.htm (XML to flat)
    I have not tried this personally, but seems like you might be able to use a "File to File" scenario with no mapping, and use the "IDOCFlatToXmlConvertor" Module in your File Adapter Comms Channel and it may just work, giving you files that are the IDoc XML version of the flat file it is reading. It looks like it does an RFC call to the back-end SAP system where the IDocs are originally from (or could be any system as long as you know the IDocs in there are identical), and reads the IDoc metadata (which has always included flat file field offsets for each IDoc Segment Field), and applies that either to convert from flat file IDoc to XML IDoc, or XML IDoc to flat file IDoc.
    It does mention that there is a limitation that there can only be one IDoc in the source flat file - could be a problem if you have many in one file, which is pretty typical.
    Regards,
    Brendan

  • Issues with creating and sending BOM XML IDOC to SAP using 2010 WCF-SAP Adapter (without using Biztalk Server)

      I'm trying to replace an existing Biztalk 2006 Send BOM IDOC process, and completely remove Biztalk server from the equation.   The existing Bizatalk 2006 server receives an input BOM (Bill of Materials) flat file, and using a Biztalk Map (BM08),
    and Orchestration, generates an Idoc and sends it to SAP.
      In my replacement C# program, I'm using the 2010 WCF-SAP Adapter, and am trying to generate the BOMMAT03 XML IDOC it to SAP.  
      I generated the BOMMAT03 schema from SAP using the Add Adapter Service in VS 2010.  I was able to generate a BM08 XSLT from the existing BMO8 map in the current Biztalk 2006 process.  I am able to run a XSLT transform on the input BOM flat
    file, and generate an XML file from that.  
      However, I've run into a few issues.   First of which, is that the XML file that is generated from the XSLT transform is NOT the same schema as the BOMMAT03 schema expects.  It's somewhat similar, but different enough that I have to manually
    translate between the two in my code.  I've verified that both the original Bitztalk 2006 process and my replacement program use BOMMAT V3 from SAP.  Question--Is Biztalk 2006 server doing some other magic to turn that transormed XML into the BOMMAT03
    schema?    
     I ended writing code which translates the transformed XML into the BOMMAT03 schema (which is a strong typed XML IDOC at this point).
      However, when I try to send the BOMMAT03 XML IDOC, I get an exception "Object reference not set to an instance of an object."
                   idocClient.Send(idocData, ref sadapterTxGuid);
    idocData is of type BOMMAT03, and I've verified that the various fields are populated.  
      Any help is appreciated. 

    Well, putting in a MSDN subscription support ticket for Biztalk server actually helped with the issue.  They didn't find, or fix the issue directly.  But one of the examples (https://randypaulo.wordpress.com/tag/idoc/) they sent over, jogged my
    memory, and I realized in the code snippet below, I had accidentally deleted the 1st line.  Such a simple mistake, yet was easy to overlook.  The URL example is almost EXACTLY like my code, but without the transform and translation code to convert
    from input XML file to IDOC XML.  If someone is interested in that, let me know.    
    //Forgot the 1st line.  
    idocClient = new IdocBOMMAT03SIEIS_WED_BOMMAT03V3R700Client(binding, endpointAddress);
     idocClient.Send(idocData, ref sadapterTxGuid);
    For anyone else interested in knowing, you CAN send a strongly typed IDOC to SAP using C#.NET and the WCF SAP 2010 Adapter, using the IDOC Binding Client class you generated using the Add Adapter Service Reference in VS2010.  
    The one difference, which no one, not even the tech support from MS could tell me, was why the XSLT which I generated from the original map, did not transform the input BOM XML into the BOMMAT03 XML.  Instead, it transformed it into an intermediate
    XML, which resembled the BOMMAT03 IDOC XML, but still needed to be translated to the BOMMAT03 IDOC format.  
    The tech support person swore up and down that it should.  But I believe that something happens in Biztalk server, after the Mapping occurs, maybe in the Pipeline, which converts that
    intermediate XML into the final BOMMAT03 IDOC XML format.
    I do think that the examples are severely lacking in showing how to send a strong typed IDOC using C# and the WCF-SAP Adapter.  Even worse, the examples are completely lacking in how to actually generate a weakly typed IDOC.  They show how to send
    that weakly typed IDOC, but show me, or give me a class to be able to generate it.
    I realize that this is not quite the "recommended way" to do it, but in reality, not everyone wants or even needs a full Biztalk installation.   For some simple stuff like this, a C#.NET program and WCF-SAP adapter do the trick.  

  • Javax.xml.ws.soap.SOAPFaultException: InvalidSecurity : error in processing the WS-Security security header error while invoking FinancialUtilService using HTTP proxy client

    I am trying to invoke FinancialUtilService using HTTP proxy client. I am getting below error while i am trying to invoke this service. Using FusionServiceTester i am able to invoke service and upload file to UCM. Using oracle.ucm.fa_client_11.1.1.jar also i am able to upload file to UCM without any issue. But using HTTP proxy client i am facing below error. Can anyone please help me. PFA code i am using to invoke this service.
    javax.xml.ws.soap.SOAPFaultException: InvalidSecurity : error in processing the WS-Security security header
      at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:197)
      at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122)
      at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:125)
      at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
      at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:135)
      at $Proxy43.uploadFileToUcm(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at weblogic.wsee.jaxws.spi.ClientInstance$ClientInstanceInvocationHandler.invoke(ClientInstance.java:363)
      at $Proxy44.uploadFileToUcm(Unknown Source)
      at com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.FinancialUtilServiceSoapHttpPortClient.invokeUpload(FinancialUtilServiceSoapHttpPortClient.java:299)
      at com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.FinancialUtilServiceSoapHttpPortClient.main(FinancialUtilServiceSoapHttpPortClient.java:273)
    Process exited with exit code 0.
    Message was edited by: Oliver Steinmeier
    Removed attachment

    Hi Jani,
    Thanks for your reply.
    I am new to webservices and we are trying to do a POC on invoking FinancialUtilService using HTTP proxy client. I am following steps mentioned in attached pdf section "Invoking FinancialUtil Service using Web Service Proxy Client". I have imported certificate using below command. 
         keytool -import -trustcacerts -file D:\Retek\Certificate.cer -alias client -keystore D:\Retek\default-keystore.jks -storepass welcome1
    Invoking
        SecurityPolicyFeature[] securityFeature =
        new SecurityPolicyFeature[] { new
        SecurityPolicyFeature("oracle/wss11_saml_token_with_message_protection_client_policy")};
        financialUtilService_Service = new FinancialUtilService_Service();
        FinancialUtilService financialUtilService= financialUtilService_Service.getFinancialUtilServiceSoapHttpPort(securityFeature);
        // Get the request context to set the outgoing addressing properties
        WSBindingProvider wsbp = (WSBindingProvider)financialUtilService;
        WSEndpointReference replyTo =
          new WSEndpointReference("https://efops-rel91-patchtest-external-fin.us.oracle.com/finFunShared/FinancialUtilService", WS_ADDR_VER);
        String uuid = "uuid:" + UUID.randomUUID();
        wsbp.setOutboundHeaders( new StringHeader(WS_ADDR_VER.messageIDTag, uuid), replyTo.createHeader(WS_ADDR_VER.replyToTag));
        wsbp.getRequestContext().put(WSBindingProvider.USERNAME_PROPERTY, "fin_user1");
        wsbp.getRequestContext().put(WSBindingProvider.PASSWORD_PROPERTY,  "Welcome1");
        wsbp.getRequestContext().put(ClientConstants.WSSEC_RECIPIENT_KEY_ALIAS,"service");
        wsbp.getRequestContext().put(ClientConstants.WSSEC_KEYSTORE_LOCATION, "D:/Retek/default-keystore.jks");
        wsbp.getRequestContext().put(ClientConstants.WSSEC_KEYSTORE_PASSWORD, "welcome1" );
        wsbp.getRequestContext().put(ClientConstants.WSSEC_KEYSTORE_TYPE, "JKS" );
        wsbp.getRequestContext().put(ClientConstants.WSSEC_SIG_KEY_ALIAS, "client" );
        wsbp.getRequestContext().put(ClientConstants.WSSEC_SIG_KEY_PASSWORD, "password" );
        wsbp.getRequestContext().put(ClientConstants.WSSEC_ENC_KEY_ALIAS, "client" );
        wsbp.getRequestContext().put(ClientConstants.WSSEC_ENC_KEY_PASSWORD, "password" );
    SEVERE: WSM-00057 The certificate, client, is not retrieved.
    SEVERE: WSM-00137 The encryption certificate, client, is not retrieved due to exception oracle.wsm.security.SecurityException: WSM-00057 : The certificate, client, is not retrieved..
    SEVERE: WSM-00161 Client encryption public certificate is not configured for Async web service client
    SEVERE: WSM-00005 Error in sending the request.
    SEVERE: WSM-07607 Failure in execution of assertion {http://schemas.oracle.com/ws/2006/01/securitypolicy}wss11-saml-with-certificates executor class oracle.wsm.security.policy.scenario.executor.Wss11SamlWithCertsScenarioExecutor.
    SEVERE: WSM-07602 Failure in WS-Policy Execution due to exception.
    SEVERE: WSM-07501 Failure in Oracle WSM Agent processRequest, category=security, function=agent.function.client, application=null, composite=null, modelObj=FinancialUtilService, policy=oracle/wss11_saml_token_with_message_protection_client_policy, policyVersion=null, assertionName={http://schemas.oracle.com/ws/2006/01/securitypolicy}wss11-saml-with-certificates.
    oracle.wsm.common.sdk.WSMException: WSM-00161 : Client encryption public certificate is not configured for Async web service client
      at oracle.wsm.security.policy.scenario.executor.Wss11SamlWithCertsScenarioExecutor.sendRequest(Wss11SamlWithCertsScenarioExecutor.java:173)
      at oracle.wsm.security.policy.scenario.executor.SecurityScenarioExecutor.execute(SecurityScenarioExecutor.java:545)
      at oracle.wsm.policyengine.impl.runtime.AssertionExecutor.execute(AssertionExecutor.java:41)
      at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.executeSimpleAssertion(WSPolicyRuntimeExecutor.java:608)
      at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.executeAndAssertion(WSPolicyRuntimeExecutor.java:335)
      at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.execute(WSPolicyRuntimeExecutor.java:282)
      at oracle.wsm.policyengine.impl.PolicyExecutionEngine.execute(PolicyExecutionEngine.java:102)
      at oracle.wsm.agent.WSMAgent.processCommon(WSMAgent.java:915)
      at oracle.wsm.agent.WSMAgent.processRequest(WSMAgent.java:436)
      at oracle.wsm.agent.handler.WSMEngineInvoker.handleRequest(WSMEngineInvoker.java:393)
      at oracle.wsm.agent.handler.wls.WSMAgentHook.handleRequest(WSMAgentHook.java:239)
      at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory$JAXRPCTube.processRequest(TubeFactory.java:220)
      at weblogic.wsee.jaxws.tubeline.FlowControlTube.processRequest(FlowControlTube.java:98)
      at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:604)
      at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:563)
      at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:548)
      at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:445)
      at com.sun.xml.ws.client.Stub.process(Stub.java:259)
      at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:152)
      at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:115)
      at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
      at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:135)
      at $Proxy43.uploadFileToUcm(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at weblogic.wsee.jaxws.spi.ClientInstance$ClientInstanceInvocationHandler.invoke(ClientInstance.java:363)
      at $Proxy44.uploadFileToUcm(Unknown Source)
      at com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.FinancialUtilServiceSoapHttpPortClient.invokeUpload(FinancialUtilServiceSoapHttpPortClient.java:111)
      at com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.FinancialUtilServiceSoapHttpPortClient.main(FinancialUtilServiceSoapHttpPortClient.java:86)
    Caused by: oracle.wsm.security.SecurityException: WSM-00161 : Client encryption public certificate is not configured for Async web service client
      at oracle.wsm.security.policy.scenario.processor.Wss11X509TokenProcessor.insertClientEncCertToWSAddressingHeader(Wss11X509TokenProcessor.java:979)
      at oracle.wsm.security.policy.scenario.processor.Wss11X509TokenProcessor.build(Wss11X509TokenProcessor.java:206)
      at oracle.wsm.security.policy.scenario.executor.Wss11SamlWithCertsScenarioExecutor.sendRequest(Wss11SamlWithCertsScenarioExecutor.java:164)
      ... 30 more
    Caused by: oracle.wsm.security.SecurityException: WSM-00057 : The certificate, client, is not retrieved.
      at oracle.wsm.security.jps.WsmKeyStore.getJavaCertificate(WsmKeyStore.java:534)
      at oracle.wsm.security.jps.WsmKeyStore.getCryptCert(WsmKeyStore.java:570)
      at oracle.wsm.security.policy.scenario.processor.Wss11X509TokenProcessor.insertClientEncCertToWSAddressingHeader(Wss11X509TokenProcessor.java:977)
      ... 32 more
    SEVERE: WSMAgentHook: An Exception is thrown: WSM-00161 : Client encryption public certificate is not configured for Async web service client
    File upload failed
    javax.xml.ws.WebServiceException: javax.xml.rpc.JAXRPCException: oracle.wsm.common.sdk.WSMException: WSM-00161 : Client encryption public certificate is not configured for Async web service client
      at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory$JAXRPCTube.processRequest(TubeFactory.java:231)
      at weblogic.wsee.jaxws.tubeline.FlowControlTube.processRequest(FlowControlTube.java:98)
      at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:604)
      at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:563)
      at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:548)
      at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:445)
      at com.sun.xml.ws.client.Stub.process(Stub.java:259)
      at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:152)
      at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:115)
      at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
      at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:135)
      at $Proxy43.uploadFileToUcm(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at weblogic.wsee.jaxws.spi.ClientInstance$ClientInstanceInvocationHandler.invoke(ClientInstance.java:363)
      at $Proxy44.uploadFileToUcm(Unknown Source)
      at com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.FinancialUtilServiceSoapHttpPortClient.invokeUpload(FinancialUtilServiceSoapHttpPortClient.java:111)
      at com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.FinancialUtilServiceSoapHttpPortClient.main(FinancialUtilServiceSoapHttpPortClient.java:86)
    Caused by: javax.xml.rpc.JAXRPCException: oracle.wsm.common.sdk.WSMException: WSM-00161 : Client encryption public certificate is not configured for Async web service client
      at oracle.wsm.agent.handler.wls.WSMAgentHook.handleException(WSMAgentHook.java:395)
      at oracle.wsm.agent.handler.wls.WSMAgentHook.handleRequest(WSMAgentHook.java:248)
      at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory$JAXRPCTube.processRequest(TubeFactory.java:220)
      ... 19 more

  • XML over HTTP using BPEL (not using SOAP)... is this possible?

    Hi there.
    We're trying to expose a BPEL process which will be exclusively triggered from a HTTP POST. The Client Partner Link in the BPEL process models Oracle's Transparent PunchOut standard. This standard is strict XML-over-HTTP, SOAP is not involved.
    However, I am getting issues when I POST the XML to BPEL. It is telling me that it requires a SOAPAction in the header. Again, the design dictates that this is raw XML over HTTP, so we are not to use any SOAP specific header values nor any kind of SOAP wrapper.
    I deployed the sample 'HTTPPostService' process which was delivered with BPEL. I am seeing the same error when I try to POST XML to this process as well. I get a response (in a SOAP wrapper) saying that it wants a SOAPAction in the header. The WSDL used to create this sample process clearly does not bind to SOAP, (there are no mentions of the SOAPAction in the operation, etc) so I do not understand.
    So, my question is: Is is possible to POST raw XML to a BPEL process? Or does BPEL require all processes to follow the SOAP 'protocol' ?
    Thanks for any help.
    Message was edited by:
    [email protected]

    I am also trying to do the same stuff. If i deploy the sample application HttpGetService, will i be able to send the request from browser the way we send typical http get request?
    here is the url which i want to use to invoke Http get BPEL
    http://cybage1:9700/httpbinding/default/HTTPGetService?ssn=10&id=20
    but i am getting following exception
    500 Internal Server Error
    java.lang.IndexOutOfBoundsException: Index: 3, Size: 3
         at java.util.ArrayList.RangeCheck(ArrayList.java:507)
         at java.util.ArrayList.get(ArrayList.java:324)
         at com.collaxa.cube.ws.http.HttpBindingServlet.call(HttpBindingServlet.java:113)
         at com.collaxa.cube.ws.http.HttpBindingServlet.doGet(HttpBindingServlet.java:97)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:798)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:278)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:120)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)

  • [HTTP Sender]How to send different XML using static URL

    Hi all,
    I have a problem, my legacy system send XML messages to SAP XI by HTTP, I know that I need to use HTTP Sender adapter, the problem is that legacy system support only a static URL. I have more than one interface, how could I fix this problem?
    Can I send the XML message to SAP XI without define INTERFACE on URL? How can I handle this?
    Thank in advance,
    Daniel Torres

    Hi Srinivas,
    The legacy system is a java application, that send XML messages to SAP XI server using HTTP protocol. So I just ask to legacy system team to change the application to add <b>server</b>, <b>namespace</b> and <b>interface</b> attributes to the URL querystring.
    So for each XML message you should especify mesage interface that it belongs to. You do it by especifying on URL as message atribute for exemple:
    HTTP://[SAPXISERVER]:80[SYSTEM ID]/sap/xi/adapter_plain?service=[BS SERVICE]&namespace=[MESSAGE INTERFACE NAMESPACE]&interface=[MESSAGE INTERFACE]
    So if you have for example information belows:
    <b>MESSAGE INTERFACE</b> = MI_MYMESSAGEINTERFACE_IB
    <b>MESSAGE INTERFACE NAMESPACE</b> = urn:teste:mymessageinterface
    <b>SERVICE</b> = MY_LEGACY
    <b>SYSTEM ID</b> = 10
    <b>SAPXISERVER</b> = MYSAPXI
    Your url should looks like: http://MYSAPXI:8010/sap/xi/apadter_plain?service=MY_LEGACY&namespace=urn:teste:mymessageinterface &interface=MI_MYMESSAGEINTERFACE_IB
    You should have a different message interface for each XML that you send to SAP XI.
    Message was edited by:
            Daniel Torres
    Message was edited by:
            Daniel Torres

  • How to send te XML data using HTTPS post call & receiving response in ML

    ur present design does the HTTP post for XML data using PL/SQL stored procedure call to a Java program embedded in Oracle database as Oracle Java Stored procedure. The limitation with this is that we are able to do HTTP post; but with HTTPS post; we are not able to achieve because of certificates are not installed on Oracle database.
    we fiond that the certificates need to be installed on Oracle apps server; not on database server. As we have to go ultimately with HTTPS post in Production environment; we are planning to shift this part of program(sending XML through HTTPS post call & receiving response in middle layer-Apps server in this case).
    how i can do this plz give some solution

    If you can make the source app to an HTTP Post to the Oracle XML DB repository, and POST contains a schema based XML document you can use a trigger on the default table to validate the XML that is posted. The return message would need to be managed using a database trigger. You could raise an HTTP error which the source App would trap....

  • Can´t read page containing XML using GET HTTP Document

    Hello forum users, 
    I'm have a problem with the LabVIEW Internet Toolkit and I'm woundering if its me that is doing something wrong or if it is a limitation of the VI. 
    I have a robotic application which comunicates with LabVIEW via internet. 
    the robots sends and receives information via XML which is posted on a webpage. 
    I've been trying to use the LabVIEW Internet Toolkit's GET HTTP Document. while I can obtain HTML data from any webpage when I try to access my webpage containing XML data  I get an Error 66 (connection closed by peer message).
    What is even stranger is that on two distinct occasions the program returned the XML data 
    The page is set up so that when accesed (for example http://192.168.0.102:4950/move.cgi?op=setVel&vel=300). It will define the robot's speed at 300 mm/s and return a page with a simple XML data such as
    <result>true</result>
    When I access the page in using the Get HTTP Document, the request is sent. the robot does the action required but the XML data I need isn't returned. 
    I have applications that do this in C++, python, and MatLab, without a problem and I didn't want to have to resort to low level TCP/IP functions. 
    any suggestions???
    Is this a limitation of the GET HTTP Document VI (it only gets HTML documents)
    Thanks in advanced
    Bruno Noronha
    Certified LabVIEW Associate Developer
    Using LabVIEW 8.6

    Hi, Bruno.
    Maybe my case will help you. I've faced a problem similar than yours. I have a network camera whose API is HTTP based, I mean, I can control it using HTTP requests, i.e. http://myserver/axis-cgi/bitmap/image.bmp
    takes a picture and returns it in bmp format.
    There are other requests that can send data back, i.e.
    http://<servername>/axis-cgi/com/ptz.cgi?query=pos​ition
    retrieves pan and tilt degrees and zoom value (it is a PTZ camera or pan-tilt-zoom, it has two joints that rotate left-right and up-down, and a zoom). In this case, the information is sent in plain text. But I had like you an error 66 in TCP Read.vi.
    After debugging "Get HTTP document.vi" I noticed this information is sent back, but due to the error in "TCP Read.vi", it's not transmitted to the remaining TCP functions in execution order, and finally is lost.
    In order to debug "Get HTTP document.vi" you'll need to unmark "Reentrant execution" and mark "Allow debugging" in VI Properties->Execution.
    The information string enters "TCP Read.vi" by the terminal "buffer in", and leaves it by "buffer out". The next function, "TCP Read Stream.vi" receives also this string, but it's lost in case there's an error in the entry error cluster. So I removed the wire the connects this two TCP VIs, and finally got the string at the "content" terminal.
    It may not be the most orthodox solution, but at least it let me continue working. If anybody has fixed this issue conveniently, it'd would interesting to share it with us.
    Regards,
    Francisco
    PS. I was with an internship in USP (Sao Carlos, Brazil) for three months in 2007. In this time I visited many times Campinas and its university. Nice place and really good moments :
    Hi, Bruno.
    Maybe my case will help you. I've faced a problem similar than yours. I have a network camera whose API is HTTP based, I mean, I can control it using HTTP requests, i.e.
    http://myserver/axis-cgi/bitmap/image.bmp
    takes a picture and returns it in bmp format.
    There are other requests that can send data back, i.e.
    http://<servername>/axis-cgi/com/ptz.cgi?query=pos​ition
    retrieves pan and tilt degrees and zoom value (it is a PTZ camera or pan-tilt-zoom, it has two joints that rotate left-right and up-down, and a zoom). In this case, the information is sent in plain text. But like you I got an error 66 in "TCP Read.vi".
    After debugging "Get HTTP document.vi" I noticed this text information is sent back, but due to the error in "TCP Read.vi", it's not transmitted to the remaining TCP functions in execution order, and finally is lost.
    In order to debug "Get HTTP document.vi" you'll need to unmark "Reentrant execution" and mark "Allow debugging" in VI Properties --> Execution.
    The information string enters "TCP Read.vi" by the terminal "buffer in", and leaves it by "buffer out". The next function, "TCP Read Stream.vi" receives also this string, but it's lost if there's an error in the entry error cluster. So I removed the wire that connects this two TCP VIs, and finally got the string at the "content" terminal.
    It may not be the most orthodox solution, but at least it let me continue working. If anybody has fixed this issue conveniently, it'd would interesting to share it with us.
    Regards,
    Francisco
    PS. I was with an internship in USP (Sao Carlos, Brazil) for three months in 2007. In this time I visited many times Campinas and its university. Nice place, nice people and really good moments

  • Post an XML on HTTPS URL using XI

    Hi All,
    My scenario is SAP SRM - XI - HTTP, where I am posting an XML message from XI to HTTPS URL using HTTP receiver adapter.
    Can you tell me what all step needs to be done to configure HTTP receiver adapter in this case. Also, since I have to post an XML message on HTTPS URL (Which is outside the domain), do I need to apply SSL certificates as well?
    Appreciate your help!!!
    Thanks & Regards,
    Amit

    Hi Amit
    regarding HTTP URl  just check these
    You can use the HTTP adapter. Refer to following SDN TV demo of the HHTP adapter for details steps involved into it.
    https://media.sdn.sap.com/SDNTV/main.asp?mediaId=107
    HTTPS using XMLSPY
    http://help.sap.com/saphelp_nw04/helpdata/en/14/ef2940cbf2195de10000000a1550b0/frameset.htm
    The HTTPS configuration data of the Adapter Engines has to be configured in the SLD.
    More Information in the "SAP Security Guide XI"
    http://help.sap.com/saphelp_nw04/helpdata/de/f7/c2953fc405330ee10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm
    Under Security Check for Inbound Messages, you can specify which HTTP Security Level is to be assumed for incoming messages. You can choose from the following security levels:
    &#9675; HTTP (default value)
    &#9675; HTTPS without client authentication
    &#9675; HTTPS with client authentication
    http://help.sap.com/saphelp_nw04/helpdata/en/14/ef2940cbf2195de10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/65/6a563cef658a06e10000000a11405a/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a/frameset.htm
    <b>Pls reward if useful </b>

Maybe you are looking for

  • Report 2.5 : How to get error

    Hi, I have done the migratation of our application from report 2.0 to report 2.5. When a preview is starting, a window 'Report Progress' appeared with a cancel press button. If I press this button during "Initialilizing report" message, a REP-0099 re

  • Problems installing the latest version of itunes, I've tried everything!

    hello, I logged into my itunes a few days ago and clicked yes to upgrade to the latest verion. Ever since then, itunes will not open, I get a message saying 'itunes has encountered a problem and needs to close' I have searched through the support sit

  • Can't seem to label new calendars?

    After downloading Mountain Lion, I can't seem to label new calendars as anything other than 'untitled'.  Is anybody also having this problem?  Is it a glitch awaiting the next update, or is there a way of getting around this.  Minor issue perhaps, bu

  • ARA: Excluded Roles considered for Risk Analysis???

    Hi, There are certain role which are to be excluded from risk analysis or some business reasons. To achieve this, I have added entries for these roles in SPRO and saved them. Actually, these roles are available in all the systems. Therefore, under "S

  • Copy transparent image to clipboard

    I'm trying to copy an image with a transparent background to the clipboard, but when I paste it in Photoshop (for an example) the background comes out as black. This is my code: import java.awt.*; import java.awt.datatransfer.*; import java.awt.event