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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.