- Field may be hidden by calling SetFieldSerializationVisibility()
- Field may be mapped to XML Attribute by calling RegisterAttributeProperty()
Some methods and routines have been marked "inline". By default the "inline" modifier is not enable. To enable it
uncomment the "//{$DEFINE USE_INLINE}" line in wst_global.inc.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@244 8e941d3f-bd1b-0410-a28a-d453659cc2b4
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
- the Indy http_server compile and works
- for xml, the Delphi xmldom unit as used ( tested with msxml )
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@213 8e941d3f-bd1b-0410-a28a-d453659cc2b4
server : TCP server implementatiion ( using synapse library ) in synapse_tcp_server.pas
Delphi : first binary format support
bugs fix in the WSDL generation for the server side
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@158 8e941d3f-bd1b-0410-a28a-d453659cc2b4
+ wst_CreateInstance_<service_name>();
new function to create a default proxy based on the address and params provided by the wsdl file.
wst runtime :
+ GetServiceDefaultFormatProperties()
+ GetServiceDefaultAddress()
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@153 8e941d3f-bd1b-0410-a28a-d453659cc2b4
- service/port for <soap:address>
- binding/operation for "soapAction"
ws_helper : better parsing of "function" operations
ws_helper supports a new switch :
-u MODE Generate the pascal translation of the WSDL input file
MODE value may be U for used types or A for all types
Complexe types extending with simpleContent support in the runtime and ws_helper :
sample WSDL type
<xs:complexType name="MeasureType">
<xs:simpleContent>
<xs:extension base="xs:decimal">
<xs:attribute name="UnitSystem" type="xs:token" use="optional">
</xs:attribute>
<xs:attribute name="ZeroPoint" type="string" use="optional">
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
embedded array support :
sample WSDL type
<xsd:complexType name="EmbeddeArraySample">
<xsd:sequence>
<xsd:element name="Name" type="xsd:string"/>
<xsd:element name="Count" type="xsd:int"/>
<xsd:element name="ArrayItem" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
sample instance of "EmbeddeArraySample"
<example>
<Name>WST NAME</Name>
<Count>3</Count>
<ArrayItem>Item 0</ArrayItem>
<ArrayItem>Item 1</ArrayItem>
<ArrayItem>Item 2</ArrayItem>
</example>
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@139 8e941d3f-bd1b-0410-a28a-d453659cc2b4
TServiceOperation now has Properties ( see IModuleMetadataMngr.SetServiceCustomData ),
Code has been refactored to use ParseFilter() instead using TRttiFilterCreator
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@136 8e941d3f-bd1b-0410-a28a-d453659cc2b4
ws_helper now has the following parameters :
ws_helper [-u] [-p] [-b] [-i] [-oPATH] inputFilename
-u Generate the pascal translation of the WSDL input file
-p Generate service proxy
-b Generate service binder
-i Generate service minimal implementation
-o PATH Relative output directory
-a PATH Absolute output directory
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@135 8e941d3f-bd1b-0410-a28a-d453659cc2b4
connexion string format is
lib:FileName=<A File Name>;target=<the target service>
example :lib:FileName=C:\Programmes\lazarus\wst\tests\library\obj\lib_server.dll;target=ICalculator
todo : test on Linux, write Documentation in the Wiki.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@32 8e941d3f-bd1b-0410-a28a-d453659cc2b4