SOAP Adapter Help Needed

Hi,
I have a scenario where i need to call the Web Service on the Traget Side. I know how to configure the SOAP Adapter to do this but i am facing an issue here.
The Webservice Expects the SOAP request to be in the form. I don't know how to bring this authentication info the header. Can any body please suggest
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:RIM_INT_AD_LDAP_API_Organizations">
   <soapenv:Header>
      <urn:AuthenticationInfo>
         <urn:userName>?</urn:userName>
         <urn:password>?</urn:password>
         <!Optional:>
         <urn:authentication>?</urn:authentication>
         <!Optional:>
         <urn:locale>?</urn:locale>
         <!Optional:>
         <urn:timeZone>?</urn:timeZone>
      </urn:AuthenticationInfo>
   </soapenv:Header>
   <soapenv:Body>
<SOAP BODY HERE>
</soapenv:Body>
</soapenv:Envelope>

Hi,
Can anybody suggest how to insert a message type in the Header of SOAP request going out. I need to insert Authentication Info Structure in the Header.
Thanks,
Kulwant

Similar Messages

  • Adapter Help needed desperately

    Dear All,
    I am attempting to create a new Adapter with integration 2.1 and am hitting a
    brick wall when attempting to create the WAR/JAR/RAR files needed before deployment
    (I think !!!). Has anyone got an example out there of what I need -
    Kind regards
    Tony

    Dear Tony,
    Have you read the ADK guide? See
    http://edocs/wlintegration/v2_1/devadapt/index.htm
    Best regards,
    Timothy Potter
    Senior Software Engineer
    eCommerce Server Division
    BEA Systems, Inc.
    "Chris Stead" <[email protected]> wrote in message
    news:[email protected]..
    Tony,
    There are several sample adapters that ship with WLI 2.1. You can findthem in your
    $WLI_HOME\adapters directory. Specifically, they are the DBMS, EMAIL andSAMPLE
    adapters. We use the ant utility to build and package our adapters. Youwill want to
    look at the build.xml for each adapter to see what we do to package theadapter for
    WLS.
    $WLI_HOME\adpaters\dbms\project\build.xml
    $WLI_HOME\adpaters\email\project\build.xml
    $WLI_HOME\adpaters\sample\project\build.xml
    Cheers,
    Chris
    Tony MAy wrote:
    Dear All,
    I am attempting to create a new Adapter with integration 2.1 and am
    hitting a
    brick wall when attempting to create the WAR/JAR/RAR files needed beforedeployment
    (I think !!!). Has anyone got an example out there of what I need -
    Kind regards
    Tony

  • HTTP to SOAP scenario, help needed.

    Hi friendz,
    I am tyring to do <b>HTTP 2 Soap scenario</b>, so can any one tell me how to download <b>"wsdl" file </b>
    i know how to import an existing <b>wsdl file</b>, but i want to know how we ll download, the <b>file from webservices</b>. i hope u understood my question.
    If possible , can any one send me the entire steps for the above scenario, please send me the pdf file to my email: <b>[email protected]</b>
    regards,
    Satish.

    so, you are going to consume webservice.  First use the wsdl url in the browser and save the content as a file. After saving, go to ESR , use external definition tab and save over there. In IR, at the soap receiver side you have to configure target URL and user credentials over there.
    If you have more questions, Please let us know. Hope I answered your question

  • Adapter specific attributes - SOAP Adapter

    Hi,
    I am trying to use the adapter specific attributes of the receiver SOAP adapter. But I am not able to view the Dynamic configurations in sxi_monitor corresponding to this message. Any clue why!?
    I read through the SOAP adapter help on help.sap.com,
    <i>http://help.sap.com/saphelp_nw2004s/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm</i>
    Here it says:
    <i>If you want to use header fields, set the relevant indicator for Variable Header. The technical names for the fields are XHeaderName1, XHeaderName2, XHeaderName3. The parameters are embedded in the HTTP request under the names you enter here.</i>
    But I donot find an option where I can enter the names. Am I missing something here?
    Regards,
    Smitha.

    Hi Smitha,
    I did not try to use adapter-specific attributes with SOAP-adapter, but with mail-adapter. The documentation is quite similar, so I excpect similar results...
    So as far as I understood, the parameters XHeaderName1, ... etc are for dynamic extension of the set of adapter-specific attributes. For example, if you want to add some more information in the message header, you can program an adapter module and you have now a guide how to name the additional attributes.
    Usually, the "standard" adapter-specific attributes are starting with "S" (Sender) or "T" (Receiver). You can find the names in the documentation of the SOAP-adapter.
    In order to use the adapter-specific attributes, you have to check both indicators (adapter-specific attributes, variable transport binding). If this still doesn't work, you should use OSS. In my scenario (mail adapter) this didn't work, too. The reason was, that there was a bug in the adapter metadata (Integration Repository) of SAP BASIS. There was a SAP note, where I could download the correct adapter metadata. Maybe you can find a SAP note for the SOAP Adapter.
    Although this is probably not the final solution, I hope this guides you a step further.
    Regards,
    Torsten

  • Need help in troubleshooting communication channel using soap adapter

    Hello friends
    I have a simple scenario.
    I have created 2 communication channels, one for searching a record and another for updating it with a new value
    Both uses SOAP as sender and RFC as receiver with a Standard BAPI.
    Everything was working ok, but without any changes, all of a suddent I am not being able to update the values and when I checked RWB, I see for Update SOAP Adapter Channel, the messages say
    Request received for a channel
    but in a second it says 'Call Failed'.
    I haven't made any changes.
    I even tried restarting XI and ERP servers but still getting the same error.
    Any suggestions or feedback will be greatly appreciated.
    Thanks
    Ram

    THE PROBLEM WAS WITH A JOB GETTING HUNG IN THE QUEUE AND I HAD TO FORCIBLY KILL THAT. THAT TOOK CARE OF THE PROBLEM

  • Certificate based authentication with sender SOAP adapter. Please help!

    Hi Experts,
       I have a scenario where first a .Net application makes a webservice call to XI via SOAP Adapter. Then the input from the .Net application is sent to the R/3 system via RFC adapter.
    .Net --->SOAP -
    >XI -
    >RFC -
    R/3 System
    Now as per client requirement I have to implement certificate based authentication in the sender side for the webservice call. In this case the .Net application is the "client" and XI is the "server". In other words the client has to be authenticated by XI server. In order to accomplish this I have setup the security level in the SOAP sender channel as "HTTPS  with client authentication". Additionally I have assigned a .Net userid in the sender agreement under "Assigned users" tab.
    I have also installed the SSL certificate in the client side. Then generated the public key and loaded it into the XI server's keystore.
    When I test the webservice via SOAPUI tool I am always getting the "401 Unauthorized" error. However if I give the userid/password for XI login in the properties option in the SOAPUI tool then it works fine. But my understanding is that in certificate based authentication, the authentication should happen based on the certificate and hence there is no need for the user to enter userid/password. Is my understanding correct? How to exactly test  certificate based authentication?
    Am I missing any steps for certificate based authentication?
    Please help
    Thanks
    Gopal
    Edited by: gopalkrishna baliga on Feb 5, 2008 10:51 AM

    Hi!
    Although soapUI is a very goot SOAP testing tool, you can't test certificate based authentication with it. There is no way (since I know) how to import certificat into soapUI.
    So, try to find other tool, which can use certificates or tey it directly with the sender system.
    Peter

  • I need to secure SOAP message sent into SOAP adapter, how to?

    Hi guys,
    My scenario uses SOAP and I need to secure this SOAP message sent into SOAP adapter. As I have read in the documentation, HTTPS is possible only on the SOAP receiver adapter. But my is SENDER.
    COuld you help me please, how to solve it? Or post some link? Or, if you have your own approach, to let me know?
    Thanx, Peter

    Hi,
    you can use SSL with the sender adapter. Please see the extract of the SOAP Adapter FAQ (Note #856597) below:
    <b>Q:</b> Can I use SSL for my sender adapter?
    <b>A:</b> Yes. Normally, the SOAP adapter servlet runs on the engines HTTP port. But you can activate the engine's HTTPS port so that this servlet can receive messages sent to the HTTPS port. See the documentation about the J2EE engine's security configuration.
    I am afraid, I haven't yet tried this myself, so you will need to consult the J2EE documentation.
    Regards,
    HC

  • Why we do not need sender agreement for Mail and SOAP adapter

    Hi SDN,
    I know, we do not need sender agreement for IDOC ,HTTP,XI adapters. As these three adapters will run in Integration engine of the abap stack.
    <b>In our scenario if sender is other than  IDOC or HTTP or XI .</b>
    By Refering Sivamni's blog.
    <b>/people/siva.maranani/blog/2005/05/25/understanding-message-flow-in-xi
    message will be pickedup by communication channel with the help of sender agreement and prepare XI message header by performing cpa cache lookup. then message will go to module processor etc.
    <b>In our scenario if sender is IDOC or HTTP or XI .</b>
    As these 3 adapters are run in Integration engine.
    Doubt 1:
    how the integration engine will create the xi message header like sender interface sender system name etc...
    Doubt 2:
    I believe SOAP and mail adapter will run in adapter engine.but i came to know that we do not need sender agreement and sender comm channel for these two adapters too...then how the XI message header will create...
    Please do correct me if i am wrong
    and throw some light on the same..
    Appreciate your help....
    Regards,
    Reehan.

    Reehan,
    Thanks for pointing me to that link. Guess I was wrong .,But,let me try to put to you why you need a sender agreement for a Sender SOAP Adapter,
    1. In the sender SOAP adapter , the Sender Interface and the Interface Namespace as provided in the fields Default Interface Name and InterfaceNamespace. The Name of the Sender Service is provided in the WSDL when you ceate the WSDL in the Integration Directory. So, as all details are available in either the Sender SOAP adapter or in the WSDL url you do not need a Sender Agreement. It is not obligatory but you can always create the Sender Agreement.
    2.  For the mail adapter , if you select the option XIPAYLOAD, you will have the option to mention the Interface Name and Interface Namespace under XI Parameters  and so in this case as once again the details provided in the sender agreement are available in the Sender Adapter itself the sender agreement is not needed for the mail adapter when you have select option XIPAYLOAD.
    If you have selected XIALL then you need a sender agreement.
    Regards
    Bhavesh

  • I need help identifying which Magsafe Power Adapter I need for my Macbook Pro Model A1398, EMC 2673?

    I need help identifying which Magsafe Power Adapter I need for my Macbook Pro Model A1398, EMC 2673?

    Provided the computer-end fits, you are free to use one with a HIGHER Wattage rating. No damage whatsoever will be done to any component, but it will likely run cooler (but may be slightly heavier).
    If you use one with too LOW a Wattage rating, you will not be able to charge and run at the same time, and your computer's top speed (for its most intensive computations) will be limited.

  • Soap Adapter (What info needs to be provided to the Third Party Developer)

    I have the following scenario
    Third Party --> Soap Adapter --> XI --> IdocAdapter --> R3
    My specific question is, what information do I need to provide to the Third Party team in order for them to successfully send a message to XI. (Note that I am using SOAP Adapter)
    1. What is the URL that they will need? the syntax/format?
    2. Do I need to provide a userid and pwd and if so, which userid is normally used.
    3. I think I will need to provide the WSDL also ( I have already generated this). Is this right ?
    4. Any other information that they will need from me.
    Thanks in advance for your responses.
    - Ravi

    James,
    Thanks for you answer. I am using XI 2.0
    1. Would you happen to know what the URL Format for 2.0 is for defining the Web Service.
    2. Also, would the User be an XI user ?
    3. Also, since they are asking me for a URL to the WSDL and not a text file, is there a way to publish it as a URL in 2.0. If not, what's the normally used method of publishing it.
    4. I tried using XmlSpy to send the Soap request and when i provide the WSDL, i get the following error:
    "Schema Error - Undefined schema component 'xmlns' encountered - expected: (abstract | block | final | id | mixed | name)". Is this a common problem with the wsdl and how do i fix this.
    Thanks,
    Ravi
    Message was edited by: ravi kumar
    Message was edited by: ravi kumar

  • Middleware and Adapter Object help needed

    Hi all,
    We are trying to replicate business agreements from CRM to contract accounts in our R/3 IS-U system. We've followed the various cookbooks and guidelines but have so far been unsuccessful. For object BUAG_MAIN, is an adapter object needed? If so, we are unable to find one in R3AC1.
    If we check the BDoc message, we are getting two Technical errors after creating the business agreement:
    1. "Outbound call for BDoc type BUAG_MAIN to adapter module CRM_UPLOAD_TO_OLTP failed."
    2. "Service that caused the error: SMW3_OUTBOUNDADP_CALLADAPTERS"
    Any ideas? Points will be awarded for helpful responses. Thanks in advance.
    Message was edited by:
            John S

    So in R3AC1 there is a button to show inactive adapter objects. Hitting this showed BUAG_MAIN. After that, we opened BUAG_MAIN and activated the object. This resulted in a couple of changes that we clicked through. We then were able to do an initial load of the business agreements and replications of newly created ones happened thereafter.

  • For which cases we need to soap adapter ?

    Hi All,
    where we can use soap adapter?
    we can use soap adapter all cases or any specific case like web service.

    Hi Kishore,
    Go through the below links,
    When to use SOAP adapter
    Which Adapter to use - HTTP or SOAP Adapter?
    When do we use SOAP adapter or HTTP adapter?
    If you are new to SCN, its always a good practice to search before posting the questions directly because almost all the questions are already answered by the experts here.

  • The difference between SOAP adapter and WS adapter in PI 7.1

    Hello all,
    can anybody explain what is the main difference between SOAP adapter and WS adapter in PI 7.1?
    I have checked this [link|http://help.sap.com/saphelp_nwpi71/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm]
    but was not able to find the real difference.
    Or better, what can I do with WS adapter I can't do with SOAP adapter? What are their advantages/disadvantages?
    Thank you all, Igor.

    In addition to RM, ws adapter also support other ws standard like SAML which is not available in SOAP adatper. Beside:
    if your sender or receiver is SAP system, you can also monitor the message in the sender/receiver in addition to the PI box. This is a very good thing, because sometime the MONI in PI shows nothing wrong, but the MONI in your receiver will show you error message that's only related to the receiver system.
    However, if you define ws sender CC, and your ws client doesn't support RM, you will have issue sending ws request.
    And ws CC will generate ws runtime in PI box, if your configuration is wrong (like user name and password not correct), even if you correct it, the ws runtime sometime won't be regenated based on the correction. In this case you need to delete the ws CC/agreement, and re-create it with all correct information.
    Beside make sure your basis team configured the PI system properly regarding ws. If not, you will have lot of pain to figure the problem which was my case.
    Jayson

  • Sender SOAP Adapter

    Hi,
    Scenario is Sender SOAP and Receiver (Server Proxy) .
    Integrated the ESS applications on .net portal using soap adapter..example salary slip, ctcview....
    If we give input as empno to soap adapter it will give you salary details back to .net portal.
    All this functional;ity are working fine..
    Now i need to check the authorization to acess this soap request. As this webservice works for all the employess in the organazation. but i need to restrict for few employees. Is there any authorization check in XI as it is there in ESS.
    If so how to use that . Now in .net portal they are useing the same user name and pwd for all the soap requests.
    Regards
    Vijay
    Edited by: vijay Kumar on May 25, 2010 11:18 AM

    Michal
    Hopefully I can help you for once!
    You can set the SOAP action to debug in the Java Admin Console.
    Set com.sap.aii.af.mp.soap and com.sap.aii.messaging set to DEBUG
    Set location
    &#61680;     Services
    &#61680;     Log Configurator
    &#61680;     Locations
    &#61680;     Choose com.sap.aii.messaging
    &#61680;     Assign Severity Debug
    See https://service.sap.com/sap/support/notes/856597 for more info...
    This note has a an attachment: tcpgw.zip for tracing the whole message...

  • Error in Receiver Soap Adapter for Google API

    Hi,
    I am working on HTTP-XI-Soap scenario which on the receiver side calls google API for spell check.
    I get the following error : <b>No Deserializer found to deserialize a ':key' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.</b>
    However if I try calling the webservice individually using SOAP Client it works fine and do get desired response.The soap message that is sent by the client to the target URL is :
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:GoogleSearch" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
       <soapenv:Body>
          <urn:doSpellingSuggestion soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
             <key xsi:type="xsd:string">qXWD4x1QFHIo/dePqlYOLwT7kMmkv80E</key>
             <phrase <b>xsi:type="xsd:string"</b>>Bratney</phrase>
          </urn:doSpellingSuggestion>
       </soapenv:Body>
    </soapenv:Envelope>
    However if i remove the "xsi:type="xsd:string" part from the element 'phrase' and 'key' it returns the same error as it does while using with XI.
    Hence I am assuming that that the outgoing soap message elements need to have the above highlighed attribute.
    Now I want to have this attribute(xsi:type="xsd:string) in the soap message that is sent from XI.
    My question is , Is there any setting using which I can add the attributes in the above form to the outgoing message from XI.I do not want to use a adapter Module.
    Thanks & Regards,
    Sidharth

    Hi Sidharth,
    You post here the soap message that is sent by the client to the target URL, but did you look to the soap message that is sent by XI?
    Try the AF monitor http://<host>:<j2ee-port>//MessagingSystem/monitor/monitor.jsp?
    Because XI soap adapter doesn't support all tags of wsdl rpc-based, we need to adjust them...
    Look to the SOAP FAQ (SAP note number 856597) under question "Can I convert an RPC styled WSDL to a document styled WSDL?"... Look at last but one paragraph ;o)
    So, you need to change this attribute to one that it is compatible...
    Go to http://service.sap.com/xi > Media Library > Documentation and there you will find this xls document -> SAP XI 3.0 (SP11) - Supported XML Schema and WSDL (EN) in this document you have all the compatible elements of wsdl for XI.
    One more thing, you can adjust your soap request and change or add the required tags You can do it with xslt-mapping or create your won data types in XI without import the WSDL generated by google. 
    Hope it helps,
    Ricardo.
    Message was edited by: Ricardo  Quintino

Maybe you are looking for

  • I would like to manually transfer all my iMovie content from SL to LION.  How do I do this manually?

    HI! I want to manually transfer all of my iMove data ( projects etc) from SL to LION. What is the best way for me to do this? Does the data need to be stored on an external drive so an OPTION / click OPEN is performed or is it emerly a matter of drag

  • File Associations & Default Application

    Hi All, First time post so please be gentle. I have a file (extension qif) which at the moment opens with a windows program via Codeweavers Crossover. I now need to change this to open with a little Applescript application I have written myself. So o

  • Split by space

    I have a string which I wanted to split by a space, how could I do that?

  • Folio Builder limited to v24??

    I am in an office using InDesign CS5.5. I've installed the lastest DPS releases including the folio builder panel, but when I go to create a new folio, the viewer version is limited to maximum v24. When I use my own Macs with Adobe CC installed, I ca

  • Create drill through report in EIS

    Hi I am new in EIS Could somebody guided me how can i create drill through report in EIS and how connect them to essbase spreadsheet ad-in Thanks Edited by: Softperson on 28/5/2010 17:55