1
This is a stub generator for NoTA. It can be used with any transport by 
2
rewriting the stub adapter. The stubs that are generated are platform 
3
independent and they require a stub adapter. This package contains stub adapter 
4
for H_IN release 3.
5
6
The stub generator can be found under stubgen directory and it is a perl script.
7
The stub generator needs perl XML package that is named libxml-simple-perl in 
8
Ubuntu. The package name in perl is LibXML.pm.
9
10
The stub generator can be invoked like this
11
notastubgen3.pl <output path> <wsdl/xml file> [xsd file] [output name]
12
13
example:
14
15
nota-stubgen3.pl /tmp/Test      test.xml   test.xsd    fileservice
16
17
18
Here, output name is optional. In the case user dont pass anything then 
19
xml/wsdl file name is consider as output name.
20
21
It generates stubs written in ANSI C in the current directory.
22
23
The Stub adapter can be found under adapter directory. Currently there
24
is posix adapter. It can be compiled with make command and the linked to a
25
program.
26
27
There is a test program and a makefile for it that invokes the stub generator
28
and links agains stub adapter. Take a look at it under test directory.
29
30
The program needs H_IN headers and links against H_IN libraries. The makefiles
31
expect those to be found at the same top level.
32
33
e.g.
34
35
-your_dir
36
 +-h_in
37
 +-stubgen
38
39
The stubadapter library can be used with pkg-config or directly linking to the 
40
library files.
41