I have been struggling with Apache SOAP to try and build a request. Specifically, I don't understand how to embed these elements into the Header and Body sections. More specifically, how to do this nested tags. Thanks for any advice you can provide. Below, is a sample of the request I need to send to the server (WSDL).
I have the following code that will add parameters to the Body section, but I don't understand how to nest <UserName> and <Password> within the <comHdr> and <WSCredentials> tags