Hi List,
I am having trouble getting the authentication to work when adding a WSDL via "Add SOAP a Host" Workflow.
The server I am trying to add requires 'Basic' Authentication but the Workflow always errors with:
"IOException: Server returned HTTP response code: 401 for URL: https://10.0.6.144/iControl/iControlPortal.cgi?WSDL=Networking.SelfIP (Dynamic Script Module name : addSOAPHost#7)"
I get this despite providing the Basic Authentication details when prompted.
Full output after workflow failure:
false <Attribute @name='name' @type='string' @stringValue='LTM-VE'> string LTM-VE <Attribute @name='name' @type='string' @stringValue='LTM-VE'>
false <Attribute @name='connectionTimeout' @type='number' @stringValue='30.0'> number 30.0 <Attribute @name='connectionTimeout' @type='number' @stringValue='30.0'>
false <Attribute @name='requestTimeout' @type='number' @stringValue='60.0'> number 60.0 <Attribute @name='requestTimeout' @type='number' @stringValue='60.0'>
false <Attribute @name='authenticationType' @type='string' @stringValue='Basic'> string Basic <Attribute @name='authenticationType' @type='string' @stringValue='Basic'>
false <Attribute @name='sessionMode' @type='string' @stringValue='Shared Session'> string Shared Session <Attribute @name='sessionMode' @type='string' @stringValue='Shared Session'>
false <Attribute @name='username' @type='string' @stringValue='admin'> string admin <Attribute @name='username' @type='string' @stringValue='admin'>
false <Attribute @name='password' @type='SecureString' @stringValue='8AF70F61F7387307766F97256424072280DC0603A31A51AE0505F354E00855C48E1513AE5AA1045F93ED3743E12435503A'> SecureString password <Attribute @name='password' @type='SecureString' @stringValue='8AF70F61F7387307766F97256424072280DC0603A31A51AE0505F354E00855C48E1513AE5AA1045F93ED3743E12435503A'>
false <Attribute @name='isWsdlLocal' @type='boolean' @stringValue='false'> boolean false <Attribute @name='isWsdlLocal' @type='boolean' @stringValue='false'>
false <Attribute @name='wsdlContent' @type='string' @stringValue='< -- WSDLContent -->'> string < -- WSDLContent --> <Attribute @name='wsdlContent' @type='string' @stringValue='< -- WSDLContent -->'>
false <Attribute @name='soapHost' @type='SOAP:Host' @stringValue=''> SOAP:Host <Attribute @name='soapHost' @type='SOAP:Host' @stringValue=''>
It seems odd to me that it complains about getting a 401. This is normal, it appears that its forgetting to send the credentials in response to the 401. I have verified the login details many times. No scary characters on my lab boxes, just: admin / password
Have tried many variations based on posts on this list. Using Domain Name, using IP Address. No different.
The SSL Certificate us just the default Self signed Cert but I've not looked much at this as the "Manage SSL certificates" workflow executes fine.
I simply can't see why a 401 should cause an IO Exception.
Any ideas?