1
farshid
Re: xoopsnusoap
  • 2007/7/14 6:11

  • farshid

  • Just popping in

  • Posts: 34

  • Since: 2004/11/9


Dear BlueStocking;

Thanks;
I checked it and it was OK; next step I think will be authenticating a service user so that we may login from one XOOPS to another to get some services, and implementing the WSDL part would be nice too, right now you may take a look at the WSDL by browsing: http://www.fanafzar.com/xoopsnusoap/?XoopsWsdlInterface
and for the main WSDL:
http://www.fanafzar.com/xoopsnusoap/index.php?wsdl
mean while browsing:
http://www.fanafzar.com/xoopsnusoap/?XoopsServiceInterface
will show you the main web service.

That is great, so I will continue the process.



2
farshid
Re: xoopsnusoap
  • 2007/7/13 20:16

  • farshid

  • Just popping in

  • Posts: 34

  • Since: 2004/11/9


Dear BlueStocking;

I just wanted to know if it is possible to have a version of this on one of your testing sites?
I am designing a new theme for it, as I said, but these days I am a little busy; I will be glad if you can manage it so that we make our XOOPS servers talk to each other!

Regards;
Farshid



3
farshid
Re: xoopsnusoap
  • 2007/7/10 8:46

  • farshid

  • Just popping in

  • Posts: 34

  • Since: 2004/11/9


Hi all;

It is done!
http://www.fanafzar.com/xoopsnusoap
move to news module and you may see a block named: "web services" showing the system module "Who's Online" via a soap request. the Request and Response are presented as well.
new go to "Xoops WebService Manager" the XWS module index and take a look at the same process this time with the content on the news module.

Just to mention right now this system gets the service from itself but if we may have another host we can test it over the two XOOPS instances!
I have test it local getting the web service from this online xoops, and it worked, that's nice.

Here are the files to be downloaded:
http://www.fanafzar.com/xoopsnusoap/uploads/xoopsnusoappackage.zip
what we need is: nusoap directory in the root;
overwright footer.php in the root to start giving web service to other systems.
Install the XWS module to get services from other XOOPS instances. the block is configurable via the admin section, but for the module index you may modify the XWS module index and set the proper URL at line 8 like this:
$s = new soapclient('URL/modules/news/?XoopsServiceInterface');
to get the service from a URL, yet only news module works.
it will use the "xws_news_index.html" and "xws_news_item.html" templates in the module to output the results, so you may change them.
this way we only get the data from another XOOPS and show it with our own templates, I think this is the way it should work.

I have started a new theme and logo for this and will start the project on dev.coops.org as well.

WARNING: please do not use this code on any production site, it is not ended.

WARNING: do not call web services from a URL that use other web services, this will cause some kind of recursion, making the server to fail!

Quote:
If i'm right, you know where to find my suggestion for such "service".

Hi Damaster; really glad to see you;
Yes XOOPS Cube has this builtin ability, and anyone interested may take a look at:
"HelloWorld" program sample using XCube Core by Mr. nobunobu, which shows us many great things in the cube core,web service also is included.
One of main reasons I have started such a thing was the great work of the great people in XOOPS Cube
I have and will learn from such great people. to be honest I am not ready to do such things on cube, I am learning the great system

With Best Wishes to all opensource.
Farshid



4
farshid
Re: xoopsnusoap
  • 2007/7/8 20:51

  • farshid

  • Just popping in

  • Posts: 34

  • Since: 2004/11/9


OK; Thanks; just to mention, browsing tohttp://xoops-end-user.com/xoops01/ and I get a 403 err.
Anyway tommorow I will work a little more on it and we will manage things then.

Thanks;
Farshid



5
farshid
Re: xoopsnusoap
  • 2007/7/8 19:49

  • farshid

  • Just popping in

  • Posts: 34

  • Since: 2004/11/9


Hi;

Thanks for your suggestion, it is really great.
Thanks to all the active guys bringing new things to use (just like giba and many more...)
I have registered, but yet no email! I am waiting...
And about testing, at this point, what I have already done has many security problems, so although your suggestion is really great and respected for me, I prefer not to do that on your site but some testing sites on my server, any way if despite this risk you want to do that let me know, and I will give you the files to upload and take the test.

Thanks again;
Farshid



6
farshid
xoopsnusoap
  • 2007/7/8 16:04

  • farshid

  • Just popping in

  • Posts: 34

  • Since: 2004/11/9


I am really excited, right now my test on a new thing was successful:
Making a XOOPS instance get block and/or module data from another XOOPS instance via soap.
It uses nusoap 0.7.2 (Dietrich Ayala -http://dietrich.ganx4.com/nusoap) as its main engine
It is a hack in XOOPS_ROOT_PATH/footer.php (which should be replaced) and a module called: "XWS" (XOOPS Web Service)
Right now the module has one block which could be configured to load a single block from another xoops, and the main page will get the first page of news module via soap, (just the data) and then renders the output with a template like the news module template.
I will upload the files Over 2 different domains for an online test and let you all know the results.
Just I want to know if anyone has done the same thing and/or something similar to this?
I think this will bring use a real multi portal with great enhancements, any ideas?



7
farshid
Re: an Ajax approach in xoops
  • 2007/6/8 18:18

  • farshid

  • Just popping in

  • Posts: 34

  • Since: 2004/11/9


Dear Dave;

Thanks for your intrest in such a thing, it is a long time with no progress shown yet (which is due to my limeted time and knowleg), but I am some how working on this, now I have an FF2/ie6 compatible version which I will do release in the next few month, I think, and a XOOPS Cube version which I am working on.
There are many others working on the same thing (Ajax and SOA), wanikoo is the most important one you should not omit, and also make sure to check out kris works (if you have not done yet) and many others doing great things.
Any way, best wishes for open source!!

Regards;
Farshid.



8
farshid
Re: an Ajax approach in xoops
  • 2007/4/3 8:40

  • farshid

  • Just popping in

  • Posts: 34

  • Since: 2004/11/9


Dear renewehle;

Thanks for your care, I checked it, you are right, I will see what could be done about it.
it seems to be some problems with sanitizing form tags, so the formsanitizer function in ajaxer.js should be improved.
As you know this is a demo site and the whole approach needs far more changes, and I have so little time to put on it, any way, I will keep this in mind, Thanks.

Regards;
Farshid Pourlatifi.



9
farshid
Re: an Ajax approach in xoops
  • 2007/4/3 6:08

  • farshid

  • Just popping in

  • Posts: 34

  • Since: 2004/11/9


Dear phppp;

Thanks for your time.

Regards.



10
farshid
Re: an Ajax approach in xoops
  • 2007/4/2 17:21

  • farshid

  • Just popping in

  • Posts: 34

  • Since: 2004/11/9


Hi all;

I have put the files in the project, main page is:
http://dev.xoops.org/modules/xfmod/project/?ajaxedxoops
and you can get the zip version at:
http://dev.xoops.org/modules/xfmod/project/showfiles.php?group_id=1398&release_id=1355#selected
if you have downloaded the file from the previos URL, you do not need this, I will remove the rar version as soon.
I will manage things there and if there was any news I will post here.

Thanks all.




TopTop
(1) 2 3 4 »



Login

Who's Online

209 user(s) are online (134 user(s) are browsing Support Forums)


Members: 0


Guests: 209


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits