Hi,

1.) I have prepared the sample guide and I think it should add to the
doc in CVS.

2.) I also have prepared the clean server.wsdd.win32 file which includes
only samples. This will contain only required by the users. 

What do you think guys?

Thanks

Chinthana Dinapala
Associate Software Engineer
Virtusa Corp. 
World Trade Center
Office: +94-11-4765300 ext 5657
Mobile: +94-77-3059107
 

-----Original Message-----
From: Rangika Mendis [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 07, 2005 11:47 AM
To: Apache AXIS C Developers List
Subject: Re: Array & Base samples don't build

Thank you Samisa.

Regards,
Rangika
----- Original Message ----- 
From: "Samisa Abeysinghe" <[EMAIL PROTECTED]>
To: "Apache AXIS C Developers List" <[email protected]>
Sent: Thursday, April 07, 2005 10:50 AM
Subject: RE: Array & Base samples don't build


> Hi Rangika,
> These samples are *very* broken.
> This is because the generated code we have in CVS are quite old.
> I have implemented a new ant based script to generate code for
> server and clients and build them.
> You can run ant -d buldsamples.xml and get them built.
> 
> We should ship these samples with the release and not those old
> ones.
> Thanks,
> Samisa...
> 
> -----Original Message-----
> From: Rangika Mendis [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, April 07, 2005 10:52 AM
> To: Apache AXIS C Developers List
> Subject: Array & Base samples don't build
> 
> Hi All,
> 
> I generated code using the tool for Array & Base samples & they don't
> build
> with the relevant clients which exist in the cvs.
> The following are the errors encountered for Array -
> 
> 
>  ArrayClient.cpp
> ../../../../include\axis/client/Call.hpp(484) : warning C4251:
> 'm_strProxyHost' : class 'std::basic_string<char,struct
> std::char_traits<char>,class std::allocator<char> >' needs to have
> dll-interface to be used by clients of class 'axiscpp::Call'
> ../../../../include\axis/AxisException.hpp(176) : warning C4275: non
> dll-interface class 'exception' used as base for dll-interface class
> 'axiscpp::AxisException'
>         C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\exception(50)
> : see declaration of 'exception'
>
E:\checkout_1_5_final\ws-axis\c\samples\client\array\ArrayClient.cpp(69)
> :
> error C2440: '=' : cannot convert from 'int *' to 'int ** '
>         Types pointed to are unrelated; conversion requires
> reinterpret_cast, C-style cast or function-style cast
>
E:\checkout_1_5_final\ws-axis\c\samples\client\array\ArrayClient.cpp(73)
> :
> error C2440: '=' : cannot convert from 'int' to 'int *'
>         Conversion from integral type to pointer type requires
> reinterpret_cast, C-style cast or function-style cast
> intArrayType.cpp
> ArrayTestPortType.cpp
> ../../../../include\axis/client/Call.hpp(484) : warning C4251:
> 'm_strProxyHost' : class 'std::basic_string<char,struct
> std::char_traits<char>,class std::allocator<char> >' needs to have
> dll-interface to be used by clients of class 'axiscpp::Call'
> ../../../../include\axis/AxisException.hpp(176) : warning C4275: non
> dll-interface class 'exception' used as base for dll-interface class
> 'axiscpp::AxisException'
>         C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\exception(50)
> : see declaration of 'exception'
>
E:\checkout_1_5_final\ws-axis\c\deploy\wsdls\ClientOut\ArrayTestPortType
> .cpp
> (43) : warning C4101: 'pcCmplxFaultName' : unreferenced local variable
> Error executing cl.exe.
> 
> Regards,
> Rangika
> 
> 
> 
> 
> 

Axis C++ Samples Guide.

How to build the Samples?

01.) In command prompt go to the checkout folder [ws-axis\c].
02.) Then run the <ant -f buildSamples.xml> command.
03.) This will make the sample executable files and server shared libraries files for the samples in the \obj\samples folder in windows or \home\obj\samples folder in Linux.

How to run the build client applications?

01.) Run the apache server or the SimpleAxisServer <Server Port>.
02.) In command prompt go to [\obj\samples] in windows and [\home\obj\samples] in Linux.
03.) Then use any client name to run the sample. This will use default URL (http://localhost:80/axis/calculator) run the sample. If server is SimpleAxisServer then specify URL as in step no 06
.
04.) Following are the existing client samples.

SAMPLE NAME

DISCRIPTION

01.
array This is an Axis C++ web service for Simple Type Array which returns an array of elements. This is a DOCUMENT style service.
02.
base This is an Axis C++ web service for Base which is use to demonstrate Complex data types. SOAPBuilders Interoperability Lab Round 2 base test suite described at http://www.whitemesa.com/interop/proposal2.html. This is a RPC style service.
03.
bench This is an Axis C++ web service for demonstrate Axis Bench which is use to demonstrate Complex data types. This is a DOCUMENT style service.
04.
calculator This is an Axis C++ Service to demonstrate Calculator. This will support addition (add) subtraction (sub) multiplication (mul) division (div). This is a RPC style service.
05.
element This is an Axis C++ web service for demonstrate XSD Element which is use XSD data types. This is use set methods to retrieve XSD data types. This is a DOCUMENT style service.
06.
enumeration This is an Axis C++ web service for Enumeration demonstrate enum data type. This is a DOCUMENT style service.
07.
transportProperties This is an Axis C++ web service for demonstrate Transport Property. This is a DOCUMENT style service.

 

05.) And also <sample name> [-?] Or [-h] will show the help.
06.) Also <sample name> [server URL] E.g. http://localhost:9090/axis/calculator this will direct to the specific URL


Attachment: server.wsdd.win32
Description: server.wsdd.win32

Reply via email to