Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I tell gSOAP to use primitive XSD schema types or SOAP-ENC schema types?

gsoap Primitive schema types XSD
0
Posted

How can I tell gSOAP to use primitive XSD schema types or SOAP-ENC schema types?

0

Use typedef declarations for primitive types in the header file input to the compiler. This is important for SOAP RPC encoding style. For example, to declare a XSD schema string type, declare typedef char *xsd__string; and use the xsd__string type in remote method parameters and other compound data structures. See the documentation for more details on primitive XSD schema types and the section on doc/literal encoding. The declaration of SOAP-ENC schema types is similar. For example, typedef char *SOAP_ENC__string declares a SOAP-ENC:string schema type.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123