Commit Graph

38 Commits

Author SHA1 Message Date
fbaef11db8 composed name handling (such as "one-prop")
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1331 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-10-01 20:44:10 +00:00
19b53bc223 fix wsdl operation attributes parsing when there are multiple attributes : unit test.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1243 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-07-02 15:33:29 +00:00
d6d7852372 SOAP test
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1170 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-02-27 16:13:41 +00:00
34030812f8 Serialization : By default, attributes are no longer qualified.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1114 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-01-05 19:59:56 +00:00
7ff8d383ef schema sparser => External type definitions referenced by <import> statement in XSD files or WSDL schema section are now handle. Note that the external files must reside in the same folder as the main schema being parsed. The external files are parsed and used in the main file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1015 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-11-23 17:55:10 +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
41dd09e69f parameter access qualifiers in WSDL parsing and generation tests.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@886 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-30 16:46:22 +00:00
f0a291994a parameter access qualifiers in WSDL parsing and generation tests.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@885 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-30 16:40:19 +00:00
2ac2f77e12 Runtime WSDL generation : object collection handling and test case.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@864 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-26 12:36:05 +00:00
0fc47f2004 + runtime WSDL generation : SOAP Header blocks should not derive from THeaderBlock
+ test case

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@862 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-25 23:21:48 +00:00
8e1920e347 Code generation : Array item external name setting in the interface file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@814 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-05-29 15:19:58 +00:00
81967a7293 Code generation : Array item external name setting in the interface file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@813 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-05-29 15:17:44 +00:00
a258f6cefb WSDL Parser : fix "var" parameter parsing
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@800 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-05-15 19:01:13 +00:00
f267faed72 Type Hint handling record, alias, array ( WideString, AnsiString, UnicodeString handling ). Parsers and generators.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@772 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-04-07 16:28:22 +00:00
85d250cfc0 Type Hint handling in the "message" component of wsdl files ( WideString, AnsiString, UnicodeString handling )
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@768 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-04-06 22:25:04 +00:00
3affd43c12 +Delphi : QWord = UInt64 for CompilerVersion > 16.0
+THeaderBlockProxy :
  This class is used as a wrapper to allow a TBaseRemotable instance to be sent and received as a header block
+ICallContext.AddHeader() : 
  Overload to support classes that do not inherit from THeaderBlock
+TTypeRegistryItem.AddExternalSynonym(), TTypeRegistryItem.IsExternalSynonym()
  Usefull when a xsd defines a complex type and a "element" which type is the complex one.
+TTypeRegistry.FindByDeclaredName():
  Add an option to include the external synonyms in the search

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@743 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-03-18 15:51:45 +00:00
72809c8784 do not write serialize property if its serialization is optional and its value equals the default one.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@736 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-03-12 21:58:27 +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
83f0425897 XSD <any> and <anyAttribute> handling
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@598 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-10-23 19:21:59 +00:00
8c09b81cfd parsing wsdl with schema, but xsd namespace not declared in top node
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@595 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-10-17 20:31:55 +00:00
122d94f289 XSD parsing : metadata extraction bug fix and tests
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@579 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-29 12:37:11 +00:00
9550266e37 rename *.WSDL to *.wsdl ( part 2 )
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@565 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-21 16:02:05 +00:00
b767593310 rename *.WSDL to *.wsdl ( part 1 )
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@564 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-21 15:47:25 +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
5276962d02 Fix empty complexType parsing
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@552 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-11 02:12:27 +00:00
975833fadc Part 1
* 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@549 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-11 00:40:36 +00:00
46a16cfdd8 part 2
wsdl function "result" part is determined now as ( in order and stops when ok ) :
  * "result" part
  * "return" part
  * "_result" part
  * "result_" part
  * "_return" part
  * "return_" part
  * the last part

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@547 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-10 01:48:30 +00:00
c899af0c2d Part 1
runtime WSDL generation : 
  * class inheritance is handled correctly
  * record type handling
  * tests
several warnings get fixed

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@541 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-10 01:06:46 +00:00
7296df02a0 +Serialization of compound element ( TBaseComplexRemotable ) is now handle by TObjectSerializer that can read/write elements of different name spaces
+Fix server side SOAP headers reading.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@533 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-08-24 13:33:06 +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
e6599ad9f8 Document wrapped parameters handling : generation of an easy access interface
that expose simpler parameters. 
see ws_helper -y commute

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@503 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-07-03 16:15:03 +00:00
431c94d251 Default values of class's properties
Extended metadata of class's properties

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@472 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-06 15:18:12 +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
e7786c75b4 xsd parser tests suite :
- array test
 - record test

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@266 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-09-10 22:19:20 +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