Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Making a SOAP request using download tool

Pingu
10 - Fireball

Dear all,

 

I am trying to get the most simple Soap request to work in Alteryx using the download tool to get some understanding on how it works (before extending it to the WSDL I actually need).

 

WSDL: http://webservices.oorsprong.org/websamples.countryinfo/CountryInfoService.wso?WSDL

 

Body:

    <Body>
        <CapitalCity xmlns="http://www.oorsprong.org/websamples.countryinfo">
            <sCountryISOCode>NL</sCountryISOCode>
        </CapitalCity>
    </Body>
</Envelope>
 
Should return:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <m:CapitalCityResponse xmlns:m="http://www.oorsprong.org/websamples.countryinfo">
            <m:CapitalCityResult>Amsterdam</m:CapitalCityResult>
        </m:CapitalCityResponse>
    </soap:Body>
</soap:Envelope>
 
But instead I get the error: unsupported media type. I tried to search the community on XML requests, but could unfortunately not find a solution to my problem. So it is also fine to guide me to the right resources.
 
3 REPLIES 3
BrandonB
Alteryx
Alteryx

Can you try adding a value to the Headers tab in the download tool? 

 

Name:

Content-Type

 

Value:

text/xml

 

I think the issue is the content type that is being passed by the default configuration. 

BrandonB
Alteryx
Alteryx

workflow attached

 

SOAP.png

Pingu
10 - Fireball

Thanks very much Brandon, makes sense.

Labels