logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Setting Content-Type Header in NuSOAP: msg#00002

Subject: Setting Content-Type Header in NuSOAP

How do I change the Content-Type in the request header from text/xml to application/soap+xml ?

 

This doesn’t work:

 

preg_replace('text\/xml', 'application\/soap\+xml', $client->outgoing_payload);

 

application/soap+xml is required for SOAP 1.2

 

Thanks!

 

Mark A. Richman, MBA | Director, Windows Development
Direct: 954.334.8203 | Cell: 954.234.9049
Email:
mrichman@xxxxxxxxxxxx | Yahoo: mrichmanaffinity

 

 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nusoap-general mailing list
Nusoap-general@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/nusoap-general
<Prev in Thread] Current Thread [Next in Thread>