Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9022219
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T05:27:06+00:00 2026-06-16T05:27:06+00:00

I am trying to receive XML IDoc data from an SAP system. It should

  • 0

I am trying to receive XML IDoc data from an SAP system. It should get push to me over HTTPS but something is not working. I gave out a SSL certificate and the IP address of the server. I can see that the SAP system is trying to send me something because I am getting a call from Agent: SAP Web Application Server (1.0;701) but no data is transmitted in GET, POST or FILE.

The SAP system is controlled by someone else. They got this working with some other server so I assume it must be my fault.

Currently my script logs these values:

serialize($_GET),
serialize($_POST),
serialize($_FILES), 
$_SERVER['REMOTE_ADDR'], 
$_SERVER['HTTP_USER_AGENT'], 
serialize(apache_request_headers())

Header tells me:

content-type: text/xml
content-length: 76702

but I am not getting any content.

What I am doing wrong? How could I dig into this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T05:27:08+00:00Added an answer on June 16, 2026 at 5:27 am

    Solution is to read HTTP body directly from file_get_contents("php://input"). The data has no variable so it’s not getting parsed into any $_POST variable:

    <?xml version="1.0" encoding="UTF-8"?><ZSHPMNT05>...
    

    See: http://php.net/manual/en/reserved.variables.httprawpostdata.php

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been trying to figure out how to send and receive XML Data over
I have an XML reader but I receive an error when I'm trying to
I am trying to receive a json object back from php after sending data
I'm trying to write an XML over HTTP push notification consumer that accepts the
I'm trying to create an XSD for validating XML we receive from our customer.
I've been trying to get flash to receive TCP messages from a small Serial
I am trying to receive an image from the Android Gallery via an ACTION_SEND
I am trying to develop the XMPP Gateway which can send/receive from standard XMPP
I am a newbie to OPENXML. But I am trying to load a .XML
I am developing a system that will receive a XML (XmlDocument) via webservice. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.