[PHP-SOAP-DEV] Re: [PHP-DEV] [NEW-EXTENSION]ext/soap : first play around ...
Status: Alpha
Brought to you by:
rodif_bl
From: brad l. <rod...@ya...> - 2002-05-01 16:32:17
|
--- andrey <ahr...@ic...> wrote: > Hello Brad, > I am very thankful to you that you created the SOAP extension. I gived it a > try but had only problems. > I didn't succeeded to test even the HelloWord example which I got from the > project's site. > After receiving blank screens in the browser several times, I decided to > debug.Here I spoke for Windows experience -CGI. > I tried to var_dump() the SoapObject and one of the properties was setted - > the fault. The fault was received from the hello_world_server.php so > probably the client part is working well. The message reads that I've to > turn always_populate_raw_post_data on. My example section aren't up to par yet. You can do this on the client side to help determine some faults. $soap->some_call(); if($soap->__isFault()) var_dump($soap->__getFault()); But why it isn't saying that always_populate_raw_post_data is off i don't know. On the server side try var_dump(ini_get("always_popuplate_raw_post_data")); I added that test in there just before i made the release because i know php-4.2.0 uses that and i wanted some kinda test in there. Maybe the test can first test if HTTP_RAW_POST_DATA is available then if not test the ini setting, finally returning a soap fault if it's not set. I moved from 4.1.1 to 4.2.0 with no > success even changing always_populate_raw_post_data to On. I debugged the > server part to be sure that $HTTP_RAW_POST_DATA is populated and > after several atempts do it, I done it. Several attempts because I realized > that no code after $some->handle() in the main program is executed so I > moved mu > debugging code before this call. I wrote the contents of $HTTP_RAW_POST_DATA > in a file using var_export()/ob_*. The var is ok but why the SoarServer > claims that there is an error. > I decided that maybe the problem is under windows and switched to Linux. I > unpacked the zip with the sources and here the problems begun. First the > config.m4 is not .m4 file but a .tar. I needed some time to realize that. Hmm.. ill look into that. > I've problems with compiling because libxml2 path was > /usr/include/libxml2/libxml not /usr/include/libxml. I fixed that with a oh.. my includes are #include <libxml2/*.h> ill can change them. > soft link, and the code started to compile. It compiles well but on > linking(not sure but i think that is the job of libtool) with libtool I got > errors. The errors are about not existents calls to functions. These are > functions from the libxml2 library. it assumes that libxml2 is installed under /usr/local/ http://phpsoaptoolkit.sourceforge.net/phpsoap/guide/documentation/installation/ This is only because i don't know how to use libtool and config.m4 files. I am hoping that someone can enlighten me on configure them. > I'm lost. I was so happy that you released the SOAP extension because I > started working on my bachelor thesis few days ago and I decided previously > that I will use xmlrpc because there is such extension and not to use SOAP > because Dietrich Ayala's SOAP4x, now called NuSOAP is too slow. I'll be glad > if I can help you in any way. Are you familure with the make config process. Currently it doesn't compile as a .so ither because of the config/make process. > May you give me some light what to do. Just to let you know that this extension is very much an alpha release. There are still some leaks/segfaults in there. I am hoping that people like you and others can help me to get this at a stable release as soon as possible. > > Best regards, > Andrey Hristov > __________________________________________________ Do You Yahoo!? Yahoo! Health - your guide to health and wellness http://health.yahoo.com |