Recent

Author Topic: Web Service Toolkit (WST) 0.6 released.  (Read 12701 times)

inoussa

  • New Member
  • *
  • Posts: 14
Web Service Toolkit (WST) 0.6 released.
« on: May 09, 2014, 02:34:44 am »
Hello,

I am glad to announce the 0.6 release of the Web Service Toolkit.

What is new in the 0.6 release :
  License change :
    * All the code in WST is now using the FPC' RTL license (modified LGPL see COPYING.modifiedLGPL)

  WSDL/XSD Parsers :
    * Referenced external schemes parsing : <import> and <include> handling
    * Pascal Unit renaming
    * Handle top level(global) declared attribute and references
    * More XSD constructs parsing
    * Parser case sensitivity can be enabled or disabled
    * Document wrapped parameters handling : generation of an easy access interface

  Type Library Editor
    * Beautification : +images for menu items, +Tool bar
    * Support for External XSD Schema referencing
    * Documentation for objects
    * Show object dependency
    * Show object XSD schema
    * Collection based arrays support
    * Items cloning
    * Better WSDL generation

  Run Time :
    * FPC's Native HTTP Client transport
    * FPC's Native TCP Client transport
    * FPC's Native HTTP Server
    * FPC's Native TCP Server
    * iOS http transport
    * Client Data Filter (interceptors used to manipulate the payload : encrypt, compress, ...)
    * Client side HTTP Cookie management
    * Better SOAP headers support
    * Better WSDL generation

  Other :
    * Documentation updated : the sample used for the tutorial is now one of the WST samples
    * More test cases
    * Bug Fixes

   
"Web Service Toolkit" is a web services package for FPC, Lazarus and
Delphi; "Web Service Toolkit" is meant to ease web services
consumption and authoring by FPC, Lazarus and Delphi users.


Features :
    * client and server development
    * services as standalone EXE or dynamic libraries ( dll/so )
    * SOAP, XMLRPC, JSON-RPC, binary serializers
    * WSDL/XSD to Object Pascal converter
    * The framework is not bound to a transport protocol (FPC native network library, synapse and Indy based transport implementation provided for server and client development)
    * The framework is not bound to a messaging protocol(SOAP, XMLRPC,JSONRPC,custom binary)
    * Lazarus IDE WSDL importer wizard
    * WSDL GUI editor ( Type library editor )
    * can be used without the LCL
    * FpcUnit and Dunit test cases

Download at https://sites.google.com/site/inoussa12/wst-0.61.zip?attredirects=0&d=1

Best regards.

--
Inoussa O.

JD

  • Hero Member
  • *****
  • Posts: 1848
Re: Web Service Toolkit (WST) 0.6 released.
« Reply #1 on: May 09, 2014, 10:30:11 am »
Great news! Glad to see WST is still under development. Keep up the good work.

JD
« Last Edit: May 10, 2014, 02:23:48 pm by JD »
Windows - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

airpas

  • Full Member
  • ***
  • Posts: 179
Re: Web Service Toolkit (WST) 0.6 released.
« Reply #2 on: May 09, 2014, 11:08:15 pm »
thanks so much for such great toolkit .


mangakissa

  • Hero Member
  • *****
  • Posts: 1131
Re: Web Service Toolkit (WST) 0.6 released.
« Reply #3 on: December 21, 2016, 03:09:01 pm »
I want to compile an intergrade this tool in the IDE, but get this message:
Quote
Compile package wst_core 0.6: Exit code 1, Errors: 2, Warnings: 2, Hints: 6
object_serializer.pas(202,5) Hint: Parameter "AObject" not used
object_serializer.pas(204,5) Hint: Parameter "AStore" not used
object_serializer.pas(211,5) Hint: Parameter "AObject" not used
object_serializer.pas(213,5) Hint: Parameter "AStore" not used
object_serializer.pas(783,29) Warning: Automatic type conversion from floating type to COMP which is an integer type
object_serializer.pas(815,22) Hint: Local variable "enumData" does not seem to be initialized
object_serializer.pas(994,29) Warning: Automatic type conversion from floating type to COMP which is an integer type
object_serializer.pas(1026,22) Hint: Local variable "enumData" does not seem to be initialized
object_serializer.pas(1191,3) Error: Expected another 3 array elements
object_serializer.pas(1237,3) Error: Expected another 3 array elements
It will not compile. First I used wst_core package.

Please help.

I'm using 0.61 on lazarus 1.62 / fpc 3.00 windows
Lazarus 2.06 (64b) / FPC 3.0.4 / Windows 10
stucked on Delphi 10.3.1

mangakissa

  • Hero Member
  • *****
  • Posts: 1131
Re: Web Service Toolkit (WST) 0.6 released.
« Reply #4 on: December 31, 2016, 10:16:56 am »
No one is using WSDL import in Lazarus?
Lazarus 2.06 (64b) / FPC 3.0.4 / Windows 10
stucked on Delphi 10.3.1

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4467
  • I like bugs.
Re: Web Service Toolkit (WST) 0.6 released.
« Reply #5 on: December 31, 2016, 12:58:13 pm »
WST trunk works. I sent a message to WST forum
 https://groups.google.com/forum/#!forum/wst-list
asking Inoussa to make a new release and to provide it for our new online package manager.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

mivi71dk

  • Newbie
  • Posts: 6
Re: Web Service Toolkit (WST) 0.6 released.
« Reply #6 on: June 14, 2017, 10:00:08 am »
WST trunk works. I sent a message to WST forum
 https://groups.google.com/forum/#!forum/wst-list
asking Inoussa to make a new release and to provide it for our new online package manager.

Where do I find this "trunk"?

I believe I need this to install here ...

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: Web Service Toolkit (WST) 0.6 released.
« Reply #7 on: June 27, 2017, 09:30:30 pm »
In order to avoid further hijacking of Online Package Manager thread with my WST patch (http://forum.lazarus.freepascal.org/index.php/topic,34297.msg249631.html#msg249631) I will continue describing here compilation problems that still exist in WST trunk (currently at 0.7).

Unfortunately not all changes from the patch were applied to trunk. There are probably some valid reasons, but this means that I still have compilation errors on various configurations:

1) On wst_synapse.lpk in Manjaro64 official repo Laz64 1.6.4 + Fpc64 3.0.2 as shown on screenshot, since synapse that I have needs this
Code: Pascal  [Select][+][-]
  1. FConnection.Sock.ConnectionTimeout
to be changed into
Code: Pascal  [Select][+][-]
  1. FConnection.Sock.SocksTimeout

2) On wst_core.lpk in Manjaro64 Laz64 trunk Fpc64 trunk
Code: Pascal  [Select][+][-]
  1. {$ELSE}
  2.   if not GetThreadManager(FTM) then
  3.     raise ESemaphoreException.Create('Unable to get the thread manager.');
  4.   FHandle := FTM.SemaphoreInit();
  5.   for i := 1 to FLimit do
  6.     FTM.SemaphorePost(FHandle);
  7. {$ENDIF}
needs to be changed to
Code: Pascal  [Select][+][-]
  1. {$ELSE}
  2.   {$IFDEF WINDOWS}
  3.   if not GetThreadManager(FTM) then
  4.     raise ESemaphoreException.Create('Unable to get the thread manager.');
  5.   FHandle := FTM.SemaphoreInit();
  6.   for i := 1 to FLimit do
  7.     FTM.SemaphorePost(FHandle);
  8.   {$ENDIF}
  9. {$ENDIF}
, then
Code: Pascal  [Select][+][-]
  1. {$ELSE}
  2.   if ( FHandle <> nil ) then
  3.     FTM.SemaphoreDestroy(FHandle);
  4.   FHandle := nil;
  5. {$ENDIF}
to
Code: Pascal  [Select][+][-]
  1. {$ELSE}
  2.   {$IFDEF WINDOWS}
  3.   if ( FHandle <> nil ) then
  4.     FTM.SemaphoreDestroy(FHandle);
  5.   FHandle := nil;
  6.   {$ENDIF}
  7. {$ENDIF}
, then
Code: Pascal  [Select][+][-]
  1.   FTM.SemaphoreWait(FHandle);
to
Code: Pascal  [Select][+][-]
  1.   {$IFDEF WINDOWS}
  2.   FTM.SemaphoreWait(FHandle);
  3.   {$ENDIF}  
and
Code: Pascal  [Select][+][-]
  1.   FTM.SemaphorePost(FHandle);
to
Code: Pascal  [Select][+][-]
  1.   {$IFDEF WINDOWS}
  2.   FTM.SemaphorePost(FHandle);
  3.   {$ENDIF}
There is also the same already mentioned problem with wst_synapse.lpk.

3) On wst_synapse.lpk in Win10x64 Laz64 trunk + Fpc64 trunk compilation has the same Synapse error as already mentioned.

All this was already fixed once in my patch, but I really don't care about the patch too much. It can probably be made much better when you are familiar with WST code. All I need is WST to compile on current official and trunk Laz+Fpc, so I would like first to ask if anyone can confirm my findings on similar configurations?
« Last Edit: June 27, 2017, 10:31:47 pm by avra »
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4467
  • I like bugs.
Re: Web Service Toolkit (WST) 0.6 released.
« Reply #8 on: June 29, 2017, 08:30:47 am »
You should write in the WST mailing list: http://groups.google.com/group/wst-list.
Inoussa reads it.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: Web Service Toolkit (WST) 0.6 released.
« Reply #9 on: June 29, 2017, 02:45:57 pm »
You should write in the WST mailing list: http://groups.google.com/group/wst-list.
Inoussa reads it.
I have already communicated with him by mail, but thanks anyway. I was not aware of this list.
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

 

TinyPortal © 2005-2018