Skip to Content
author's profile photo Former Member
Former Member

Header values needs to send

Hi All,

I have scenario (IDOC to SOAP) I am sending data and I am getting successful message in PI but from client side getting error below mentioned.

HTTP/1.0" 500 225 "-" "SAP-Messaging-com.sap.aii.af.sdk.xi/1.0505"

But through SOAP UI we can send the data successfully if we add header info below mentioned

but question is where we can give these Header and value details in SAP side.

I have mentioned SOAP adopter like below.

Cheers

SOAPUI.JPG (15.8 kB)
SOAPUI.JPG (15.8 kB)
SOAPUI1.JPG (52.6 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on May 07, 2015 at 05:48 PM

    >>>>but question is where we can give these Header and value details in SAP side.


    If you would like to add a custom soap header in SAP PI then all options are discussed here -


    "AddSOAPHeaderBean" module

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 08, 2015 at 02:49 AM

    Hi Charan,

    But through SOAP UI we can send the data successfully if we add header info below mentioned

    This is not a part of the SOAP Header but rather HTTP Header. You can add the subdomain as a part of the HTTP Header by checking Variable header in the ASMA part of the channel. You then need to enter it in XIHeaderName1 (Technical Name: XHeaderName1), something like this

    The value of subdomain which is distributor, can only be set by using dynamic configuration.

    Regards,

    Mark


    test.png (9.0 kB)
    SOAPUI.JPG (15.8 kB)
    Add a comment
    10|10000 characters needed characters exceeded

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.