Recent

Author Topic: WEB SERVICE: HOW?  (Read 18392 times)

zzzato

  • New Member
  • *
  • Posts: 22
  • A delphi developer who is moving to debian
WEB SERVICE: HOW?
« on: May 03, 2013, 10:08:01 am »
Hi, all.
I'ma delphi developer since 1997.
Now I need a web service that runs on linux machine.
I took web service toolkit:
http://wiki.freepascal.org/Web_Service_Toolkit

but doesn' t work. Simply, lazarus can not compile it. Last news at link has 2006 year date.
Thanks for any help.

A.
"Anything that can go wrong will go wrong"

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4719
  • I like bugs.
Re: WEB SERVICE: HOW?
« Reply #1 on: May 03, 2013, 10:59:44 am »
but doesn' t work. Simply, lazarus can not compile it. Last news at link has 2006 year date.
Thanks for any help.

Actually the current FPC cannot compile it. Does it compile with FPC 2.6.0?
There are posts from this year in the project's Google Group. The author Inoussa OUEDRAOGO answers:
---
> are any plans to make WST design time package compilable with fpc 2.6.2 release ?
Yes, I am just too busy at the moment.
---

It sounds like he would need help with the component.
It would be a usefull component. I would perhaps need it, too.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

zzzato

  • New Member
  • *
  • Posts: 22
  • A delphi developer who is moving to debian
Re: WEB SERVICE: HOW?
« Reply #2 on: May 03, 2013, 11:45:33 am »
Hi.

> are any plans to make WST design time package compilable with fpc 2.6.2 release ?
> Yes, I am just too busy at the moment.

Thanks for your anwer.

I'm working on mixed project..
A delphi win32 client and a  php web site hosted  on linux debian machine. :)
With delphi I can't make a webservice for linux...
Did you know different product to make today web service in lazarus?
Cher.

A.


"Anything that can go wrong will go wrong"

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4719
  • I like bugs.
Re: WEB SERVICE: HOW?
« Reply #3 on: May 03, 2013, 12:01:25 pm »
Did you know different product to make today web service in lazarus?

I am afraid there is none.
This Web Service Toolkit however might be easy to fix. I didn't look at it much so I am not sure, but it worked at some point.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

JD

  • Hero Member
  • *****
  • Posts: 1915
Re: WEB SERVICE: HOW?
« Reply #4 on: May 03, 2013, 12:12:40 pm »
This interests me too. I've been frustrated since I discovered that Lazarus 2.6.2 cannot compile the Web Service Toolkit. I've been waiting on its author to fix it but he dosen't have the time.
Linux Mint - Lazarus 4.8/FPC 3.2.2,
Windows - Lazarus 4.8/FPC 3.2.2

mORMot 2, PostgreSQL & MariaDB.

zzzato

  • New Member
  • *
  • Posts: 22
  • A delphi developer who is moving to debian
Re: WEB SERVICE: HOW?
« Reply #5 on: May 03, 2013, 12:25:09 pm »
> I am afraid there is none.

Ok. Thanks.

"Anything that can go wrong will go wrong"

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4719
  • I like bugs.
Re: WEB SERVICE: HOW?
« Reply #6 on: May 03, 2013, 12:39:01 pm »
This interests me too. I've been frustrated since I discovered that Lazarus 2.6.2 cannot compile the Web Service Toolkit. I've been waiting on its author to fix it but he dosen't have the time.

What kind of problem there is?
I am not going to look at it now, I have so many other things going on.
Still, the problem can well be small and easy to fix. Someone else can fix it if the original author has no time.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

inoussa

  • New Member
  • *
  • Posts: 14
Re: WEB SERVICE: HOW?
« Reply #7 on: May 03, 2013, 01:47:59 pm »
Hi

I am the author of WST.
I just wanted to note that :
  • the 0.5 version is _outdated_, please don't use it; Use the svn version. This one is maintained, I am using it daily in my projects.
  • The Lazarus IDE package is not required to use the  toolkit; I for instance do not make use of it. If you have a WSDL you can use the ws_helper program to parse it. If you are authoring a web service, you can use the typ_lib_edtr to define you service.

When changing Lazarus version, sometime some errors appear, but that are some simple properties changed in the Lazarus version that should be rather simple to fix.
I want to clearly state that WST is maintained . I will later on, as time permits, make a new release for easy download.

Thanks you.
Best regards.

zzzato

  • New Member
  • *
  • Posts: 22
  • A delphi developer who is moving to debian
Re: WEB SERVICE: HOW?
« Reply #8 on: May 03, 2013, 02:07:55 pm »
H, Inoussa.
As first, I apologize..I did not want to disturb you... :-[

Tnanks for your answer.
Is this the correct link to get svN version?

https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/wst/trunk

Best.
« Last Edit: May 03, 2013, 03:33:40 pm by zzzato »
"Anything that can go wrong will go wrong"

zzzato

  • New Member
  • *
  • Posts: 22
  • A delphi developer who is moving to debian
Re: WEB SERVICE: HOW?
« Reply #9 on: May 03, 2013, 04:17:59 pm »
Quote
What kind of problem there is?

I don't want to argue.
I understand when Inoussa says "I''ve not time"...because I have not time too: I'm working 7 day, 12 hours for day.
But my question is "there are components for lazarus that really work?"
3 time I get some component and 3 time I've trouble.



Some month ago, I took zeos.
Many people say "good...powerful... beatiful...cool...." and so on.
I tried to use zeos with oracle stored procedure..
oops...zeos object for stored procedure (tzproc?) doesn't work...

Some week ago, I took Indy.
Note that I'm using indy on delphi, so I've a good "know how" about this suite.
I tried to install indy...and install fails: some error related to files path.

Last week, I took WST.
I tried to use it but lazarus can't compile WST.
Note that THIS IS NOT A "J'ACCUSE" VS  Inoussa!

I'm confused.
"Anything that can go wrong will go wrong"

ChrisF

  • Hero Member
  • *****
  • Posts: 542
Re: WEB SERVICE: HOW?
« Reply #10 on: May 03, 2013, 06:13:29 pm »
...
Some week ago, I took Indy.
Note that I'm using indy on delphi, so I've a good "know how" about this suite.
I tried to install indy...and install fails: some error related to files path.
...

Hello,

You should have make a post about this problem. I'm sure that someone here could have help you.

I don't know if you've finally succeeded into installing Indy or not, neither if you still want to do it. There are a few issues concerning the Indy installation, indeed: hopefully they'd be soon solved. Just wanted to say that then, Indy is working great with FPC, at least for me (and I'm also using it both with Delphi and FPC).

Just in case you still need it:
- the method indicated in the wiki is properly working: http://wiki.lazarus.freepascal.org/Indy_with_Lazarus . See "How to install [3] Windows, Indy 10.5.8.0", by copying all the needed files into one directory before doing the installation.
-if you dislike this solution, making some minor changes to the package file "indylaz.lpk" can make the trick. I can provide them if you wish. There is still a minor issue concerning the compilation in this case, but a simple workaround is also available.

I understand it might sound a bit confusing when you encounter such a kind of troubles, especially the first time. But there is a good chance that someone else has a solution, or at least another proposal.

JD

  • Hero Member
  • *****
  • Posts: 1915
Re: WEB SERVICE: HOW?
« Reply #11 on: May 03, 2013, 08:38:46 pm »
making some minor changes to the package file "indylaz.lpk" can make the trick. I can provide them if you wish. There is still a minor issue concerning the compilation in this case, but a simple workaround is also available.

Can you share these workarounds?
Linux Mint - Lazarus 4.8/FPC 3.2.2,
Windows - Lazarus 4.8/FPC 3.2.2

mORMot 2, PostgreSQL & MariaDB.

ChrisF

  • Hero Member
  • *****
  • Posts: 542
Re: WEB SERVICE: HOW?
« Reply #12 on: May 03, 2013, 09:58:35 pm »

Of course, I can.

But in order to not "pollute" this topic (as it's not really about Indy), I proposed to you to continue this conversation into your own topic, which is more relative to the indy installation itself : http://www.lazarus.freepascal.org/index.php/topic,20782.msg120890/topicseen.html

JD

  • Hero Member
  • *****
  • Posts: 1915
Re: WEB SERVICE: HOW?
« Reply #13 on: May 03, 2013, 10:10:41 pm »

Of course, I can.

But in order to not "pollute" this topic (as it's not really about Indy), I proposed to you to continue this conversation into your own topic, which is more relative to the indy installation itself : http://www.lazarus.freepascal.org/index.php/topic,20782.msg120890/topicseen.html

Seen it, thanks.

JD
Linux Mint - Lazarus 4.8/FPC 3.2.2,
Windows - Lazarus 4.8/FPC 3.2.2

mORMot 2, PostgreSQL & MariaDB.

binfch

  • New Member
  • *
  • Posts: 22
Re: WEB SERVICE: HOW?
« Reply #14 on: May 04, 2013, 07:42:49 pm »
@zzzato

I am using the RemObjects SDK (http://www.remobjects.com) to develop SOAP webservices on Linux -> It costs a few $, but is working OK.

For REST there is also http://www.habarisoft.com/habari_webcomponents.html but I never used it. Apparently there are some issues on Linux.

Cheers,
Peter
« Last Edit: May 04, 2013, 07:48:17 pm by binfch »

 

TinyPortal © 2005-2018