PHP Classes

wssoapClient

Recommend this page to a friend!

      WSSoapClient  >  All threads  >  wssoapClient  >  (Un) Subscribe thread alerts  
Subject:wssoapClient
Summary:How to set Content Type
Messages:1
Author:Davinder
Date:2011-12-13 06:48:08
 

  1. wssoapClient   Reply   Report abuse  
Picture of Davinder Davinder - 2011-12-13 06:48:08
I am trying to use WSSoapClient Class for security header, its giving me follwing error

Fatal error: Uncaught SoapFault exception: [HTTP] Cannot process the message because the content type 'text/xml; charset=utf-8' was not the expected type 'application/soap+xml; charset=utf-8'

please help me how can i set the content type to soap object using this class.