Hi,
I have SOAPUI responding fine for requests to the host but when attempting to replicate this through FME HTTPCaller I simply get -
HTTP/1.1 415 Unsupported Media Type - http://bckapi.hosted.domestic.test.whitespacews.com/powersuitedomesticwebservice.asmx
Here are the parameters defined in my HTTPCaller -
HTTPCaller HTTPCaller]
Request:
Request URL:
http://bckapi.hosted.domestic.test.whitespacews.com/powersuitedomesticwebservice.asmx
HTTP Method: POST
Query String
Parameters:
Query String:
<not set>
Headers:
Headers:
<not set>
Body:
Upload Data:
Specify Upload Body
Upload
Body:
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:web="http://webservices.whitespacews.com/">
<soapenv:Header/>
<soapenv:Body>
<web:GetAddresses>
<!--Optional:-->
<web:getAddressInput>
<!--Optional:-->
<web:AddressNameNumber>38</web:AddressNameNumber>
<!--Optional:-->
<web:AddressLine1></web:AddressLine1>
<!--Optional:-->
<web:AddressLine2></web:AddressLine2>
<!--Optional:-->
<web:Town></web:Town>
<!--Optional:-->
<web:County></web:County>
<!--Optional:-->
<web:Country></web:Country>
<!--Optional:-->
<web:Postcode>WS16 7GJ</web:Postcode>
</web:getAddressInput>
</web:GetAddresses>
</soapenv:Body>
</soapenv:Envelope>
...
Content Type:
Text (text/plain)
Response:
Save Response Body
To: File
Save Response Body
To File:
Create a New
File Per Feature: No
Output
Filename: C:\\FME_Integrations\\OUTPUT\\WS_Test_GetAddresses.xml
File Path
Attribute: _response_file_path
Response Headers
and Status:
List Attribute
for Response Headers: _headers
Status Code
Attribute: _http_status_code
Error
Attribute: _error
Use Authentication:
Authentication
Method: Basic
HTTP
Authentication Username: ********
HTTP Authentication
Password: ******