Commit Graph

33 Commits

Author SHA1 Message Date
019e7b604f IDE auto generated changes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2984 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-01 17:00:35 +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
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
be86fa976b Delphi compatibility fix
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@740 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-03-13 17:10:21 +00:00
2e85188ebc DDelphi 2009 support (Fix ... )
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@638 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-12-17 21:29:09 +00:00
0a9511fbc8 "schema" node finding for non qualified name
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@567 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-21 16:59:30 +00:00
7a5a5c150b Documentation handling in wsdl/xsd editing and parsing :
+ main windows of the Type Library Editor now has, for the select item, a document view, xsd view and a dependencies view
 + each type edit dialog now has, for the select item, a document view, xsd view and a dependencies view
 + the interface file generator is able to generate the xsd documentation as comments in the Object Pascal source code

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@531 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-08-18 18:19:00 +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
4b8de601a1 various IDE update
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@493 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-26 15:14:39 +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
5ce9841611 Delphi server side support ( binary, soap, xmlrpc ):
- 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
2007-07-13 22:33:55 +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
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
790cf39be4 Linux compatibility fixing
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@162 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-05-06 19:31:24 +00:00
320f639458 git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@161 8e941d3f-bd1b-0410-a28a-d453659cc2b4 2007-05-05 21:50:59 +00:00
2a350f8827 preparing for the 0.4 release
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@159 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-05-05 19:05:01 +00:00
74d5466765 client : new TCP transport implementation ( using synapse library ) in synapse_tcp_protocol.pas
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
2007-05-02 22:55:35 +00:00
44f1a2f5da ws_helper :
+ 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
2007-04-26 23:23:41 +00:00
558fbb5c86 bugs fixs
Amazon sample runs well

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@148 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-04-22 23:05:25 +00:00
7d05065529 ws_helper : Better attribute parsing in nested types
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@145 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-04-17 00:52:02 +00:00
bbeed9acfd ws_helper : nested type definition parsing
Example :
	        <xs:element name="NestedType">
	                <xs:complexType>
	                        <xs:sequence>
	                                <xs:element name="Property_1" type="xs:string"/>
	                                <xs:element name="Property_2" minOccurs="0" maxOccurs="unbounded">
      		                              <xs:complexType>
      	                                          <xs:sequence>
      	                                                 <xs:element name="Name" type="xs:string"/>
      	                                                 <xs:element name="Value" type="xs:string"/>
      	                                          </xs:sequence>
      	                                </xs:complexType>
	                                </xs:element>
	                        </xs:sequence>
	                </xs:complexType>
	        </xs:element>

ws_helper : Soap Binding Style are now recorded in the metadata registration subroutine generated by ws_helper


git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@144 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-04-12 00:48:00 +00:00
2090bf84b2 ws_helper parses ( and records in procedure Register_%service%_ServiceMetadata() )
- 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
2007-04-02 13:19:48 +00:00
49b0c3d159 soapAction parsing for operation, soap:address ( location ) parsing
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
2007-03-25 23:47:16 +00:00
0071bd8371 First implementation of the "WSDL to Pascal" fonctionality support in ws_helper.
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
2007-03-23 23:22:35 +00:00
b5ff30595d git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@37 8e941d3f-bd1b-0410-a28a-d453659cc2b4 2006-11-12 13:31:22 +00:00
0cb149edf4 Assertion fix in the parser.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@33 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2006-10-29 15:06:12 +00:00
e1f3f1041c library protocol added ( Hosting services into dynamic library DLL/SO).
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
2006-10-29 01:50:19 +00:00
35695810f7 git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@31 8e941d3f-bd1b-0410-a28a-d453659cc2b4 2006-10-28 17:04:49 +00:00
4381e28da6 first import
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2006-08-26 00:35:42 +00:00