NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Soap request from a file problem


Joined: 11 May 2011
Posts: 4
Location: United Kingdom
Reply with quote
Hi

How can I run in PhpED a html file which has a SOAP request all configured and included from a php file?

In a browser on localhost the SOAP request works perfectly, but run this file in PhpED and I get this message: "You are missing the PHP SoapClient. Please re-compile PHP with Soap enabled.".

At the moment I'm editing the file in PhpED and then running an external browser to see the results.

Any ideas on how to integrate my SOAP configuration into PhpED?

Thanks

als
View user's profileFind all posts by alsSend private message
Guru master

Joined: 24 Jul 2009
Posts: 737
Reply with quote
When debugging are you using the PhpED built-in SRV Server, Apache (eg WAMP), or PHP on IIS?

The built-in SRV Server might be missing something (it certainly has some differences compared with Apache such as session timeout issues) and I do recommend Apache with PHP, which works great on Windows.
View user's profileFind all posts by plugnplaySend private message


Joined: 11 May 2011
Posts: 4
Location: United Kingdom
Reply with quote
Yes. I'm using the built-in SRV Server. How do I find out what could be missing?

I've run phpinfo in PhpED, but I don't know what to look for?

Thanks

als
View user's profileFind all posts by alsSend private message
Guru master

Joined: 24 Jul 2009
Posts: 737
Reply with quote
When I looked at SRV, it didn't appear to be very configurable and I didn't find it satisfactory for testing web applications. On the other hand, it uses a normal PHP configuration, so you should be able to add extensions to that just like for any other PHP.

I don't use SOAP myself, but for Windows PHP you can try looking for php_soap.dll and add that to the php.ini that is used when PHP is loaded by SRV. The output from your phpinfo will tell you which php.ini to update.

Alternatively, have a look at NuSOAP, which NuSphere themselves wrote.

http://sourceforge.net/projects/nusoap/
http://forum.nusphere.com/nusoap-soap-library-f7.html

It's a shame NuSphere don't respond to forum questions anymore, because they could probably give a good answer.
View user's profileFind all posts by plugnplaySend private message


Joined: 11 May 2011
Posts: 4
Location: United Kingdom
Reply with quote
Hi plugnplay

Thanks for the advice.

The SOAP I'm using is all set up by some one else. I gain access to it via a php based API. I had hoped that I could avoid all the this extra work and just use PhpEdit. I know that's life and all that, but it just gets to me sometimes

When I find an answer I'll post it here.

als
View user's profileFind all posts by alsSend private message


Joined: 11 May 2011
Posts: 4
Location: United Kingdom
Reply with quote
Hi

Found the answer. I removed the semi-colon from this line of code in the php.ini file:

;extension=php_soap.dll

Now my SOAP API code works.

Don't know how this action effects the 'NuSoap Client' software though?

als
View user's profileFind all posts by alsSend private message
Soap request from a file problem
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic