Web Service SOAP authentication

I’m trying to consume a web service from Notes that needs the SOAP authentication header. I’ve created the consumer from the WSDL, but when I try to connect, I get the error user not authenticated. How do I build the SOAP header to include the authentication?

I’ve created the consumer with Java, not LotusScript.

I’m trying to connect to Filenet CEWS 3.5 if that helps.

Thanks