MIME header using proxy and WebService

Hi,
I use a proxy in WAS 6.20 to send an XML document as an soap attachment via XI as an Webservice.
Now i need to add a MIME Header field called "filename" to the attachment - how do i do that??
Regards,
Jakob Steen-Petersen

Hi,
the problem doesn't appear to be an ADF problem but that you don't know about Web Service security and the security applied to Siebel Services. Maybe this document http://docs.oracle.com/cd/E14004_01/books/PDF/SSDev.pdf (see page 24 "Siebel Web Service Authentication") helps you with your question. It refers to a custom class that you need to implement
+"NOTE: When you create a Siebel Web service client proxy, you must attach the Siebel Web service handler to the proxy. For more information on attaching SiebelWSHandler, see “Creating a Web Service Client Proxy” on page 132."+
Frank

Similar Messages

  • Connecting to Remote Desktop using proxy and Remote Desktop Gateway?

    I have setup a Remote Desktop Gateway server using Windows Server 2012 R2. I am using the Remote Desktop Gateway as an intermediary between to provide the remote desktop session over 443 since 3389 is blocked at many client locations.
    However, I ran into a problem with a client who's using a web proxy.
    Is is possible to configure Remote Desktop to connect via web proxy? If so, how? If not does any one have any suggestions on how to provide a Remote Desktop session via 443 over proxy for situations where you don't control the client's PC or network? Does RemoteApps
    allow for access via web proxy when using RD Gateway?
    The error message is below:
    Your computer can't connect to the remote computer because the web proxy server requires authentication. To allow unauthenticated traffic to an RD Gateway server through your web proxy server, contact your network administrator.
    Thanks for any help!

    Hi,
    My suggestion is to setup a RD Web Access server and make it available for your clients via proxy.
    Remote Desktop Web Access (RD Web Access)
    http://technet.microsoft.com/en-us/library/cc731923.aspx
    Thanks.
    Jeremy Wu
    TechNet Community Support

  • How to get response header using ActionScript and MXML?

    So... I have a URL like www.example.com/stream/
    I need to make any request to this url and get Http Rewspons header (like this one:
        HTTP/1.0 200 OK
        Content-type: video/x-flv
        Cache-Control: no-cache
    I do not need reponse body at all. After I get header need to emmidiatly close connection to that url (so stop to obtain data from it)
    How to do such thing (I use Flash builder)?

    Hai Mahesh
    Check the following Code
    Data : i_entamiot     LIKE   ehswas_entamiot.
    DATA: gv_batchattributes LIKE bapibatchatt.
    DATA: batchstatus    LIKE bapibatchstatus.
    DATA: lt_bapi_ret        LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
          CALL FUNCTION 'BAPI_BATCH_GET_DETAIL'
            EXPORTING
              material        = i_entamiot-matnr
              batch           = i_entamiot-charg
              plant           = i_entamiot-werkss
            IMPORTING
              batchattributes = gv_batchattributes
              batchstatus     = batchstatus
            TABLES
              return          = lt_bapi_ret.
    Thanks & regards
    Sreenivasulu P

  • Column header customization using rowspan and colspan

    Hi,
    I want to implement customized column header using rowspan and colspan.
    This can be done in html easily but not sure how I can implement in HTML DB.
    Anybody has idea?
    Thanks in advance,
    <table border="1">
    <!-- begin header -->
    <tr>
    <td rowspan="2">COL1</td>
    <td rowspan="2">COL2</td>
    <td rowspan="2">COL3</td>
    <td colspan="3">COL4</td>
    <td colspan="3">COL5</td>
    </tr>
    <tr>
    <td>COL4-1</td>
    <td>COL4-2</td>
    <td>COL4-3</td>
    <td>COL5-1</td>
    <td>COL5-2</td>
    <td>COL5-3</td>
    </tr>
    <!-- begin data -->
    <tr>
    <td>VALUE1</td>
    <td>VALUE2</td>
    <td>VALUE3</td>
    <td>VALUE4-1</td>
    <td>VALUE4-2</td>
    <td>VALUE4-3</td>
    <td>VALUE5-1</td>
    <td>VALUE5-2</td>
    <td>VALUE5-3</td>
    </tr>
    </table>

    Thanks Raj,
    you'd want to do this kind of formatting from your report template. we have a technote out on report templates at...
    http://www.oracle.com/technology/pub/notes/technote_htmldb_format.html
    ...and, so you know, you'd want to enter your custom col header html into the "Before Rows" field of your template definition screen (kinda like step 8 that's above Figure 5 in the technote).
    hope this helps,
    raj

  • End to end scenario using Webservic and SAP XI

    Hi Experts,
                       I have read many blogs regarding Integrating XI using WebService, SOAP, HTTP  for many scenarios but I am still confused and no blogs were clearly saying about the end to end scenario what happens where and how?
    My question is could any one please please please explain me why we are using Webservice if you explain me with an CREDIT CHECK scenario using XI and Webservice that would be very fare.
    Thanks in advance,
    Cheers!!!!

    Hi
    Did you get to check this article,
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9030d1ca-cf07-2b10-8b9c-f027fbc91ffd
    regards
    Sameer

  • How can i use proxy in firefox browser.

    i want to use proxy and its port. but i don't know how to use.so help me as soon as possible

    Type about:config in the address bar. Use the filter to search for proxy and then enter the info for each preference.

  • Connect to Flash Player using proxy

    Notice: My English is bad, so sorry if there wrong words.
    Hi
    I'm connect to internet using proxy. and there's no problems to view webpages in browser. But when i'm trying to open a online flash game like DDTank and Gamezer Billiards it connect without problems but after playing for 5-10 minutes it tell me the connect was lose.
    I'm using Windows 7, i was using Proxifier to connect to Flash Player using proxy and there was no problems.. i can playing any Online Flash Game.
    But now, i have reinstall Windows 7 and install proxifier to connect to Flash Player again but the same problem come again!
    Before i reinstall Windows 7, i googled my problem and i have found the soultion. it's (Install Proxifier and setting it to connect to proxy server 127.0.0.1 and port xxxx) i forgot what should insert in port!
    So this is my problem i want to know how i connect to Flash Player and playing any Online Flash Game without any problems. i have try and insert random numbers in "Port" in proxifier but still the problem.
    i remember it's 9002 or something like that .. but not work maybe i forgot
    also i try to googled my problem again .. but not found that soultion was work for me. maybe i forgot what i googled exactlly.

    Any help?

  • Dif between Proxy and Adaptor

    hi friends,
    i know that SAP 4.7EE onwards SAP is supporting WAS hence no need of using any Adaptor instead we can use Proxy.  I know that both proxy and adaptor are 3rd party tool but
    1)what exactly is the difference between these two?
    is it something like when we want to integrate with SAP system, we will be using PROXY and if it is a NONSAP system we will be using Adaptor.  Plz clarify me, and if any other difference are there plz let me know.
    tnx in advance
    vijaylaxmi

    Hi
    Proxies can be used from WAS 620 or above.
    Proxies is another mode of communication from SAP to external environment and vice versa:
    <i>Proxies encapsulate the creation or parsing of XML messages and the communication with the relevant runtime components required to send or receive the messages.</i>
    Proxies can be used to interact with SAP system using ABAP Proxy and non-SAP system using Java Proxy.
    Regards
    Vijaya
    Message was edited by: vijaya kumari

  • WebService Proxy and x509 cert. authentication

    Does anybody know if JDeveloper 10.1.3 generated WebService proxy by default is trying to use wallet other then keystore?
    We have generated a web service proxy and trying to make a call to a WebService over SSL to the site which require x509 certificate.
    Setting up keystore properties like :
    System.setProperty("javax.net.ssl.keyStore","c://temp//keystore/myKeystore.jks");
    System.setProperty("javax.net.ssl.keyStorePassword","password");
    does not have any affect. And debug shows the following:
    {Thread-10} [1:42:59.187] URLC: (https:twss.trac2es.transcom.mil:443) Connecting ...
    {Thread-10} [1:42:59.187] Conn: Creating Socket: twss.trac2es.transcom.mil:443
    {Thread-10} [1:42:59.328] Conn: using SSL version Oracle
    {Thread-10} [1:42:59.390] Using wallet:
    {Thread-10} [1:42:59.437] Conn:
    And then shows the errors:
    {Thread-10} [1:42:59.437] Unable to connect to URL: https://twss.trac2es.transcom.mil/trac2es-pmr/WebServicePmrSoapHttpPort due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: SSLSessionNotFoundErr
    Any help will be apreciated
    Alex

    Bruce,
    We are trying to setup X509 Client Cert to involve CAC(Smart Card) processing as a part of the initial part of our Jdev 10 or 11g app utilizing jsf/toplink. We are running OAS 10.1.2.0.2 presently but we can move to OAS 10.1.3 or OAS 10.1.4 without any problem.
    I am hearing a lot of references to Jdev and creating the WebService.
    Do you know if I am better off using what comes with OAS for the authentication or using Jdeveloper? If there is any good document you can refer me to we'll greatly appreciate it.
    Thank you in advance for your response.

  • Load Balance Reverse Poxy using ACE and HTTP Header Sticky

    Dear all,
    I have a reverse proxy that makes HTTP and HTTPS requests to an ACE.
    For implement persistence I want to configure HTTP HEADER Stickyness using the X-Forwarder-For information but I don't know:
    How to implement it ( I'l apreciate a little example about it).
    Which values I need for OFFSET and LENGHT fields.
    Can you help me please?
    Thanks a lot!!

    Hi Cesar.
    Thanks a lot for your answer but I think you misunderstand the question or I'm not explaninig very well
    I don't need to insert anything.
    The serverfarm X will be accesed by a reverse proxy. This reverse proxy already inserts the X-Forearder-From header, so the request from the reverse proxy comes with this header to the serverfarm X.
    The problem is that now, the serverfarm X sticky the client based on source IP. This is a wrong behavior becasue all the request comes form the same source (Reverse proxy) and all the load forwards to the same real IP address.
    This is because I want to change the sticky from source IP to HTTP header and looks for the X-Forwarder-For filed.
    Hop it will clarify the question!

  • Wheh to use abap proxy and when to use idoc

    Hi All,
    Please provide some clarifications for the below points :
    What is Sproxy?
    2.     Why we are using Sproxy instead of Idocs
    3.   When we are going Proxy ?
    4.   What are the types of proxy ?
    5.   How to Create to Proxy ?
    6.   What the Difference between SProxy  and Idocs
       7.   What is SOAP file? When we are using SOAP file ?
    Thank you.
    Regards,
    Bharat

    Hi Bharat,
    You seem to have a range of Questions. I will try and answer as many as possible.
    What is Sproxy?
    SPROXY is a transaction [T-Code] on the SAP ECC/CRM etc side where you can see the objects designed in SAP PI ESR and develop its corresponding ABAP code. SPROXY T-Code displays the Service Interface. You can read more about it in the following site:
    **************** - XI - ABAP Proxy communication
      2.     Why we are using Sproxy instead of Idocs
    For Certain implementations Standard IDocs may not be available and it is quite tedious to create a Z- IDoC and therefore it is advantageous to use Proxy. You can read more about this doubt in the following links:
    Choosing to use IDOC standard or ABAP Proxy?
    IDOC vs Proxy
    ABAP Proxy Vs IDOC
    3. When we are going Proxy ?
    When there are no Standard IDocs available. Please refer above links to get an answer for this.
    4.   What are the types of proxy ?
    5.   How to Create to Proxy ?
    Again the following link has the answers for both these questions:
    **************** - XI - ABAP Proxy communication
    6.   What the Difference between SProxy  and Idocs
    Difference is in the way the communication happens. Standard Idocs are already provided and you can use them directly while Proxy you will require to write the code on ECC side. You can refer the following link to understand more:
    Advantage of ABAP proxy over BAPI
    7. What is SOAP file? When we are using SOAP file ?
    I have not heard of anything called SOAP file. SOAP is a protocol used for communication and you can send files as attachment in your SOAP to Any(file/idoc/Soap etc) or vice Versa Interfaces. Infact Proxy itself is SOAP based communication with XI 3.0 Protocol.
    Please explore SCN to know more about the various scenarios. There are endless possibilities in SAP PI.
    Hope this Helps.
    Thanks &  Regards,
    Tejas Bisen

  • Enterprise portal access using reverse proxy using Apache and webdispatcher

    Hi Guys,
    As requirement, we need to give solution to customer about Reverse proxy scenario. I am new to this part.
    What we have think of to use Apache and Web dispatcher.
    I tried to search documents and found some sdn links also but still i am not comfortable to go about.
    Need suggestion and document if anyone has used so far.reverse proxy.
    As basis person, we need to do all ( Apache installation, Apache configuration, Web dispatcher installation and configuration, integration with EP.)
    It will helpful to me if i can get Apache installation, Apache configuration part and integration with EP, or web dispatcher, configuration etc.
    Thanks,
    Deepak

    We used Netscaler for Reverse Proxy implementation and can assure you that network team performed most of the set ups. This was on EP 7.01.
    From BASIS stand point it would be primarily Web Dispatcher Configuration.
    Also refer the links I specified in another thread. There are several scenarios discussed there -
    Re: Post values for userid and passowrd fields in logon page
    http://wiki.sdn.sap.com/wiki/display/BSP/Using+Proxies
    ~ Dhanz

  • Multiplication using header level variable and table field

    Have header level field (conversion rate) I want to use in calculation with a field in table (transaction currency). I can get my variable using
    <?xdoxslt:set_variable($_XDOCTX, 'X', ACCTD_EXCHG_RATE )?> in the header level field
    and <?xdoxslt:get_variable($_XDOCTX, 'X')?> in the field.
    What is the syntax I use to perform a calculation on the variable and the transaction currency field.
    Thanks in advance,
    Nancy Hoye

    Please help me................ still i am having the problem....
    Need to increase the field width on popup and colum height.

  • Header, Line Item and Cache Techniques Using Hashed Tables

    Hi,
    How can I work with header, line item, and a cache techniques using hashed tables?
    Thanks,
    Shah.

    Hi,
    Here is an example to clarify the ideas:
    In general, every time you have a header-> lines structure you have a unique key for the lines that has at least header key plus one or more fields. I'll make use of this fact.
    I'll try to put an example of how to work with header -> line items and a cache technique using hashed tables.
    Just suppose that you need a list of all the material movements '101'-'901' for a certain range of dates in mkpf-budat. We'll extract these fields:
    mkpf-budat
    mkpf-mblnr,
    mseg-lifnr,
    lfa1-name1,
    mkpf-xblnr,
    mseg-zeile
    mseg-charg,
    mseg-matnr,
    makt-maktx,
    mseg-erfmg,
    mseg-erfme.
    I'll use two cache: one for maintaining lfa1 related data and the other to maintain makt related data. Also I'll only describe the data gathering part. The showing of the data is left to your own imagination.
    The main ideas are:
    1. As this is an example I won't use inner join. If properly desingned may be faster .
    2. I'll use four hashed tables: ht_mkpf, ht_mseg, ht_lfa1 and ht_makt to get data into memory. Then I'll collect all the data I want to list into a fifth table ht_lst.
    3. ht_mkpf should have (at least) mkpf's primary key fields : mjahr, mblnr.
    4. ht_mseg should have (at least) mseg primary key fields: mjahr mblnr and zeile.
    5. ht_lfa1 should have an unique key by lifnr.
    6. ht_makt should have an unique key by matnr.
    7. I prefer using with header line because makes the code easier to follow and understand. The waste of time isn't quite significant (in my experience at least).
    Note: When I've needed to work from header to item lines then I added a counter in ht_header that maintains the count of item lines, and I added an id in the ht_lines so I can read straight by key a given item line. But this is very tricky to implement and to follow. (Nevertheless I've programmed it and it works well.)
    The data will be read in this sequence:
    select data from mkpf into table ht_mkpf
    select data from mseg int table ht_mseg having in count all the data in ht_mkpf
    loop at ht_mseg (lines)
    filter unwanted records
    read cache for lfa1 and makt
    fill in ht_lst and collect data
    endloop.
    tables
    tables: mkpf, mseg, lfa1, makt.
    internal tables:
    data: begin of wa_mkpf, "header
    mblnr like mkpf-mblnr,
    mjahr like mkpf-mjahr,
    budat like mkpf-budat,
    xblnr like mkpf-xblnr,
    end of wa_mkpf.
    data ht_mkpf like hashed table of wa_mkpf
    with unique key mblnr mjahr
    with header line.
    data: begin of wa_mseg, " line items
    mblnr like mseg-mblnr,
    mjahr like mseg-mjahr,
    zeile like mseg-zeile,
    bwart like mseg-bwart,
    charg like mseg-charg,
    matnr like mseg-matnr,
    lifnr like mseg-lifnr,
    erfmg like mseg-erfmg,
    erfme like mseg-erfme,
    end of wa_mseg,
    data ht_mseg like hashed table of wa_mseg
    with unique key mblnr mjahr zeile
    with header line.
    data: begin of wa_lfa1,
    lifnr like lfa1-lifnr,
    name1 like lfa1-name1,
    end of wa_lfa1,
    data ht_lfa1 like hashed table of wa_lfa1
    with unique key lifnr
    with header line.
    data: begin of wa_makt,
    matnr like makt-matnr,
    maktx like makt-maktx,
    end of wa_makt.
    data: ht_makt like hashed table of wa_makt
    with unique key matnr
    with header line.
    result table
    data: begin of wa_lst, "
    budat like mkpf-budat,
    mblnr like mseg-mblnr,
    lifnr like mseg-lifnr,
    name1 like lfa1-name1,
    xblnr like mkpf-xblnr,
    zeile like mseg-zeile,
    charg like mseg-charg,
    matnr like mseg-matnr,
    maktx like makt-maktx,
    erfmg like mseg-erfmg,
    erfme like mseg-erfme,
    mjahr like mseg-mjahr,
    end of wa_mseg,
    data: ht_lst like hashed table of wa_lst
    with unique key mblnr mjahr zeile
    with header line.
    data: g_lines type i.
    select-options: so_budat for mkpf-budat default sy-datum.
    select-options: so_matnr for mseg-matnr.
    form get_data.
    select mblnr mjahr budat xblnr
    into table ht_mkfp
    from mkpf
    where budat in so_budat.
    describe table ht_mkpf lines g_lines.
    if lines > 0.
    select mblnr mjahr zeile bwart charg
    matnr lifnr erfmg erfme
    into table ht_mseg
    from mseg
    for all entries in ht_mkpf
    where mblnr = ht_mkpf-mblnr
    and mjahr = ht_mjahr.
    endif.
    loop at ht_mseg.
    filter unwanted data
    check ht_mseg-bwart = '101' or ht_mseg-bwart = '901'.
    check ht_mseg-matnr in so_matnr.
    read header line.
    read table ht_mkpf with table key mblnr = ht_mseg-mblnr
    mjahr = ht_mseg-mjahr.
    clear ht_lst.
    note : this may be faster if you specify field by field.
    move-corresponding ht_mkpf to ht_lst.
    move-corresponding ht_mseg to ht_lst.
    perform read_lfa1 using ht_mseg-lifnr changing ht_lst-name1.
    perform read_makt using ht_mseg-matnr changing ht_lst-maktx.
    insert table ht_lst.
    endloop.
    implementation of cache for lfa1.
    form read_lfa1 using p_lifnr changing p_name1.
    read table ht_lfa1 with table key lifnr = p_lifnr
    transporting name1.
    if sy-subrc <> 0.
    clear ht_lfa1.
    ht_lfa1-lifnr = p_lifnr.
    select single name1
    into ht_lfa1-name1
    from lfa1
    where lifnr = p_lifnr.
    if sy-subrc <> 0. ht_lfa1-name1 = 'n/a in lfa1'. endif.
    insert table ht_lfa1.
    endif.
    p_name1 = ht_lfa1-name1.
    endform.
    implementation of cache for makt
    form read_makt using p_matnr changing p_maktx.
    read table ht_makt with table key matnr = p_matnr
    transporting maktx.
    if sy-subrc <> 0.
    ht_makt-matnr = p_matnr.
    select single maktx into ht_matk-maktx
    from makt
    where spras = sy-langu
    and matnr = p_matnr.
    if sy-subrc <> 0. ht_makt-maktx = 'n/a in makt'. endif.
    insert table ht_makt.
    endif.
    p_maktx = ht_makt-maktx.
    endform.
    Reward points if found helpfull...
    Cheers,
    Siva.

  • How to get multiple header lines dynamically and also data hierarchically using ALV

    Hi experts,
    My requirement is shown below.. I neet to compare prices of service RFQs. So i design as below..
    I want to get RFQ number ,Vendor code and vendor name in ALV header and also other headings which static. I think dynamic table is the best way to load RFQ numbers to header.. But problem is i'm unable to load two lines dynamically using ALV.
    CALL METHOD cl_alv_table_create=>create_dynamic_table
         EXPORTING
           i_style_table             = 'X'
           it_fieldcatalog           = gt_dyn_fcat
         IMPORTING
           ep_table                  = gt_dyn_table
         EXCEPTIONS
           generate_subpool_dir_full = 1
           OTHERS                    = 2.
    I use this function and pass RFQ no and vendor code in two rows but it output gt_dyn_table in same row.. How to print them as given image???
    Then in data I want to get service items and according to the external service number divide them to groups and get sub totals and also finally total of all sub categories to compare each RFQs price to  compare.. There i think ALV hierarch can use. but not sure I can use with dynamic table(in header use it).
    What is thee best way to get the output in my image..??
    Thanks..
    Pavi

    Hi experts,
    My requirement is shown below.. I neet to compare prices of service RFQs. So i design as below..
    I want to get RFQ number ,Vendor code and vendor name in ALV header and also other headings which static. I think dynamic table is the best way to load RFQ numbers to header.. But problem is i'm unable to load two lines dynamically using ALV.
    CALL METHOD cl_alv_table_create=>create_dynamic_table
         EXPORTING
           i_style_table             = 'X'
           it_fieldcatalog           = gt_dyn_fcat
         IMPORTING
           ep_table                  = gt_dyn_table
         EXCEPTIONS
           generate_subpool_dir_full = 1
           OTHERS                    = 2.
    I use this function and pass RFQ no and vendor code in two rows but it output gt_dyn_table in same row.. How to print them as given image???
    Then in data I want to get service items and according to the external service number divide them to groups and get sub totals and also finally total of all sub categories to compare each RFQs price to  compare.. There i think ALV hierarch can use. but not sure I can use with dynamic table(in header use it).
    What is thee best way to get the output in my image..??
    Thanks..
    Pavi

Maybe you are looking for