Commit Graph

53 Commits

Author SHA1 Message Date
4f6721697c Handle the case of a method having the same name of its parent's service name, +test.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6681 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-10-11 11:41:28 +00:00
b8b487e621 XSD/WSDL parser, "group" construct : On "ref" site multiple occurrence handling + tests.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5013 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-20 19:41:11 +00:00
6e209c21fa <choice> construct parsing : Fix for unbounded embedded cases.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4634 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-05-04 12:32:49 +00:00
870591f5a1 Attributes cannot be array properties, Fix + test case.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4628 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-04-23 15:02:11 +00:00
980f7f882d Fix: Hyphens(-) support in procedure/function names of the service's interface.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4509 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-02-16 19:35:06 +00:00
5622ce75fd defaultElementForm, defaultAttributeForm : XSD generation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4231 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-30 19:15:27 +00:00
20a4f70c7f (XSD's) ElementFormDefault and AttributeFormDefault, group and attributeGroup, parsing and runtime handling.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4209 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-15 16:02:12 +00:00
f25c2c9c4c Parser : map xsd:string to UnicodeString (fix tests).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3056 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-17 17:27:34 +00:00
3714921313 Empty XSD schema fragment still generate in WSDL.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2996 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-03 16:20:42 +00:00
0e9f4b37c4 Remove the empty "types" node of the schema (causes false fail)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2982 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-01 16:55:36 +00:00
34fa0a046f Correct the namespace.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2981 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-01 16:54:26 +00:00
ab893594d7 Handle top level(global) declared attribute and references
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2695 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-03-05 15:48:26 +00:00
86ba7febad SOAP inline namespace handling test
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2487 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-08-12 01:15:12 +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
ac7aeb38c8 XSD's "include" handling, better "uses" generation for schema files translalted to pascal, better generated file names, handling of "import" and "include" in sub-directories, Handling of TComplexEnumContentRemotable
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1856 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-29 02:59:57 +00:00
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