Page 1 of 1

PHP ENUM SOAP WCF

Posted: Mon May 14, 2012 2:21 pm
by jpbarretomp
Hello guys,


I'm trying send a enum type with WCF(WebService) and that's the problem:


" Uncaught SoapFault exception: [HTTP] Error Fetching http headers... "


I think that the main problem is that PHP not recognize enum type, so when the WCF try send a object that contain a enum, i'm receiving that error.


some idea of how solve that?

Re: PHP ENUM SOAP WCF

Posted: Thu May 17, 2012 11:09 am
by x_mutatis_mutandis_x
Enums define a fixed set of valid values. Try using the data type of the values (i.e., if the yhe method requires an enum of strings, send a string value matching the enum's value)