Jump to content

Forwarding SOAP message


shizny

Recommended Posts

I've got an application that, for security reasons, needs to run all of it remote procedure calls through a proxy.  I'm using php.  In my php file I get the following information about the soap request I'm intercepting. 

 

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<SOAP-ENV:Body/>

</SOAP-ENV:Envelope>

 

HTTP_SOAPACTION : "https://secure.modpay.com/ws/GetModpayVersionInfo"

CONTENT_TYPE : text/xml; charset=utf-8

SERVER_PROTOCOL : HTTP/1.1

REQUEST_METHOD : POST

 

 

Can somebody tell me how I can forward this on to the webservice.  I tried to use curl and set the post variable to the soap envelope, and the url to the soapAction url, but nothing.  I don't want to use something like nuSoap, just want to correctly forward the info on to the webservice using curl.  Anybody know how to do that?

 

 

Link to comment
https://forums.phpfreaks.com/topic/179699-forwarding-soap-message/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.