Sender SOAP Adapter issue with webservices for authorization.

Hi All
Issue:
As we are developing a Web Service to fetch account balance from SAP(upon receiving the account no from client) and have given the wsdl file to J2EE application  to call or make use of the service.  But as a part of that service they expect userid/password to be entered manually from client  pop-up.  At this point of time, we don't want to enter userid/password manually but  we want this to be hardcoded/embedded in Webservice so that  there is no need of manual intervention upon calling this service.
Actual Requirement:
From Webservices to R/3-ECC6.0-IS-Banking-RFC (Synchronous Interface)
Sender: SOAP Adapter synchronous
Receiver: RFC Adapter synchronous
Note: Requesting a account number and getting response from RFC is account Balance and Date to webservice
Regards
Kiran kumar.s

Hi praveen,
Thanks for ur  reply.What you said is exactly right but for time being i have to make the client not get the authorization(password--Username and password(pop-up)) when he invokes the WSDL into webservice for that u told that to write some hardcode in J2EE application,but i don't know that where to write and what to write.so, if possible can u give me the code and procedure.
This is the URL:
http://hcl3sap:50000/XISOAPAdapter/MessageServlet?channel=:BS_WEBSERVICE:CC_SOAPSENDER
Regards,
kiran kumar.

Similar Messages

  • SAP PI 7.31 / Sender SOAP Channel Issue with XML tag Main/@versionMajor has incorrect value 000; expected value is 003

    Hi PI Experts,
    We are on SAP PI 7.31 SP 10.
    We are in the process of integrating ARIBA P2P solution using SOAP Adapter as sender to connect Ariba with our PI system.
    We have configured all required components in ESR and ID(Most of them are content provided by Ariba).When we try to post a message into PI using SOAP UI we are ending with below error.

    http://<host name> : <port name> /XISOAPAdapter/MessageServlet?channel= <party name> : <service name> : <channel name>
    For the above issue we had configured SOAP Sender channel as above,and the URL we are using to hit PI is as above screenshot.
    We have followed the note on this topic with out any luck.
    1378872
    We are not sure where is problem.As the issue is not reaching to PI not able to see the messages in SXMB_MONI.
    and in the SXMB_ADM PI has been configured as Integration Server.
    I had even tried to change the message protocol as XI3.0 in SOAP sender channel and noluck.
    I have tried to ximessage=true query also in URL and noticed that not working.This is clear that the message we are trying to send from Ariba is not compatible with XI3.0 protocol,Ariba is not having any option to change at their end as it is a cloud application and many customers have been using same with out any issues.
    We have tried maintain the Java System properties in NWA as XPI.Adapter.Version.Major = 3 but no luck.
    Can some one provide us the solution to get rid of this issue?

  • Issue with Webservice for HR

    This is my problem. Have been at it for a few days now and have very little hair left.
    I have a custom BAPI that wraps ENQUEUE, BAPI_ADDRESSCREATESUCCESSOR and DEQUEUE.
    Works like a charm when executed in se37. When I make a webservice out of it, it complains "Fill in all required entry fields". I have even hardcoded the values to be passed in the BAPI itself and still does it.
    Basically no matter what I do, it complains there is something missing. I enter values for every import parameter that is being passed, still no avail.
    I also tried the same thing with the DELIMIT bapi, and the same issue. I am ofcourse trying from wsnavigator to test this and always get the same error message. Have tried to set breakpoints etc - still the same error. What pisses me off is that the BAPI works from se37. Anyone have any ideas with such situations?
    Thanks.

    Hi BR,
    How are you testing the web service? Soap client?
    I had something slightly similar the other day, that was caused by a mandatory export parameter not being passed back. Maybe that's something you could check?
    Best Regards, Trevor

  • How to build in user authorisation in sender soap adapter

    HI ,
    how can i built the user authorisation in sender soap adapter. either in a url or somewhere on the server .
    if anyone has an idea do let me knwo
    Thanks
    Nikhil

    Nikhil,
    <b>sender soap adapter</b> is used for ex in the case, u need some data from the DB say of a vendor. U give the name of the vendor in the site, suppose u get the contact address of the vendor from the DB.
    Sender soap adapter sends the soap request from the client to XI and from XI the request is passed to DB.
    With XI, WSDL file is generated and SOAP request is generated for the WSDL file. When the WSDL is deployed on the client application, the authorization is handled.
    For receiver SOAP adapter, it is the otherway round u r getting the data from the DB first and so the authorizations are held in XI.
    -Naveen.

  • Sender SOAP adapter: get soap header data

    Hi,
    I've been going through various posts and blogs here on SDN + looked in the how to guide for SOAP adapter, but still find it quite difficult to actually find out how to do it. I've tried to follow recommendations seen, but it doesn't add up.
    So can someone please tell me how to get an element situated in the SOAP header of the request sent to XI via sender soap adapter?
    Let's for instance say the request looks like this:
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <SOAP-ENV:Header>
              <SSN>1234567890</SSN>
         </SOAP-ENV:Header>
         <SOAP-ENV:Body>
              <event>
                   <elem1>data 1</elem1>
                   <elem2>data 2</elem2>
                   <elem3>data 3</elem3>
              </event>
         </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    How can I get the data in the SSN-header element at mapping time?
    I'm sure this can be done by using adapter modules as the first step adapter, but I prefer doing it at mapping time if possible.
    Best Regards,
    Daniel

    I solved it on my own now. My missing link was the fact that I'm using XMLSPY to send request and thus need to replace all '&amp;' with & in Connection Endpoint.
    Message was edited by:
            Daniel Engsig-Karup

  • HTTPS sender soap adapter

    Hi,
    I want to use HTTPS port for one of our SOAP -->RFC sync interface .
    currently we are using  http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel this url and its working fine,
    Here  we want to use  HTTPS  ( HTTPS with client authentication as security level) ,but in our current PI system ( 7.31) is  not enabled https/ports.
    Please let me know how we can enable  HTTPS  port ,let me know the process.
    once HTTPS port is enabled  please let me know the process to use  HTTPS with client authentication as security level)
    Thanks
    Surya

    Hi Surya,
    Base on your requirement ports like 433, 4022 etc as per availability to Trading partners.
    Port mapping should be done in the firewall configuration as your web dispatcher port(This information can be obtained from your basis team / will be managed at the installation time / netweaver administration.)
    80* series is for ABAP ports and 50* series i sfor JAVA port.
    Also check the below link for more information.
    http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/09/20/sender-soap-adapter-https-with-client-authentication
    Thanks and Regards,
    Naveen

  • Enabling HTTPS with Client Authentication for Sender SOAP Adapter on PI7.1

    Hello All,
    We are currently building up a HTTPS message exchange with an external client.
    Our PI 7.1 recieved over HTTPS messages on an already configured Sender SOAP Adapter.
    The HTTPS (SSL) connectivity works fine and was completely configured on the ABAP Stack at Trust Manager (TC=STRUSTSSO2)
    Login to Message Servlet "com.sap.aii.adapter.soap.web.MessageServlet is required and works fine with user ID and password.
    Now we have to configure the addtional Client Authentication.
    At SOAP Adapter (Sender Communication Channel) under "HTTP Security Level"you are able to configure "HTTPS with Client Authentication".
    But what are the next steps to get this scenario successfully in place?
    Many thanks in advance!
    Jochen

    Hi Colleagues,
    following Steps still have to be done:
    - Mapping public key to technical user at Java Stack
      As preparation you have to activate value "ume.logon.allow.cert" with true under "com.sap.security.core.ume.service" under Config Tool. At NWA under Identity Management at for repecively technical user the public key certificate
    - Be sure CA root certivicate at Database under STRUSTSSO2
    - Import intermediate Certificate under Certificate List at Trast Manager for the Respecive Server Note
    - use Login Module "client_cert" which you have to configure under NWA\Configuration Management\Authentication for Components "sap.com/com.sap.aii.adapter.soap.app*XISOAPAdapter".
    Many thanks to all for support!
    Regards,
    Jochen

  • SEcurity settings for sender SOAP adapter

    Hey guys
    i m implemeting some security features in sender SOAP adapter by taking help frm www.help.sap.com,i have checked the message security box in sender Communication channel but in sender agreement i dont see any options for Decryt or Validate,i only see Keystore,Issuer and subject.
    i m on SP9 and XI 3.0
    where can i find these options of Decrypt etc?
    thanx
    ahmad

    Hi,
    Please see below links
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0650f56-7587-2910-7c99-e1b6ffbe4d50
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/BTS06CoreDocs/html/a3229d73-170d-42b7-bab9-12ae5f2d0fa7.asp
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/BTS06CoreDocs/html/f869bd82-df93-45e1-b747-b538820253fb.asp
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/121b053d-0401-0010-539f-f9295efb7bad
    Document security option in webservices
    And also check,
    Launch Visual administrator and navigate to Server->Services->Security Provider. In 'Policy Configurations' tab page, select the component 'sap.com/com.sap.aii.af.soapadapter*XISOAPAdapter'. Then click on the tab page 'Security Roles' and select 'xi_adapter_soap_message'. You will find the groups (equivalent to roles in PFCG) to which this security role (xi_adapter_soap_message) is assigned to. Make sure you assign the PFCG role listed here to the user.
    regards
    Chilla..

  • SOAP message size limitation for sender soap adapter

    Hi All,
    We are facing critical production issue in case of sender SOAP Adapter,
    If the sender soap message is having 114359 Bytes than the Third party is getting exception and SOAP request is not reaching XI.
    If the message size is less then 100kbytes then no exception will come.
    Is this a limitation that SOAP message size should not exceed 100kbyte?
    Thnaks in advance
    Best Regards,
    Harleen Kaur Chadha

    Hi ,
    Thanks for your inputs,Could you please tell me which hardware configurations are you talking about?
    Are you people talking about harware configurations for XI?
    Best Regards,
    Harleen Kaur Chadha

  • IOException: invalid content type for SOAP: TEXT/ using Sender SOAP adapter

    Hi all,
    When I am using Sender SOAP adapter, i am getting (MessagingException: Could not parse XMBMessage. Reason: java.io.IOException: invalid content type for SOAP: TEXT/HTML using connection SOAP_http://sap.com/xi/XI/System) exception.
    From my RWB I can see:
    2009-05-25 16:18:39 Information The message was successfully retrieved from the call queue.
    2009-05-25 16:18:39 Information The message status was set to DLNG.
    2009-05-25 16:18:39 Error Failed to parse the XI system response.
    2009-05-25 16:18:39 Error The message was successfully transmitted to endpoint com.sap.engine.interfaces.messaging.api.exception.MessagingException: XIMessage creation failed (inbound). Reason: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Could not parse XMBMessage. Reason: java.io.IOException: invalid content type for SOAP: TEXT/HTML using connection SOAP_http://sap.com/xi/XI/System.
    2009-05-25 16:18:39 Error The message status was set to FAIL.
    2009-05-25 16:18:39 Error Returning to application. Exception: com.sap.engine.interfaces.messaging.api.exception.MessagingException: XIMessage creation failed (inbound). Reason: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Could not parse XMBMessage. Reason: java.io.IOException: invalid content type for SOAP: TEXT/HTML
    Please help if possible! Thanks!
    Mayank

    Hi,
    Check in SLD your integration engine business system have the following
    pipeline url : http://server:httpport/sap/xi/engine?type=entry
    check Http port also
    After that go to TCODE - SXMB_ADM - integrationn engine configuration and check if your server is configured as HUB with the same url or not.
    Thanks
    Kasturika Phukan

  • Can we enhance the Sender SOAP Adapter with our own modules?

    Hi All,
    Can we enhance the Sender SOAP Adapter with our own modules on the Module Tab Page in the Module Processor?
    I believe the answer is no. However, whatever may be the answer, I would like to know that is there any specific reason for that.
    Please help me in this regard.
    Thanks,
    Yogi.

    Hi,
    I think, we are mentioning the URL of the adapter channel directly in the configuration. SO there is no place we can customize this flow..just a thought
    Because in the file adapter etc, After Adapter Engine picks up the data and before it goes into integration engine module is processed..
    http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f013e82c-e56e-2910-c3ae-c602a67b918e
    Rgds,
    Moorthy

  • Failed in Message Mapping for Sender SOAP Adapter

    I am using a synchronous Sender SOAP adapter for sending SOAP messages using HTTP security protocol. I am trying to send SOAP messages to XI and then to RFC-R/3. And Responses back from RFC to XI and then to SOAP. I am getting an error for failed in message mapping in SXMB_MONI for converting SOAP messages to RFC. When I debug it in Message Mapping in Integration Repository, it works fine.
    Any help is appreciated.
    Thanks in advance!
    Mrudula

    Hi,
    try to do a full cache refresh
    regards,
    Jakub

  • Sender SOAP Adapter with Https

    Hi,
    can any one give me information on  how my Sender SOAP adapter to be configured with HTTPS port.
    please give me the what are all different ways to make my Sender SOAP Adapter secure and give me the steps to achieve the functionality.
    Thank You,
    Madhav

    check this section:
    http://help.sap.com/saphelp_nw70/helpdata/EN/14/ef2940cbf2195de10000000a1550b0/frameset.htm
    Also some help from SAP note:
    https://service.sap.com/sap/support/notes/891877
    Regards,
    Abhishek.
    Edited by: abhishek salvi on May 29, 2009 1:59 PM

  • Alias for Sender SOAP Adapter URL

    When I create a web service for an o/b interface using the wizard, I need to give the URL of the pattern
    http://<host:<port>/XISOAPAdapter/MessageServlet?channel=<party>:<service>:<channel>
    Looking at the URL, I think there is servlet that is processing the incoming SOAP messages based on the parameter (channel) and adding the SOAP Header for Sender Service, Sender Interface from that channel before sending it to IE.
    Is there anyway to create aliases for these URLs so that I can have distinct URL for each interface eg. http://<host:<port>/DeliveryConfirmation, http://<host:<port>/InvoiceCheck etc?
    I need to publish web services in custom-built UDDI tool which expects the URLs to be unique. (This uniqueness should not based on the parameter 'channel'). UDDI tool expects the part of the URL before '?' to be unique, which is not in my case. So, I'm thinking of aliases.
    Did anyone create Alias for sender SOAP adapter URL?
    I appreciate your inputs on this.
    thx
    praveen

    Stefan,
    Creating an alias like (http://<host:<port>/DeliveryConfirmation) for each web service makes the end Point URL (http://<host:<port>/DeliveryConfirmation?channel=<party>:<service>:<channel>) unique and my custom-built UDDI server would allow it.
    In this case, all the aliases would be for the same context path '/XISOAPAdapter/MessageServlet', right?
    I see the following on the help page.
    Prerequisites
    You must first have the J2EE Web applications deployed so that their aliases are added to the list of available application aliases. Then you can decide which one to remove from it.
    Do I need to deploy any J2EE Web Application here?
    I'm thinking that since 'XISOAPAdapter/MessageServlet' is already deployed, I just have to create a various aliases for it.
    I highly appreciate your inputs.
    thx
    praveen

  • Performance issues with Webservices in XI

    Hi,
    Friends,
    my issue is with the performance of webservices.how to improve performance of webservices in XI?
    We don't have any hardware issues.no big mapping or payload.webservice is actually residing in the XI server.there is a bottleneck somewhere which is hampering the performance.
    Any advice is greatly appreciated!
    Thanks and Regards,
    Pavan M.
    Chicago,US

    Hi,
    Is XI a webservice provider or consumer?
    If XI is the consumer, then you can use any SOAP client tool (there are lots of generic 3rd party soap client test tools on the internet) to execute the webservice to detemine whether it is causing performance problem.
    If XI is the provider, you can take the sender soap adapter out of the equation by using a HTTP client test tool.
    The SXI_MONITOR also provides execution time for every step in the pipeline of the XI engine.
    Regards,
    Bill

Maybe you are looking for

  • Possible to run a 32 bit program in 64 bit Windows 7 Pro?

    Hi I've ordered a Thinkpad X220 which here in UK only comes with 64 bit version of windows 7 pro. Problem is that there a couple of programs which i use which only run in 32 bit windows (no 64 bit version available) and they run fine in my existing W

  • Address book won't accept invitation

    When I get an invitation to a meeting here at work I get this message: Invitation Error To be able to use invitations, you need to create an address card for yourself in Mac OS X Address Book. I have an address card in my Address Book, but it won't r

  • TCP/IP not in Control Panel

    Hello, I'm new to MAC so I'm sure this will seem like a silly question. I'm working on setting up 5 machines for internet access. 4 of them have orked great and were easy to configure. The 5th does not have the TCP/IP option in te Control Panel and,

  • Virtual Directory Browsing in IIS Is what in OSX Server?

    Ok, forgive my ignorance.  I am coming from a better understanding of Microsoft IIS.. Basically what I am looking for is.. In my Windows Server I would have a Partition Drive with a letter.. lets say e:\  and call the drive docs with data files saved

  • Order reasons in CRM 4.0

    Hi experts, We are working on CRM 4.0 and R/3 4.6c as the background. As part of our busines requirement we need to make order reason as the mandatory field while creating sales transaction in CRM .We have customized bringing order reasons through Ac