/*	header.h

	Defines SOAP Header data structure shared by client and service modules

	Copyright (C) 2000-2002 Robert A. van Engelen. All Rights Reserved.
*/

//gsoap h schema namespace: http://websrv.cs.fsu.edu/~engelen/h.xsd

// h:authentication type of SOAP Header <h:credentials> element
struct h__authentication
{ @char *userid; // h:userid attribute
  @char *passwd; // h:passwd attribute
};


/// Built-in attribute "SOAP-ENV:actor".
typedef std::wstring _SOAP_ENV__actor;

/// Built-in attribute "SOAP-ENV:encodingStyle".
typedef std::wstring _SOAP_ENV__encodingStyle;


class _ns1__TransactionID
{ public:
/// __item wraps 'xs:string' simpleContent.
    std::wstring                         __item                        ;
/// Imported attribute reference SOAP-ENV:mustUnderstand.
   @char*                                SOAP_ENV__mustUnderstand       0;	///< Optional attribute.
/// Imported attribute reference SOAP-ENV:encodingStyle.
   @_SOAP_ENV__encodingStyle*            SOAP_ENV__encodingStyle        0;	///< Optional attribute.
/// Imported attribute reference SOAP-ENV:actor.
   @_SOAP_ENV__actor*                    SOAP_ENV__actor                0;	///< Optional attribute.
/// A handle to the soap struct that manages this instance (automatically set)
    struct soap                         *soap                          ;
};

// SOAP Header elements
struct SOAP_ENV__Header
{ struct h__authentication *h__credentials; // <h:credentials>
	_ns1__TransactionID *ns1__TransactionID;	/* mustUnderstand */
};