[snichols] I'm working on a Tcl client to integrate to a web service. I have an example of how the SOAP envelope should look it is using two complex data types. I'd prefer to use Tcl SOAP then have to code the XML using tDOM and HTTP. Here's my Tcl code that generates a SOAP request envelop that's close but not good enough for the web service: package require SOAP package require rpcvar namespace import -force rpcvar::typedef typedef { Username DATA Password DATA Nonce DATA Created DATA RemoteUser DATA RemoteClient DATA RemoteAddress DATA EnvironmentalData DATA SessionID DATA } authentication typedef { Authentication authentication ApplicationType DATA RequestID DATA WebUserID DATA WebUserName DATA PlanID DATA EmployerID DATA MemberID DATA EntityType MEMBER EntityReferenceNumber DATA Password DATA EncryptionMethod PLAINTEXT InputMethodEditor TELEPHONE } webUser SOAP::create isWebUserAuthenticated -proxy "http://localhost/superSOAP/webcontrol.asmx" \ -action "http://www.atune.biz/web/services/WC/2006-01/isWebUserAuthenticated" \ -uri "http://www.atune.biz/web/services/WC/2006-01" \ -params {WebUser webUser} When the soap method is called it generates this as the SOAP request :