I am new to DataPower and SOMA.
I have searched the forums for my issue and have tried all that has been suggested but have been unable to resolve it.
I am trying to execute a simple SOMA script via Soap UI and am getting errors. I can execute the same script using cURL.
The following works via cURL -
curl -k -d@Req.xml -H "Content-Type: application/soap+xml;charset=UTF-8" -u user:passwd https://x.x.x.x:yyyy/service/mgmt/current
The content of Req.xml is as follows -
<soapenv:Envelope xmlns:soapenv= "http://schemas.xmlsoap.org/soap/envelope/" xmlns:dp= "http://www.datapower.com/schemas/management"> <soapenv:Header/> <soapenv:Body> <dp:request domain= "X_Domain"> <dp:do-action> <FlushStylesheetCache> <XMLManager>MyXMLManager</XMLManager> </FlushStylesheetCache> <SaveConfig/> </dp:do-action> </dp:request> </soapenv:Body> </soapenv:Envelope>
Based on what I found on the forums, I have tried the following in SoapUI -
1) Set Username & Password for the request in the 'Aut' section. I tried by setting the actual values and also Base64 encoded values, both did not help!
2) Set the request Header "Authorization" to value "Basic user:password" where user:password is the Base64 encoded string.
My issue is very confusing as I do not get any response body. When I look at the response headers, I see the following -
X-Squid-Error: ERR_ACCESS_DENIED 0
Date: Thu, 23 Sep 2010 05:43:47 GMT
#status#: HTTP/1.0 403 Forbidden
Expires: Thu, 23 Sep 2010 05:43:47 GMT
X-Cache: MISS from xyzserver
I see no errors/ messages in DataPower's default-log.
What am I doing wrong?
Any assistance is much appreciated.
Thank you in advance!