Soap Protocol Question

Hi all,
  We are using soap protocol to send the message to portal webservice.In the incoming payload one of the fields have password as the data.Now this is of text type ,so the password is visble in the message.My requirement is to encrypt/decrpyt this field so that the actual password content will not be visible in the payload.Is there any way by which it can be handled via soap adapter.
Thanks,
Sowmya

Sowmya,
You may need to ABAP or java mapping for this, because this is not supported in graphical mapping. Can you please see this link and the blogs in it for some understanding:
Re: encrypting and decrypting the field
Regards,
---Satish

Similar Messages

  • Java XML / SOAP Newbie Question

    Hello all, I am building a middleware application which needs to import data from a legacy system for processing. I already have a web-based user interfaces and a text file import mechanism to import the data. I would now like to move on to allow XML input, which is new to me.
    My question is... what is the best approach? I know that SOAP is the latest / greatest XML standard, but I've also read that it's purpose is more to remotely call methods than send data. What I'm looking for is the best / easiest platform-independent, protocol standard to send data for processing. Is plain XML better possibly?
    Would I just need to implement a server to listen for the messages? Is there an easy way to create / send test messages?
    Sorry for all the questions, but any help or insight will be appreciated.
    Thanks.

    If you just have plain data and you're not concerned with remoting then plain XML is better. SOAP is a way of serializing objects into XML and carries additional overhead if you're not taking advantage of it.

  • Line protocol question

    Okay, this might seem like a really stupid question but it's got me stumped.
    What the hell does "line protocol down" mean and how the hell do I fix it? I'm using a Cisco 2500 series router, and it's occuring on serial port 0 on BOTH routers. I've checked, double checked, re double checked, and triple checked (quadruple checked?) the wiring and the physical wiring is fine...
    Can anyone provide any insights to this at all for me? I'd greatly appreciate it.
    TIA

    The line protocol state (up or down) reflects the layer 2 status of the interface. If your serial interface is saying that its state is up/down it means that it knows that it is plugged into something on the interface but that there is a layer 2 connectivity problem.
    The nature of how the router determines the layer 2 status depends somewhat on the type of interface. On Serial interfaces the determination is based on the keepalives. So basically what the router is saying is that keepalives are not working on the router. There are a couple of things that can prevent keepalives on the serial interface, such as different protocols being configured (one end may be Cisco HDLC and the other end is PPP). If it was Frame Relay a mismatch of LMI type may cause it. Given your comment about using 2500 and that both sides are showing protocol down I am going to guesss that you have the routers configured back to back. And I am going to guess that you have not configured clock rate on whichever router has the DCE serial cable connected. When routers are back to back and do not connect to provider equipment, you need one of them to generate clocking (and it needs to be the one with the DCE cable). So check your cables, find which one is DCE, and configure clock rate on that router.
    HTH
    Rick

  • SOAP Attachment question

    Hi!
    I've got a question about SOAP Attachment. It is possible to use "Datahandler" class to attach a file. But is it possible to put the datahandler in a business class ( as an attribute of the class), and the business class is a parameter of the service?
    Thank you for your help!
    Best Regards,
    Nguyen Gilbert

    I tried making the DataHandler object as a attribute of the parameter object and there were some exceptions. I think weblogic does not allow that.

  • Unable to connect to Salesforce using webservices (SOAP protocol)

    Hi Team,
    Our requirement is to consume Sales force WSDL (SOAP) with out PI involvement. We are having two WSDL's, one for Login to Salesforce and second one to exchange data.
    We have created consumer service and logical port's. A proxy class with few methods is generated as expected.
    The first consumer service for login is working fine. When we login, it returns the session ID which is valid for 2 hours. We tried to pass the session ID using the below code and then call the second service. It then gives error 'INVALID_SESSION_ID: Invalid Session ID found in SessionHeader: Illegal Session'.
    Could you please let us know what am I missing? Is my approach correct?
    Thanks in advance!
    I have gone through the below links:
    Web Services Security using ABAP Proxies
    Consume SOAP WebService by SAP and add custom Header - Java Development - SCN Wiki
    DATA:   lr_login            TYPE REF TO zlogin,
            lr_action           TYPE REF TO zexc,
            ls_request          TYPE        zlogin_request,
            ls_response         TYPE        zlogin_response,
            ls_header           TYPE REF TO if_wsprotocol_ws_header,
            lr_system_fault     TYPE REF TO cx_ai_system_fault,
            lr_flight_not_found TYPE REF TO cx_sxidag_flight_not_found,
            lv_name             TYPE        string,
            lv_namespace        TYPE        string,
            lr_ixml             TYPE REF TO if_ixml,
            lr_xml_document     TYPE REF TO if_ixml_document,
            lr_xml_root         TYPE REF TO if_ixml_element,
            lr_xml_element      TYPE REF TO if_ixml_element,
            lr_xml_node         TYPE REF TO if_ixml_node,
            lv_xstring          TYPE        xstring,
            lv_string           TYPE        string,
            ls_disp_req         TYPE        zexc_reque,
            ls_disp_resp        TYPE        zexc_respo.
    TRY.
        CREATE OBJECT lr_login
          EXPORTING
            logical_port_name = 'ZLOGIN_PORT'.
      CATCH cx_ai_system_fault INTO lr_system_fault.
    ENDTRY.
    ls_request-username = 'zzz.abc.com'.
    ls_request-password = 'abcde123'.
    TRY.
        CALL METHOD lr_login->login
          EXPORTING
            input  = ls_request
          IMPORTING
            output = ls_response.
      CATCH cx_ai_system_fault INTO lr_system_fault.
        WRITE:/ 'System Fault'(sye). WRITE:/ lr_system_fault->errortext. EXIT.
      CATCH zsfcx_login_fault .
        WRITE:/ 'Login Fault'. EXIT.
      CATCH zsfcx_unexpected_error_fault .
        WRITE:/ 'Unexpected Error'. EXIT.
      CATCH zsfcx_invalid_id_fault .
        WRITE:/ 'Invalid Fault'. EXIT.
      CATCH cx_ai_application_fault .
        WRITE:/
      'Application fault'(apf).
        EXIT.
    ENDTRY.
    IF ls_response-result-session_id IS NOT INITIAL.
      TRY.
    * create instance
          CREATE OBJECT lr_action
            EXPORTING
              logical_port_name = 'ZEXC_PORT'.
    * get ws_header protocol
          ls_header ?= lr_action->get_protocol('IF_WSPROTOCOL_WS_HEADER').
          CONCATENATE
    '<Soap:Header>'
    '<ns2:session xmlns:ns2="https://salesforce.com/services/Soap/c/00Dc0000003ue9S">'
    '<SessionID>'ls_response-result-session_id'</SessionID>'
    '</ns2:session>'
    '</Soap:Header>'
           INTO lv_string.
    * convert to xstring
          lv_xstring = cl_proxy_service=>cstring2xstring( lv_string ).
          IF NOT lv_xstring IS INITIAL.
    * create ixml dom document from xml xstring
            CALL FUNCTION 'SDIXML_XML_TO_DOM'
              EXPORTING
                xml           = lv_xstring
              IMPORTING
                document      = lr_xml_document
              EXCEPTIONS
                invalid_input = 1
                OTHERS        = 2.
            IF sy-subrc = 0 AND NOT lr_xml_document IS INITIAL.
              lr_xml_root = lr_xml_document->get_root_element( ).
              lr_xml_element ?= lr_xml_root->get_first_child( ).
    * add header element by element to soap header
              WHILE NOT lr_xml_element IS INITIAL.
                lv_name = lr_xml_element->get_name( ).
                lv_namespace = lr_xml_element->get_namespace_uri( ).
                ls_header->set_request_header( name = lv_name namespace = lv_namespace dom = lr_xml_element ).
                lr_xml_element ?= lr_xml_element->get_next( ).
              ENDWHILE.
            ENDIF.
          ENDIF.
    * call outbound
          ls_disp_req-data-account_phone        = '123-456-7890'.
          ls_disp_req-data-billing_city         = 'HOUSTON'.
          ls_disp_req-data-billing_postal_code  = '77070'.
          ls_disp_req-data-billing_state        = 'TX'.
          ls_disp_req-data-billing_street       = 'Willow Chase'.
          ls_disp_req-data-check                = '34567'.
          ls_disp_req-data-reason_code          = 'Test'.
          ls_disp_req-data-salutation           = 'Mr.'.
          ls_disp_req-data-subject              = 'Amount not received'.
          TRY.
              CALL METHOD lr_action->insert_apdispute_case
                EXPORTING
                  input  = ls_disp_req
                IMPORTING
                  output = ls_disp_resp.
            CATCH cx_ai_system_fault INTO lr_system_fault.
              WRITE:/ 'System Fault'(sye). WRITE:/ lr_system_fault->errortext. EXIT.
            CATCH cx_ai_application_fault .
              WRITE:/
            'Application fault'(apf).
              EXIT.
          ENDTRY.
        CATCH cx_ai_system_fault INTO lr_system_fault.
          WRITE:/ 'System Fault'(sye). WRITE:/ lr_system_fault->errortext. EXIT.
        CATCH cx_ai_application_fault .
          WRITE:/
        'Application fault'(apf).
          EXIT.
      ENDTRY.
    ENDIF.
    Regards,
    Aravind

    Hi All, The issue was with the data that is being passed to lv_string using concatenation. These are case sensitive. Replaced SessionID in concatenate statement with sessionId and my issue is resolved.

  • Modal JDialog protocol question

    Hi!
    Let's say I have a properties dialog, and it has an ok button and a cancel button.
    If the user presses the ok button, then the parent form knows that there are a bunch of properties it needs to update based on what was set on the properties dialog.
    My question is this:
    What is the protocol in Java for letting the parent form know whether the "ok" or "cancel" button was clicked?
    I'm used to other languages like C# for instance, where you have an enumeration called DialogResult. You can set any dialog's DialogResult value to OK, Cancel, etc etc. Then the parent form knows exactly what happened.
    I can't seem to find any uniform way of handling this in Java - so I was wondering if I may have overlooked something.
    Thanks for any replies - and please remember, I'm looking for a standard here, not for suggestions. I've come up with my own ways already - but would just like to be more consistent!
    Thanks a bunch!

    Joel,
    This is what I know of JDialog. The calling thread will continue execution after the show() execution point right after the Dialog is disposed. Normally I use one attibute in my custom JDialog which is called cancelled and is set when the user presses the cancel button or disposes the window. In code this would be something like this:
    boolean modal = true;
    CustomDialog cd = new CustomDialog(modal);
    cd.show();
    // User changes preferences in dialog, thread waits
    if(cd.cancelled)
    // User pressed cancel
    else
    // save settings
    greetz

  • SOAP protocol and XI Protocol

    can any one explore the functions of SOAP and XI protocol in proxies?????????

    Hi Gabriel,
    Check these links
    http://searchnetworking.techtarget.com/sDefinition/0,,sid7_gci212839,00.html
    SOAP:- /people/padmankumar.sahoo/blog/2005/02/15/an-overview-of-soap
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    Regards
    Biplab

  • Address Resoultion Protocol Questions.

    HI
    If my router has two different networks connected to two ethernet interfaces and if a host in n/w 1 wants to communicate with a host in n/w 2 how the Address resolution protocol works in the below condition [Assume that all the arp tables of all the hosts and router are empty.]
    1. THE DEFAULT GATEWAYS FOR ALL THE HOSTS IN BOTH THE NETWORKS ARE SET TO THEMSELVES.
    My questions
    1. Will the host in n/w 1 will arp for itself or will it arp for the router or will it arp for the destination. [Remember both the netwros are different]
    Please explain the setp by step process. Many thanx

    in this case if H1 itself is a gateway and it want to reach H2, source MAC address will be H1s MAC add and destination MAC address will be MAC addr of H2 or MAC addr of intermediate gateway between H1 and H2 if any depending on the below cases.
    1. If H1 is directly conected to H2, then when H1 will send ARP broadcast, H2 will send its MAC addr in ARP reply packet.
    2. if there is a Layer 3 device acting as gateway between H1 and H2, then H1 will send ARP broadcast message and gateway of H1 will respond with ARP reply with its MAC address because L3 device won't forward broadcast packets to another network. H1 can use this MAC addr to build frame to send it across to H2.
    below links can give you overview of default gateway concept.
    http://www.microsoft.com/technet/community/columns/cableguy/cg0903.mspx
    http://en.wikipedia.org/wiki/Default_gateway
    http://www.inetdaemon.com/tutorials/internet/ip/default_gateway.shtml
    hope this helps ..

  • File to SOAP scenario question???

    Hi,experts
    let's take source system is A,target system is B.
    I have a File to soap scenario using BPM,the scenario is send file request(from A) to PI,PI will be communicating target system(B) with soap(syn).After that, PI receives the soap response and send the response data to A.
    Now the requirement is, we need to archive the file request msg(before sending to B) to a folder and archive the response msg(response from B) to a folder as well.how could it be achived?
    any help will be much appreciated!
    Thanks

    Hello Rajesh_V2009 ,
    I am trying to implement exactly the same pi scenario, but having some problems :
    File -> file adapter -> ccBPM -> soap receiver adapter -> web service request -> web service response -> ccBPM -> output file adapter.
    The web service that I call works file from wsnavigator. I have created all the design and configuration objects
    needed for the scenario.
    I place a file with following contents:
    <?xml version="1.0" encoding="utf-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SOAP-ENV:Body>
    <pns:GetSetNameWS xmlns:pns="urn:file2soap2fileWSVi">
    <pns:name1>ajeet</pns:name1>
    <pns:name2>phadnis</pns:name2>
    </pns:GetSetNameWS>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    When I look at the process monitor I get this:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!-- Receiver Determination
    -->
    - <SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SAP:Category>XIServer</SAP:Category>
    <SAP:Code area="RCVR_DETERMINATION">CX_RD_PLSRV</SAP:Code>
    <SAP:P1>Problem while determining receivers using interface mapping: No operation with XML root tag http://schemas.xmlsoap.org/soap/envelope/.Envelope exists.</SAP:P1>
    <SAP:P2 />
    <SAP:P3 />
    <SAP:P4 />
    <SAP:AdditionalText />
    <SAP:Stack>Error when determining the receiver: Problem while determining receivers using interface mapping: No operation with XML root tag http://schemas.xmlsoap.org/soap/envelope/.Envelope exists. Problem while determining receivers using interface mapping: No operation with XML root tag http://schemas.xmlsoap.org/soap/envelope/.Envelope exists. No operation with XML root tag http://schemas.xmlsoap.org/soap/envelope/.Envelope exists.</SAP:Stack>
    <SAP:Retry>M</SAP:Retry>
    </SAP:Error>
    I have no clue about this error. Can you help me with this ?
    If yes I can send you more details, if you liked 
    Hoping to get help from you,
    Cheers,
    Ajeet Phadnis

  • Feed:// protocol question

    hi im trying to read RSS feeds and i am kind of new. i just basically need to parse information from the feed to use in a app, then process the data and spit it out to the user.
    i have setup jdom, and ROME RSS/atom reader, and its all working, except the rss feeds i need to read are the feed:// protocol. it seems to not like this... am i doing something wrong? perhaps im confused on rss feeds from a generic standpoint as well...
    any help, suggestions appreciated

    The line protocol state (up or down) reflects the layer 2 status of the interface. If your serial interface is saying that its state is up/down it means that it knows that it is plugged into something on the interface but that there is a layer 2 connectivity problem.
    The nature of how the router determines the layer 2 status depends somewhat on the type of interface. On Serial interfaces the determination is based on the keepalives. So basically what the router is saying is that keepalives are not working on the router. There are a couple of things that can prevent keepalives on the serial interface, such as different protocols being configured (one end may be Cisco HDLC and the other end is PPP). If it was Frame Relay a mismatch of LMI type may cause it. Given your comment about using 2500 and that both sides are showing protocol down I am going to guesss that you have the routers configured back to back. And I am going to guess that you have not configured clock rate on whichever router has the DCE serial cable connected. When routers are back to back and do not connect to provider equipment, you need one of them to generate clocking (and it needs to be the one with the DCE cable). So check your cables, find which one is DCE, and configure clock rate on that router.
    HTH
    Rick

  • Soap mapping question

    Gurus,
    i need to send a request to a third party app as a soap message, then map the response to an idoc, how do we do it..any ideas.
    Has this been done..before, all tips are rewarded
    Venkat

    I need more information about your scenario, but i know that you need to call a WebService using SOAP (a syncronous call) and then, call a IDoc with the result of the SOAP call, right?
    So, the mapping program between the sender(?) and the receiver(IDoc), you create a Java Mapping that calls the WebService with a code like this:
    try {
                             StringBuffer sb = new StringBuffer();
                             sb.append(your_POST_data_here);
                             System.setProperty("javax.net.ssl.trustStore", "C:\j2sdk1.4.2_14\jre\lib\security\truststore"); //Set the keystore for the ssl connection
                             int port = 443;
                             String hostname = "your_third_party_hostname";
                             SocketFactory socketFactory = SSLSocketFactory.getDefault();
                             Socket socket = socketFactory.createSocket(hostname, port);
                             // Create streams to securely send and receive data to the server
                             InputStream in = socket.getInputStream();
                             OutputStream out = socket.getOutputStream();
                             // Read from in and write to out...
                             out.write(sb.toString().getBytes("US-ASCII"));
                             out.flush();
                             int character = in.read();
                             sb = new StringBuffer();
                             while (character != -1) {
                                   sb.append( (char) character);                              character = in.read();
                             String ret = sb.toString(); //this is your return
                             // Close the socket
                             in.close();
                             out.close();
                   } catch(IOException e) {
                        e.printStackTrace();
    The code above calls the webservice using socks.
    All you have to do is map the xml using DOM or SAX.

  • Soap toolkit question

    Hi
    Can I use the soap toolkit provided by WLS 6.1 to generate a SOAP message without
    having any webservice in mind - what I want is just generate a SOAP message with
    some data - without having to call a webservice - ie I do not have any wsdl on the
    client side.
    thanks
    Anamitra

    http://edocs.bea.com/wls/docs61/webServices/advanced.html#1001373
    regards,
    -manoj
    "Anamitra" <[email protected]> wrote in message
    news:3cceb0f6$[email protected]..
    >
    Hi
    Can I use the soap toolkit provided by WLS 6.1 to generate a SOAP messagewithout
    having any webservice in mind - what I want is just generate a SOAPmessage with
    some data - without having to call a webservice - ie I do not have anywsdl on the
    client side.
    thanks
    Anamitra

  • Screenshare protocol question...

    Does screenshare treat the screen like a normal video stream? Or does it use the RFB protocol?

    None of the above
    It's a video stream with (I think) some magic on the encoding side, when you receive it is a standard video stream (vp6).

  • SOAP Adapter Question

    My scenario is PI receives an xml file from ECC and sends it out in a SOAP call to a third party.
    I have added the WSDL as an external definition and performed all the setup to call the webservice and pass data.  That all works fine.  My issue is I need to send the xml I received from ECC to this third party.  The WSDL contains 5 items, 4 text fields and a payload.  The payload should contain the entire xml received from ECC.
    How do I get this xml into the payload field?  In my message mapping, I map the first 4 fields, but for the payload field, I'm not sure what to do.  Any ideas?
    Larry

    You need to use XSLT mapping to achive this. getting the entire XML into one field in the target field.
    If you are using 7.1, please refer SAP PI 7.1 Mapping Enhancements Series: Copy XML Subtree
    Edited by: Rajesh on Nov 23, 2011 4:39 PM
    Edited by: Rajesh on Nov 23, 2011 4:43 PM

  • WebLogic SOAP - newbie question

    Hi all I am new to WebLogic. I did some research a while back and discovered that WebLogic did not support any SOAP definition and that if you needed to use .Net from a windows platform your only option was to write a DotTux Tuxedo and .NET integration communication layer.
    Is this still the case or does WebLogic/Tuxedo support a SOAP standard?
    Thanks,
    -john

    Here is what I read from the link
    http://edocs.bea.com/tuxedo/tux81/overview/webacces.htm
    Under the heading -
    Exposing BEA Tuxedo Services as Web Services
    Efforts are currently underway to expose existing BEA Tuxedo ATMI and CORBA services as Web services through BEA WebLogic Server. From a consumer point of view, Web services are program components—objects with encapsulated functionality—that are registered on Internet servers to be used as-is or in combination with Web-based applications. Web services may vary from simple programs to major components of a complex application.
    As you can see it says efforts are currently underway...
    Thanks for the link I will read it.
    -john

Maybe you are looking for

  • Getting field  and table

    hai all Is there any easy method to find the table name and field name from short description for a particular field? (i had only short description of a particular field..i need field name and table name ) kindly help rewards will be given for useful

  • Delete message queues

    I had iconnection problems between one of the POA and MTA and I restored this connection after a couple days. now I can see the poa open on the MTA bus the message between the post-offices are not working. I thinking the delete the message queue beca

  • Yosemite: problem with external disk

    Hello, After installing Yosemite I cannot use Time Machine anymore because the external disk (WD My Passport Edge) cannot be mounted. Does someone know what to do? Thanks in advance for your help. The Disk Utility Program shows the external disk howe

  • Trying to configure ECID propogation in tuxedo 12.1

    I get a couple of errors/warnings: devvm04:/home/hems/prod/appdir>grep 20066 ULOG.080113 112847.devvm04!SQLSERV.20066.2067162560.0: 08-01-2013: Tuxedo Version 12.1.1.0, 64-bit 112847.devvm04!SQLSERV.20066.2067162560.0: LIBTUX_CAT:1470: WARN: Function

  • HR tables that store hours worked on holidays

    Hi All, I am trying to calculate the number of hours an employee worked on holidays in a payroll period. Can anyone give me the name of tables in HR that store the number of hours worked on hoildays? Thanks in Advance.. Sonali.