I am in need of help when using consumer soap wsdl execution.
I am trying to develop a POC where we execute a couple of soap API calls to an external system.
This system is supposed configured to utilize the Web Services Security UsernameToken Profile 1.1 and this is NOT included within the wsdl. First problem occurs when trying to import the wsdl, if done from HTTPS url I was given then webMethods (9.7) fails to import anything and I get a security error. If I save the wsdl to a local xml file it will successfully import but I don’t know how to change the webMethods components to utilize the security profile needed.
I read that a policy needs to be setup and imported into webservices descriptor component but wasn’t sure if this was correct or not.
If this is needed how does this then get into the connectors component that allows me to set the appropriate xml fields.
This is the soap header I am supposed to be creating:
<wfswse:Impersonate xmlns:wfswse="http://services.workforcesoftware.com/xsd"> <wfswse:UserId>9999</wfswse:UserId> </wfswse:Impersonate>
I don’t understand how to get these segments into connector code unless they have already been included within the WSDL.
Thanks for your help.