gSOAP WS-Discovery: XML Data Binding

gSOAP WS-Discovery 2.8 Stable

- Main Page
- Related Pages
- Classes
- Files

XML Data Binding

Top-level root element "http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01":Hello of type "http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01":HelloType. Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code. Top-level root element "http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01":Bye of type "http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01":ByeType. Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code. Top-level root element "http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01":Probe of type "http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01":ProbeType. Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code. Top-level root element "http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01":ProbeMatches of type "http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01":ProbeMatchesType. Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code. Top-level root element "http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01":Resolve of type "http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01":ResolveType. Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code. Top-level root element "http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01":ResolveMatches of type "http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01":ResolveMatchesType. Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code. Top-level root element "http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01":Types of type "http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01":QNameListType. Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code. Top-level root element "http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01":Scopes of type "http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01":ScopesType. Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code. Top-level root element "http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01":XAddrs of type "http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01":UriListType. Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code. Top-level root element "http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01":MetadataVersion of type xs:unsignedInt. Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code. Top-level root element "http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01":SupportedMatchingRules of type "http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01":UriListType. Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code. Top-level root element "http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01":Security of type "http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01":SecurityType. Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code. Top-level root element "http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01":Sig of type "http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01":SigType. Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code. Top-level root element "http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01":AppSequence of type "http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01":AppSequenceType. Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code. Top-level attribute "http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01":Id of simpleType xs:ID. Note: use wsdl2h option -g to auto-generate a top-level attribute declaration and processing code.

SOAP/XML services use data bindings contractually bound by WSDL and auto- generated by wsdl2h and soapcpp2 (see Service Bindings). Plain data bindings are adopted from XML schemas as part of the WSDL types section or when running wsdl2h on a set of schemas to produce non-SOAP-based XML data bindings.

The following readers and writers are C/C++ data type (de)serializers auto- generated by wsdl2h and soapcpp2. Run soapcpp2 on this file to generate the (de)serialization code, which is stored in soapC.c[pp]. Include "soapH.h" in your code to import these data type and function declarations. Only use the soapcpp2-generated files in your project build. Do not include the wsdl2h- generated .h file in your code.

XML content can be retrieved from:

- a file descriptor, using soap->recvfd = fd
- a socket, using soap->socket = ...
- a C++ stream, using soap->is = ...
- a buffer, using the soap->frecv() callback

XML content can be stored to:

- a file descriptor, using soap->sendfd = fd
- a socket, using soap->socket = ...
- a C++ stream, using soap->os = ...
- a buffer, using the soap->fsend() callback

## Top-level root elements of schema "http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01"

- <wsdd:Hello> (use wsdl2h option -g to auto-generate)

- <wsdd:Bye> (use wsdl2h option -g to auto-generate)

- <wsdd:Probe> (use wsdl2h option -g to auto-generate)

- <wsdd:ProbeMatches> (use wsdl2h option -g to auto-generate)

- <wsdd:Resolve> (use wsdl2h option -g to auto-generate)

- <wsdd:ResolveMatches> (use wsdl2h option -g to auto-generate)

- <wsdd:Types> (use wsdl2h option -g to auto-generate)

- <wsdd:Scopes> (use wsdl2h option -g to auto-generate)

- <wsdd:XAddrs> (use wsdl2h option -g to auto-generate)

- <wsdd:MetadataVersion> (use wsdl2h option -g to auto-generate)

- <wsdd:SupportedMatchingRules> (use wsdl2h option -g to auto-generate)

- <wsdd:Security> (use wsdl2h option -g to auto-generate)

- <wsdd:Sig> (use wsdl2h option -g to auto-generate)

- <wsdd:AppSequence> (use wsdl2h option -g to auto-generate)