|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#16
|
|||
|
|||
|
SOLVED : no deserializer used to deserialize
I found the answer to this problem in the NuSoap mailing lists. I highly recommend joining that list, primarily because the code in this article has not been updated to be compatible with the new versions of NuSoap.
I tried to find the answer for you, but the search engine has been down (as usual) on Sourceforge. The question has been asked several times, so looking through the archives should be pretty productive -- at least it was for me. I apologize for not remembering exactly what you had to do -- as I recall it had something to do with a null value being passed in the WDSL (DON"T quote me on that), but I did solve the problem with the help of the mailing lists. FFR, beware of code on web sites that hasn't been revised in a couple of years. Caveat HAX0R, grant stevens L-EET Web Services http://www.l-eet.com/ |
|
#17
|
||||
|
||||
|
lachupacabra: Cheers that was the tip I needed:
http://sourceforge.net/mailarchive/...?msg_id=3771854 In case it goes down or something the reply, from Scott Nichol, is: Quote:
LOL I see you dropped a comment in too: Quote:
from: http://sourceforge.net/mailarchive/...?msg_id=5204687 Hopefully this thread (and similar ones) should help correct that problem ![]() [edit: added subject line] Emps Last edited by Emperor : July 17th, 2003 at 01:50 PM. |
|
#18
|
||||
|
||||
|
Good job guys, way to get to the bottom of it.
|
|
#19
|
|||
|
|||
|
And that did fix the problem (the line in the version I'm using is 219) and now it moves me on to the next one:
Quote:
I'll keep digging on this one....... [edit: Hmmmmm it is mentioned here: http://ws.apache.org/soap/docs/trouble/ Coo while searching for an answer I got this thread and the, unresolved, issue from above - I presume this is related. I suspect something I'm passing in is causing it to choke so I'll echo ou all my parameters and see if anything obvious jumps out.] [edit: added subject line] Emps Last edited by Emperor : July 17th, 2003 at 01:30 PM. |
|
#20
|
|||
|
|||
|
AAAAHH! I thought my comments that I posted on an Internet forum were private and confidential! [
] At least I thought for sure no one would read them. [ ]on the java error message ... are you using the googleapi.jar that comes with the zip file from google? (that may be a little off topic, but if you don't want to move it, that's your prerogative) I do get weird error messages like that in java, when either i am trying to run an app using the .jar from somewhere else or my PATH variable is inadequate (I'm assuming that your desktop is windows ... actually the real source of all your problems ).If you are using the API stuff that Google provides, start with the java example they provide ... it worked the first time for me. MODERATOR NOTE: you may want to move these two posts to a java forum, where they would be of more use later on as well as be visible to eyes that could be a bigger help than me. grant stevens L-EET Web Services http://www.l-eet.com/ |
|
#21
|
|||
|
|||
|
*blush* i should have clicked on that link. It is for sure a CLASSPATH thing. but try running it from the directory the jar is in, or at least do that with the downloaded Google example.
|
|
#22
|
|||||
|
|||||
|
lachupacabra: Now I am confused - you said:
Quote:
but I am using nuSOAP and didn't think I needed to use any Java (at least at my end). In fact the tutorial suggests that grabbing the API was optional: Quote:
from: http://www.devshed.com/Server_Side/...eAPI/page3.html Have I missed something in the tutorial? I've just skimmed through it again and can't find anything more specific than the bit I quote above. ------- Quote:
I'll bear that in mind next time ![]() [edit: added subject line] Emps Last edited by Emperor : July 17th, 2003 at 01:31 PM. |
|
#23
|
|||
|
|||
|
I decided to swap:
Quote:
for: Code:
$soapclient = new soapclient('http://api.google.com/GoogleSearch.wsdl', 'wsdl');
and a quick test: Code:
print("<pre>");
print_r($result['resultElements']);
print("</pre>");
reveals it is returning the goodies. Hope that helps anyone having similar problems. [edit: added subject line] Emps Last edited by Emperor : July 17th, 2003 at 01:32 PM. |
|
#24
|
|||
|
|||
|
aaaah, many apologies ... I didn't realize you were giving output from a PHP SOAP client (which makes a lot more sense than my interpretation).
Over the past month, there has been quite a bit of active development (read : bugifxes) to the WSDL behavior of NuSoap. Now I have a question for you: the other change you so that a null value could be passed in is directly related to the parameter that you added. Did you have to apply both changes to get it to work ... or would the second change alone do the trick? If you pass in that parameter then I don't think the code you added before gets evaluated in. I'm only asking because that extra parameter may be a more elegant solution than going in and changing the NuSoap class. Let me know, grant stevens L-EET Web Services Open Source E-Commerce on Linux http://www.l-eet.com/ |
|
#25
|
|||
|
|||
|
lachupacabra: I'm afraid I'm not able to find out - the script I was putting together is designed to detect when someone visits from Google, find out what their search terms were and then feed them back in the Google API to find out what your exact ranking is for that page (my thinking is that you can check your pages against certain search terms but it might be good to monitor what terms people are actually using and how your ranking changes over time, etc.). So the connection to the Google API only happens when a new search term is detected (or it has been a week since the last update) so I'd need to find a new search term for the test page or empty the database tables sooo........
If no one else has jumped in by next week I'll change things back and do the test again. Emps |
|
#26
|
|||
|
|||
|
Reverse Engineering the Evolution Code - ElectricNet
Subj: Reverse Engineering the Evolution Code - ElectricNet
Part of the quickening is that human intention has reached 18,000 mph in space and 186,000 miles per/second on the internet. However, most persons are era myoptic so they can't well grock the full implications of the pending coordinated universal intent. Humanity is an operating system sponsored by dna. 6,345,000,000 participants are creating an intention vector sum which can be understood eventually by watching the impact of technology upon health and life span. The sum of all Human Intention is the main operating system of the evolution of survival aptitude. Windows XP and everything competive or assisting is still in the metaphor of intent relevance and its impact upon dna goals will evolve more rapidly. Who has the ability to help me wire up the one mind and "write the code" for the virtuebios, evolving electronic feedback on mandatory immortalisation strategies International. Computer assisted intention relevance will be/is foundational in Mortality Resolution International. My "credentials" are performance based, of course, and a little humor. Please check out a Google Search: [most conscious] and [virtuebios] if you want to give this a try. I can use help from all persons. Thanks |
|
#27
|
|||
|
|||
|
lachupacabra: It looks like those changes to nusoap aren't required if you use the WDSL file. I've changed nusoap back and it seems to be working fine.
Hope that helps people out there. Emps |
|
#28
|
|||
|
|||
|
CLOSED: nusoap and wsdl
emp-
thanks for the incredibly productive dialog. using WSDL with NuSoap has come a long way, and is certainly the way to go for a number of reasons. Now, if only we could get DevShed to let us rewrite that article and spare hundreds of people the same experience ![]() grant stevens L-EET Web Services http://www.l-eet.com/ |
|
#29
|
|||
|
|||
|
Rewriting?
lachupacabra:
Quote:
Ahhhhhhhhh but that is what these comments are for so people can play with things and give feedback or ideas for improving and adapting the ideas - I don't think it would be wise to keep rewriting a tutorial when we have the means to keep things updated through the comments. Thanks for the tips that helped get things moving here - it has proved very interesting and useful. The Devil is always in the details.............. Emps |
|
#30
|
||||
|
||||
|
Error in Spellchecker sample
I'm trying to run the spellchecker sample code found at: http://www.devshed.com/c/a/PHP/Using-The-Google-Web-APIs-With-PHP/6/
and I'm getting this error when I put in the word "star" in the textbox: Notice: Undefined index: faultstring in E:\wwwinetput\spellcheck\exp3.php on line 39 Google suggests Array for the term star Any thoughts? Thanks! |
![]() |
| Viewing: Dev Shed Forums > Other > Development Articles > Using The Google Web APIs With PHP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|