Gsoap

Applies to ReadyAPI 3.5, last modified on December 29, 2020

GSOAP is a C and C++ development toolkit for SOAP and REST XML Web services and generic C/C++ XML data bindings.

For details, see the following web page: http://www.cs.fsu.edu/~engelen/soap.html.

You can download the latest version of gSOAP from the official website.

Wsdl2h

Wsdl2h is a tool that converts SWDL to C/C++ definitions.

The Wsdl2h tool

Click the image to enlarge it.

Option Description

Run wsdl2h

Select to run the wsdl2h parser. If disabled, the other options on the tab have no effect.

WSDL

The path to the definition file to use.

Use cached WSDL

Select to use the WSDL definition cached in ReadyAPI.

File

The full path to the output file.

Indexed struct names

Select to generate indexed struct names.

C source

Select to generate C source code.

DOM

Select to use the XML DOM model.

Don’t qualify enum names

Select to disable enum name qualification.

Flat C++ class hierarchy

Select to generate a flat C++ class hierarchy.

Global top-level declarations

Select to generate global top-level declarations.

File path

The path to the files needed to generate the service.

Include license

Select to include license information.

Use xsd.h

Select to use the xsd.h module.

PrefixNs

The base namespace prefix name to use instead of ns.

ServicePrefixNs

The base namespace prefix name for service namespaces.

Polymorphic types

Select to create polymorphic types.

Proxy host:port

The proxy host name and port.

Disable STL code

Select to disable generation of STL code.

Type map file

The full path to the type map file.

Disable unions

Select to disable generation of unions.

Verbose

Select to print additional information.

Struct response

Select to wrap the response in a struct element.

Disable _XML any/anyAttribute

Select to disable generation of _XML any/anyAttribute elements.

Typedef synonyms

Select to generate typedef synonyms for struct and enum elements.

SoapCpp2

SoapCpp2 is a tool that generates RPC code and XML serializers from previously created C or C++ definitions.

The SoapCpp2 tool

Click the image to enlarge it.

Option Description

Run SoapCpp2

Select to run the SoapCpp2 compiler. If disabled, the other options on the tab have no effect.

SOAP 1.1

Select to generate SOAP 1.1 bindings.

SOAP 1.2

Select to generate SOAP 1.2 bindings.

Client-side code only

Select to generate client-side code only.

Server-side code only

Select to generate server-side code only.

Disable soapClientLib/soapServerLib

Select to disable generation of soapClientLib/soapServerLib libraries.

SOAPAction HTTP header dispatch

Select to use the value of the SOAPAction HTTP header as a dispatch method.

C source code

Select to generate C source code.

SOAP RPC encoding

Select to generate SOAP RPC encoding style bindings.

Inherit proxies and objects

Select to generate service proxies and objects inherited from SOAP struct elements.

Import path(s)

A comma-separated list of gSOAP import paths.

Linkable modules

Select to generate a linkable module.

This feature is experimental and is not guaranteed to be stable.

MatLab code

Select to generate Matlab™ code for the MEX compiler.

Service name override

Select to use the service name to rename service functions and the namespace table.

File prefix

The prefix of the generated file.

Xsi:type for SOAP/XML messaging

Select to generate code for xsi:typed SOAP and XML messages.

Disable WSDL/schema

Select to disable generation of WSDL and schema files.

Disable sample XML

Select to disable generation of sample XML message files.

See Also

Code Generation in ReadyAPI
Running SOAP Code Generation Tools

Highlight search results