Skip to Content

User Authentication in sender http_aae

hi all

i have a scenario of http sender adapter using HTTP_AAE, if i pass the sap-user and sap-password in URL , it does not authenticate, pleaseadvise how can we authenticate username and password in HTTP_AAE SENDER ADAPTER

cheers

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Dec 08, 2015 at 10:48 PM
    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Justin

      Many Thanks for sending the link, quick question, does it mean Java sender HTTP_AAE adpater does do default authentication( Default Username and password)

      I am using following URL via POSTMAN and authorization set as no "authorization" and HTTP POST, TEST Message is coming to PI..(attached is POSTMAN screen shot)

      http://<SERVER>:<PORT>/HttpAdapter/HttpMessageServlet?interfaceNamespace=urn%3Astw.imi.imimobile.SMSMobileOriginated&interface=SMSMORequest_Out&senderService=STW_IMI&qos=BE

      also if i set it to basic authorization(in POSTMAN) and give wrong username and password of SAP PI system it still comes thru...(does not give an authentication error)

      Please could you advise on that

      I am ok with no authentication/authorization(just wanted to confirm/check if that is concept, that it picks default username/password to login to PI system)

      Also when i do comm channel monitoring, it shows following entry for authorization, uses PIAFUSER( is this default user that it uses to logon) attached is screen shot of message received in comm channel (comm channel.jpg)

      Just for info - when it hits PI following error is coming <b> 500 Internal Server Error</b>

      <b> Error: ERROR_IN_MODULECHAIN;ERROR_IN_MODULECHAIN, senderChannel &#39;46f2530bc57d37a9b7b7efbbb1e77eeb&#39;: Catching exception calling messaging system</b>

      which is understandable as this sync interface and proxy is not yet generated on ECC side

      In sxmb_moni following error is shown

      <SAP:Stack>No implementing class registered for the interface (ABAP interface, request message SMSMORequest_Sync, request message, namespace urn:stw.ecc.wfm.SMSMobileOriginated)</SAP:Stack>

      Regarding your second query on the other topic, i have built some solution via java mapping(currently testing) , will share soon

      cheers

      Untitled.png (29.0 kB)
      Comm Channel.jpg (76.0 kB)

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.