[PHP-DEV] SOAP request user_agent field

2012-01-28 Thread Sergio Carlos Morales
As noted on bug #60887 SOAP does not send the user-agent field when requesting the wsdl Subsequent requests are Is this a normal behavior? Or the request to the WSDL should also include the User-Agent field? Please comment to determine if patch should be applied or not to include the field in the

Re: [PHP-DEV] Soap over SSL and

2009-07-12 Thread Dmitry Stogov
it's not the only reason. ext/soap also supports digital authentication which is still unsupported by streams. (may be something else). Thanks. Dmitry. David Zülke wrote: On 10.07.2009, at 17:00, Hannes Magnusson wrote: On Fri, Jul 10, 2009 at 16:58, Uwe Schindlertheta...@php.net wrote: As

Re: [PHP-DEV] Soap over SSL and

2009-07-10 Thread David Zülke
On 07.07.2009, at 16:18, Brian A. Seklecki wrote: On Tue, 2009-07-07 at 15:42 +0200, endrazine wrote: It is lacking any type of authentication of the payment gateway, which is not acceptable. I agree+++. The problem is that PHP SOAP uses an internal streams library instead of

Re: [PHP-DEV] Soap over SSL and

2009-07-10 Thread endrazine
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear list, dear David, David Zülke wrote: In short: $c = new SoapClient( 'https://foo/bar.wsdl', array( 'stream_context = stream_context_create(array( 'ssl' = array( 'verify_peer' = true ) )) ) );

Re: [PHP-DEV] Soap over SSL and

2009-07-10 Thread Hannes Magnusson
On Fri, Jul 10, 2009 at 16:38, endrazineendraz...@gmail.com wrote: David Zülke wrote: $c = new SoapClient(   'https://foo/bar.wsdl',   array(     'stream_context = stream_context_create(array(       'ssl' = array(         'verify_peer' = true       )     ))   ) ); This works and

Re: [PHP-DEV] Soap over SSL and

2009-07-10 Thread Richard Quadling
2009/7/10 David Zülke david.zue...@bitextender.com: On 07.07.2009, at 16:18, Brian A. Seklecki wrote: On Tue, 2009-07-07 at 15:42 +0200, endrazine wrote: It is lacking any type of authentication of the payment gateway, which is not acceptable. I agree+++. The problem is that PHP SOAP

Re: [PHP-DEV] Soap over SSL and

2009-07-10 Thread endrazine
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hannes Magnusson wrote: On Fri, Jul 10, 2009 at 16:38, endrazineendraz...@gmail.com wrote: David Zülke wrote: $c = new SoapClient( 'https://foo/bar.wsdl', array( 'stream_context = stream_context_create(array( 'ssl' = array(

RE: [PHP-DEV] Soap over SSL and

2009-07-10 Thread Uwe Schindler
SAPI developer Bremen, Germany -Original Message- From: endrazine [mailto:endraz...@gmail.com] Sent: Friday, July 10, 2009 4:52 PM To: Hannes Magnusson Cc: David Zülke; PHP internals Subject: Re: [PHP-DEV] Soap over SSL and -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hannes

Re: [PHP-DEV] Soap over SSL and

2009-07-10 Thread Hannes Magnusson
On Fri, Jul 10, 2009 at 16:52, endrazineendraz...@gmail.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hannes Magnusson wrote: On Fri, Jul 10, 2009 at 16:38, endrazineendraz...@gmail.com wrote: David Zülke wrote: $c = new SoapClient(   'https://foo/bar.wsdl',   array(    

Re: [PHP-DEV] Soap over SSL and

2009-07-10 Thread Hannes Magnusson
On Fri, Jul 10, 2009 at 16:58, Uwe Schindlertheta...@php.net wrote: As far as I know, SOAP does not use the HTTP wrappers directly, it uses only sockets/ssl for communication (so the context applies only to the lower level SSL socket). So CURL is not used, because PHP's HTTP streams are not

Re: [PHP-DEV] Soap over SSL and

2009-07-10 Thread endrazine
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hannes Magnusson wrote: On Fri, Jul 10, 2009 at 16:58, Uwe Schindlertheta...@php.net wrote: As far as I know, SOAP does not use the HTTP wrappers directly, it uses only sockets/ssl for communication (so the context applies only to the lower level

Re: [PHP-DEV] Soap over SSL and

2009-07-10 Thread David Zülke
On 10.07.2009, at 17:00, Hannes Magnusson wrote: On Fri, Jul 10, 2009 at 16:58, Uwe Schindlertheta...@php.net wrote: As far as I know, SOAP does not use the HTTP wrappers directly, it uses only sockets/ssl for communication (so the context applies only to the lower level SSL socket). So

Re: [PHP-DEV] Soap over SSL and

2009-07-08 Thread endrazine
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thank you for your replies. First of, I am glad I am not the only one to think there is an issue with the way SoapClient() deals with ssl. Now, I have been suggested a few ways to deal with the problem, partly off list, and I'd appreciate help in

Re: [PHP-DEV] Soap over SSL and

2009-07-08 Thread Richard Lynch
On Wed, July 8, 2009 7:34 am, endrazine wrote: -BEGIN PGP SIGNED MESSAGE- The first possibility is to directly patch SoapClient() to force it use libcurl (wich has ssl verification features). While doable tehcnically, I wonder if my patch for it would be merged into the framework, or

Re: [PHP-DEV] Soap over SSL and

2009-07-08 Thread Sriram Natarajan
Would it make sense if enabling soap module forces php build system to enable curl-wrappers ? endrazine wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thank you for your replies. First of, I am glad I am not the only one to think there is an issue with the way SoapClient() deals with

[PHP-DEV] Soap over SSL and

2009-07-07 Thread endrazine
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello dear list, I realise this is probably not the best place to ask this kind of questions, but after doing my howmeworks on google and php.net, I can't find a decent solution to a development problem I thought would be common. If this is strictly

Re: [PHP-DEV] Soap over SSL and

2009-07-07 Thread Cristian Rodríguez
On 07/07/09 10:18, Brian A. Seklecki wrote: If it did use libcurl, dozens of problems over the last few years would have magically solved themselves (pipe-line'ing, keep-alive, socket options, PKI, etc.) Not only this extension but pretty much everything should use curl IMHO, it is included

[PHP-DEV] SOAP extension and object records

2008-03-08 Thread Giovanni Giacobbi
Greetings, I'm a newbie in SOAP, and I'm doing my first experiments using PHP. I suspect there is a bug in records processing, but I thought it was useful to discuss it here before submitting a possibly bogus bug report. I'll explain briefly the test case, but before a tiny side note: I've

[PHP-DEV] SOAP Attachments

2007-08-02 Thread Lukas Kahwe Smith
Hi, Its my understanding that ext/soap currently does not support attachments (*). Is anyone working on adding this feature? If so is there an ETA? If not, has anyone been able to extend ext/soap to add this feature from userland or is this even the intended way to get this feature. I must

RE: [PHP-DEV] SOAP Question re: Class Mapping Constructors

2005-12-13 Thread Dmitry Stogov
PM To: internals@lists.php.net Subject: [PHP-DEV] SOAP Question re: Class Mapping Constructors Hi, We are using the built-in SOAP extension. From the docs: $server = new SoapClient(books.wsdl, array('classmap' = array('book' = MyBook))); Soap server will return a complex data

Re: [PHP-DEV] SOAP Question re: Class Mapping Constructors

2005-12-13 Thread Matt Friedman
] Sent: Tuesday, December 13, 2005 9:49 PM To: internals@lists.php.net Subject: [PHP-DEV] SOAP Question re: Class Mapping Constructors Hi, We are using the built-in SOAP extension. From the docs: $server = new SoapClient(books.wsdl, array('classmap' = array('book' = MyBook

Re: [PHP-DEV] SOAP Question re: Class Mapping Constructors

2005-12-13 Thread Andrew Yochum
. -Original Message- From: Matt Friedman [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 13, 2005 9:49 PM To: internals@lists.php.net Subject: [PHP-DEV] SOAP Question re: Class Mapping Constructors Hi, We are using the built-in SOAP extension. From the docs

Re: [PHP-DEV] SOAP Question re: Class Mapping Constructors

2005-12-13 Thread Matt Friedman
Subject: [PHP-DEV] SOAP Question re: Class Mapping Constructors Hi, We are using the built-in SOAP extension. From the docs: $server = new SoapClient(books.wsdl, array('classmap' = array('book' = MyBook))); Soap server will return a complex data type 'book

Re: [PHP-DEV] SOAP Question re: Class Mapping Constructors

2005-12-13 Thread Adam Maccabee Trachtenberg
- From: Matt Friedman [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 13, 2005 9:49 PM To: internals@lists.php.net Subject: [PHP-DEV] SOAP Question re: Class Mapping Constructors Hi, We are using the built-in SOAP extension. From the docs: $server = new

RE: [PHP-DEV] SOAP Question re: Class Mapping Constructors

2005-12-13 Thread Dmitry Stogov
Hi, -Original Message- From: Matt Friedman [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 13, 2005 10:22 PM To: Dmitry Stogov; internals@lists.php.net Subject: Re: [PHP-DEV] SOAP Question re: Class Mapping Constructors Hi Dmitry, It is understandable that you don't know

RE: [PHP-DEV] SOAP Question re: Class Mapping Constructors

2005-12-13 Thread Dmitry Stogov
@lists.php.net Subject: Re: [PHP-DEV] SOAP Question re: Class Mapping Constructors I would like to second this suggestion. I have been playing with the classmap option and could use the ability to manipulate the object after instantiation but before it's returned to the user. -adam On Tue

[PHP-DEV] soap not building in HEAD under Windows

2005-10-11 Thread Rob Richards
Win build in HEAD wont build soap as shared, as zend_vspprintf is not exported. attached is patch. Rob Index: zend.h === RCS file: /repository/ZendEngine2/zend.h,v retrieving revision 1.300 diff -r1.300 zend.h 547c547 extern int

RE: [PHP-DEV] soap not building in HEAD under Windows

2005-10-11 Thread Dmitry Stogov
Thank you Rob. I committed the fix. Dmitry. -Original Message- From: Rob Richards [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 2:54 PM To: internals@lists.php.net Subject: [PHP-DEV] soap not building in HEAD under Windows Win build in HEAD wont build soap

[PHP-DEV] SOAP SSL support doesn't work when allow_url_fopen is turned off

2005-07-27 Thread Wez Furlong
A bit of a WTF factor. The reason is doesn't work is because php_stream_locate_url_wrapper() respects allow_url_fopen(), and the soap code interprets failure as SSL not enabled in this build which is wrong. It it passed in the REPORT_ERRORS flag, the correct reason would be emitted or logged

[PHP-DEV] SOAP fixes for 5.0.1

2004-08-11 Thread Ron Korving
Hi, I'm experiencing a problem with SOAP that people usually wouldn't run into. I've mailed Dmitry about this, but have so far received no reply (he's usually pretty fast, but I am aware that he's had little time the past few days). I'm anxcious to know if the problem might be resolved in PHP

Re: [PHP-DEV] soap in ext/

2004-02-06 Thread Jani Taskinen
Where are those ext/soap commit emails going atm? (dunno for sure, but I think tidy commit emails aren't going to the right place either?) --Jani On Thu, 5 Feb 2004, Andi Gutmans wrote: Hey, Due to the consensus reached in including the SOAP extension in the main

Re: [PHP-DEV] soap in ext/

2004-02-06 Thread Pierre-Alain Joye
On Fri, 6 Feb 2004 16:42:30 +0200 (EET) [EMAIL PROTECTED] (Jani Taskinen) wrote: Where are those ext/soap commit emails going atm? (dunno for sure, but I think tidy commit emails aren't going to the right place either?) Arf I just posted the same question from Wez commits

Re: [PHP-DEV] soap in ext/

2004-02-05 Thread Jani Taskinen
Ugh..so we can now mess around with it? :) I noticed it's config.m4 is quite buggy. 1. never heard of PHP_SETUP_LIBXML macro? 2. see ext/dom/config.m4 how this should be done :) --Jani On Thu, 5 Feb 2004, Andi Gutmans wrote: Hey, Due to the consensus

Re: [PHP-DEV] SOAP?

2003-06-26 Thread Shane Caraveo
Sebastian Bergmann wrote: With all this new fancy XML support in PHP 5 -- what about SOAP? I plan on implementing a new soap library based on top of simplexml, but will not be able to start serious work on it until august. The new library would be usable with almost no PHP code, but will

Re: [PHP-DEV] SOAP?

2003-06-26 Thread Sebastian Bergmann
Shane Caraveo wrote: I plan on implementing a new soap library based on top of simplexml Good news! -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ http://www.professionelle-softwareentwicklung-mit-php5.de/ -- PHP Internals - PHP

Re: [PHP-DEV] SOAP?

2003-06-26 Thread Jeraimee Hughes
On Thu, Jun 26, 2003 at 10:03:49AM -0700, Shane Caraveo wrote: Sebastian Bergmann wrote: With all this new fancy XML support in PHP 5 -- what about SOAP? I plan on implementing a new soap library based on top of simplexml, but will not be able to start serious work on it until august. The

Re: [PHP-DEV] SOAP?

2003-06-26 Thread Brad LaFountain
Shane doesn't like to play with the PECL one ;) (seems like nor do I, its been a while) - Brad --- Jeraimee Hughes [EMAIL PROTECTED] wrote: On Thu, Jun 26, 2003 at 10:03:49AM -0700, Shane Caraveo wrote: Sebastian Bergmann wrote: With all this new fancy XML support in PHP 5 -- what about