SOAP Header requires License Key
I am attempting to invoke a commercial web service. This requires a License Key to be passed. The variable created for the Partner Link does not contain this element. On investigation of the WSDL, the License Key is referenced in the soap:header:
<soap:header message="s0:LicenseInfoMessage" part="LicenseInfo" use="literal" />
How do I pass the License Key when I invoke the service ? I did see a reference to bpelx:inputHeaderVariable in a post, however I tried this (assign key to a variable named licenceKey and then add bpelx:inputHeaderVariable="licenceKey" in the invoke). This threw a java.lang.ClassCastException so I must have missed the point or done something wrong. As a license key is likely to be required for many commercial web services there must be an easy solution to this.
FYI the WSDL is at http://ws.strikeiron.com/UKAddressVerification?WSDL