Commit Graph

47 Commits

Author SHA1 Message Date
a9a772e219 Fix "record" marshalling, Better Proxy/Binder generated code
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3861 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-03 13:33:43 +00:00
1ca4e37446 Parser : map xsd:string to UnicodeString.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3055 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-17 17:25:51 +00:00
aa29744538 Parser : map xsd:decimal to Currency.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3052 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-17 14:58:42 +00:00
041a6b2a36 License change : All the code in WST is now using the FPC' RTL license (modified LGPL see COPYING.modifiedLGPL)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2997 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-03 16:34:30 +00:00
4edd9df7fa Better XSD/WSDL generation : "import" nodes are correctly generated.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2983 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-01 16:58:45 +00:00
2ba7ee7cd2 Add support for External Schema referencing.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2947 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-18 13:36:57 +00:00
0a2294b0d7 * Remove duplicated class' properties(Complex type restriction case)
* Add the "_" prefix or the "_Type" suffix only when necessary
* Search module by namespace if a namespace is provided (FindModule)
* Parse schema's imported documents

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2840 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-19 11:04:25 +00:00
7d73bd43ac Use TFPList in fpc 2.6.1 now
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2574 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-10-22 13:37:15 +00:00
6bbca25247 fcl-passrc now uses TFPList instead of TList.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2162 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-11-26 17:54:55 +00:00
e4e3f34376 "CaseSensitive" fixes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2144 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-11-15 19:11:17 +00:00
8b1e3a960e Parser's "CaseSensitive" implementation fix.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1963 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-16 00:56:48 +00:00
fc1c449cd2 xsd's "choice" construct parsing + tests
parser is case sensitive  b default now, + tests

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1942 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-14 02:31:02 +00:00
e9067503ae Parser's "CaseSensitive" implementation. To got the parser Case-Sensitive, provide the "-cS" argument at command line when using ws_helper.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1931 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-10 03:44:54 +00:00
409a5f8ba7 Add xsd:language
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1351 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-10-15 13:46:26 +00:00
ed37484810 Replace property "store" prefix by sWST_PROP_STORE_PREFIX( = 'wstHas_')
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1339 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-10-11 12:22:23 +00:00
73653e4c9b easy access interface should be handle only in the unit containing the original interface.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1318 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-09-08 14:02:52 +00:00
bae81d0e49 Create default service binding for interfaces while parsing Pascal files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1186 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-03-25 12:33:32 +00:00
ca6cdc0315 Compatibility with new fcp-passrc
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1171 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-02-27 16:17:21 +00:00
c7e3cdf5c8 Better Array generation
Define "float" as "Single"

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@997 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-11-09 09:48:35 +00:00
3c2298e4eb Currency (native type) support.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@979 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-10-07 17:41:09 +00:00
ffe9a95736 support for anyType and schema_Type
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@974 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-10-07 13:00:48 +00:00
420a28dc1d Preparing Type name and Element disambiguation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@950 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-09-02 12:24:19 +00:00
b57ed66842 Test suite : fix memory leaks.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@912 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-07-16 17:38:48 +00:00
5b6f63f68a TDateTimeRemotable registration for the XSD/WSDL parsers.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@907 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-07-14 14:54:12 +00:00
eda0eb7910 Unify resource strings in wst_consts.pas
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@902 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-07-09 14:10:58 +00:00
c8ad953c7c TDurationRemotable and TTimeRemotable are not implemented, so do not register them in the type register. Instead these types ( duration and time ) are typed string alias.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@887 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-30 20:26:15 +00:00
cff1351132 + Base64( refactored ),
+ Base16 
+ Extendable "AnsiChar" and "WideChar"
+ tests

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@665 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-01-19 17:46:33 +00:00
f8f72633af Correct method declaration ( specify "override")
fix warning

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@604 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-11-19 10:38:29 +00:00
f44dad52d7 WideString and UnicodeString support by the Type Library Editor/ws_helper
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@562 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-17 01:45:04 +00:00
b2368463cf Starting WideString support by the Type Library Editor/ws_helper
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@561 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-15 02:34:09 +00:00
bc4dd0ba39 Part 2
* simple content header block implementation : TSimpleContentHeaderBlock
  * XSD/WSDL generator tests : header, simple content header, collection

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@550 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-11 00:42:54 +00:00
d8690785ba Define TBinaryString ( = ansistring ) and use it in base64 BinaryData
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@532 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-08-18 19:04:16 +00:00
97f4b386da fpc 2.2.0 compatibility fix
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@523 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-08-07 00:44:09 +00:00
639bde5376 +Object Collection support
All WST custom attributes are now namespace qualified
Correct XDS generator for complex type extending simple type

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@520 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-08-01 21:38:55 +00:00
a2c31b16a1 Handling of an enumeration with an empty item ( reported by Michael Van Canneyt )
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@491 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-26 15:06:00 +00:00
aa9c003b61 Allow customization of namespace alias
Properties's extended metadata
Add Option to not generate embedded arrays
code cleaning

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@465 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-06 14:59:24 +00:00
4ac8b874cf json serialization : client & server
base64 encoded support + tests
new tests for schema parsers : complex type extending simple type

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@303 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-12-29 00:58:19 +00:00
343b11db66 wsdl parser : assume style=document binding if not specified
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@277 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-10-19 15:30:20 +00:00
dc2b1b55c0 xsd generator
wsdl generator

xsd & wsdl parser test : embedded record

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@269 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-09-16 00:31:45 +00:00
1c633e091d wsdl2pas_imp.pas has been reorganized :
- xsd_parser.pas XML schema parser
  - wsdl_parser.pas WSDL parser ( uses xsd_parser to parse type definitions )

ws_helper now supports XML Schema ( .XSD files ) parsing.

test cases for XSD and WSDL parsers

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@264 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-09-09 22:30:50 +00:00
95fb7fb08f Delphi compiles ws_helper
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@254 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-09-02 19:05:47 +00:00
a670b3cc11 Record definition partialy supported in Type Library Editor
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@245 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-08-21 22:14:13 +00:00
11a897fc26 Object Pascal "record" serialization ( first commit! )
TTest_TIntfPoolItem
TTest_TSimpleItemFactory
TTest_XmlRpcFormatterExceptionBlock
TTest_SoapFormatterExceptionBlock
Record serialization test

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@243 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-08-19 00:29:43 +00:00
7032cef6b7 - Type Library Editor : array support
- better Delphi support
- server listeners refactored to ease service creation

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@214 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-07-14 23:17:03 +00:00
65f4a3dffd + TStringBufferRemotable = reading a node's raw buffer
+ Better Delphi support : client & server( new )
    - SOAP, XMLRPC and BINARY formats

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@212 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-07-12 14:46:45 +00:00
549deb3e6d lazarus IDE integration :
- WSDL file import ( GUI ) menu   Project/Web Services Toolkit/Import WSDL File ...
  - WSDL Type Library Editor ( GUI ) Project/Web Services Toolkit/Type Library Editor...


git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@209 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-07-07 20:56:01 +00:00
63754badc0 switching the internal pascal parser to fcl-passrc
type_lib_edtr: type library editor

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@190 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-06-24 23:33:51 +00:00