create configuration page for soap server

ilo - January 25, 2008 - 22:37
Project:SOAP Server
Version:5.x-1.x-dev
Component:User interface
Category:task
Priority:normal
Assigned:Unassigned
Status:needs work
Description

Create a configuration form to define the SOAP interface, including php's builtin soap support.

#1

Rob Loach - January 29, 2008 - 02:13
Status:active» needs review

How's this? Provided is both the patch and a screenshot of the configuration page. I could put it in if you want.

AttachmentSize
serverconfig.jpg 23.52 KB
soap_server_configuration.patch 14.84 KB

#2

ilo - January 29, 2008 - 22:07

I've modified your patch to take care about php_soap loaded extension. If the php.so/dll is loaded the module will stop working.

I'm going to modify the soap functions for both, php_soap and nusoap engines, so expect module fails these days.

I will not commit yet, so feel free if you want to commit anything.. I'll do a merge in the end.

Thanks Rob!

AttachmentSize
soap_server.module-configuration-2.patch 15.52 KB

#3

Rob Loach - February 5, 2008 - 05:59
Status:needs review» fixed

The management of having it work with PHP's core SOAP Server will have to be handled by a different issue.

#4

ilo - February 6, 2008 - 16:32
Version:<none>» 5.x-1.x-dev
Status:fixed» reviewed & tested by the community

I'm going to apply this patch (none of the previous patches was commited) to reduce the errors reported when php soap extension is loaded and you try to run a server with nusoap.

AttachmentSize
soap_server.module-soapextensionerror.patch 5.49 KB

#5

Rob Loach - February 6, 2008 - 16:55
Status:reviewed & tested by the community» needs work

There are some conflicts introduced by this patch. I changed some of the way it worked in the previous patch to work nicer with t(). This seems to back track to how it was before. What we have to do is create an entirely new patch with new code which just builds upon what's in the DRUPAL-5 branch right now.

#6

Rob Loach - February 6, 2008 - 16:59

Why is there a conflict with the SOAP extension anyway? Is there anyway we can use NuSOAP with the extension loaded? extension_loaded('soap') returns TRUE on this end, and I have absolutely no problem using NuSOAP....

#7

ilo - February 6, 2008 - 17:56

I'm confused, I just downloaded the module using cvs client, modified and create the patch agains the repository. It should not conflict.. :( I don't know what I did wrong.

About the nusoap-phpsoap extension problems..

In any case, I'm having problems with nusoap if I enable the soap module in a windows environment. In linux, I've soap support builtin, instead of module, so I can't unload, and the soap code gets the php's internal argument layout instead of the nusoap.

I'm pretty sure this should not only happend to me.. I'm using a very regular (easyphp) lamp installation for development, and a debian server with apache2 packaged binary (apt-get downloaded).

#8

Rob Loach - February 6, 2008 - 18:03

Like the changes to #description and $status.... I changed those so that it would work nicer with the call to t().

#9

NikLP - April 11, 2008 - 20:22

Can anyone comment a little more on exactly what this does? And is there any progress on here?

I have a need for a SOAP interface in the very near future and I would like to keep up with what's goin' on.

#10

Rob Loach - April 11, 2008 - 23:48

Hey Nik! This patch lets you configure where NuSOAP is located, because right now it assumes it's in a subdirectory of the soap_server path.

#11

NikLP - April 12, 2008 - 17:50

Patch it up then, Beavis! :p

 
 

Drupal is a registered trademark of Dries Buytaert.