<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Call SOAP service using locally available WSDL</title><link>https://community.appian.com/discussions/f/integrations/23255/call-soap-service-using-locally-available-wsdl</link><description>Hello Appian practitioners, 
 Following the notes from this discussion , 
 I tried creating a WEB-API to load a locally available WSDL within the &amp;#39;Call Web Service&amp;#39; smart service. 
 My web-api returns the following httpResponse 
 a!httpResponse( /* *</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Call SOAP service using locally available WSDL</title><link>https://community.appian.com/thread/89259?ContentTypeID=1</link><pubDate>Tue, 21 Dec 2021 08:40:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3f720fd7-8c0b-4347-bec2-3cc38d5830db</guid><dc:creator>TJ</dc:creator><description>&lt;p&gt;Thank you!&lt;br /&gt;I see all the values are identical.&amp;nbsp;&lt;br /&gt;Looks like it&amp;#39;s working in your community environment. Let me try to reproduce it in&amp;nbsp;mine and raise a ticket with Appian.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It might be as simple as URL whitelisting or proxy.&lt;/p&gt;
&lt;p&gt;Thank you for your time &amp;amp; help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call SOAP service using locally available WSDL</title><link>https://community.appian.com/thread/89258?ContentTypeID=1</link><pubDate>Tue, 21 Dec 2021 08:37:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e60bb093-94a1-461e-8362-d5c7d1dc8b09</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;
&amp;lt;definitions xmlns=&amp;quot;http://schemas.xmlsoap.org/wsdl/&amp;quot; xmlns:xs=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; xmlns:soap=&amp;quot;http://schemas.xmlsoap.org/wsdl/soap/&amp;quot; xmlns:soap12=&amp;quot;http://schemas.xmlsoap.org/wsdl/soap12/&amp;quot; xmlns:tns=&amp;quot;http://www.dataaccess.com/webservicesserver/&amp;quot; name=&amp;quot;NumberConversion&amp;quot; targetNamespace=&amp;quot;http://www.dataaccess.com/webservicesserver/&amp;quot;&amp;gt;
  &amp;lt;types&amp;gt;
    &amp;lt;xs:schema elementFormDefault=&amp;quot;qualified&amp;quot; targetNamespace=&amp;quot;http://www.dataaccess.com/webservicesserver/&amp;quot;&amp;gt;
      &amp;lt;xs:element name=&amp;quot;NumberToWords&amp;quot;&amp;gt;
        &amp;lt;xs:complexType&amp;gt;
          &amp;lt;xs:sequence&amp;gt;
            &amp;lt;xs:element name=&amp;quot;ubiNum&amp;quot; type=&amp;quot;xs:unsignedLong&amp;quot;/&amp;gt;
          &amp;lt;/xs:sequence&amp;gt;
        &amp;lt;/xs:complexType&amp;gt;
      &amp;lt;/xs:element&amp;gt;
      &amp;lt;xs:element name=&amp;quot;NumberToWordsResponse&amp;quot;&amp;gt;
        &amp;lt;xs:complexType&amp;gt;
          &amp;lt;xs:sequence&amp;gt;
            &amp;lt;xs:element name=&amp;quot;NumberToWordsResult&amp;quot; type=&amp;quot;xs:string&amp;quot;/&amp;gt;
          &amp;lt;/xs:sequence&amp;gt;
        &amp;lt;/xs:complexType&amp;gt;
      &amp;lt;/xs:element&amp;gt;
      &amp;lt;xs:element name=&amp;quot;NumberToDollars&amp;quot;&amp;gt;
        &amp;lt;xs:complexType&amp;gt;
          &amp;lt;xs:sequence&amp;gt;
            &amp;lt;xs:element name=&amp;quot;dNum&amp;quot; type=&amp;quot;xs:decimal&amp;quot;/&amp;gt;
          &amp;lt;/xs:sequence&amp;gt;
        &amp;lt;/xs:complexType&amp;gt;
      &amp;lt;/xs:element&amp;gt;
      &amp;lt;xs:element name=&amp;quot;NumberToDollarsResponse&amp;quot;&amp;gt;
        &amp;lt;xs:complexType&amp;gt;
          &amp;lt;xs:sequence&amp;gt;
            &amp;lt;xs:element name=&amp;quot;NumberToDollarsResult&amp;quot; type=&amp;quot;xs:string&amp;quot;/&amp;gt;
          &amp;lt;/xs:sequence&amp;gt;
        &amp;lt;/xs:complexType&amp;gt;
      &amp;lt;/xs:element&amp;gt;
    &amp;lt;/xs:schema&amp;gt;
  &amp;lt;/types&amp;gt;
  &amp;lt;message name=&amp;quot;NumberToWordsSoapRequest&amp;quot;&amp;gt;
    &amp;lt;part name=&amp;quot;parameters&amp;quot; element=&amp;quot;tns:NumberToWords&amp;quot;/&amp;gt;
  &amp;lt;/message&amp;gt;
  &amp;lt;message name=&amp;quot;NumberToWordsSoapResponse&amp;quot;&amp;gt;
    &amp;lt;part name=&amp;quot;parameters&amp;quot; element=&amp;quot;tns:NumberToWordsResponse&amp;quot;/&amp;gt;
  &amp;lt;/message&amp;gt;
  &amp;lt;message name=&amp;quot;NumberToDollarsSoapRequest&amp;quot;&amp;gt;
    &amp;lt;part name=&amp;quot;parameters&amp;quot; element=&amp;quot;tns:NumberToDollars&amp;quot;/&amp;gt;
  &amp;lt;/message&amp;gt;
  &amp;lt;message name=&amp;quot;NumberToDollarsSoapResponse&amp;quot;&amp;gt;
    &amp;lt;part name=&amp;quot;parameters&amp;quot; element=&amp;quot;tns:NumberToDollarsResponse&amp;quot;/&amp;gt;
  &amp;lt;/message&amp;gt;
  &amp;lt;portType name=&amp;quot;NumberConversionSoapType&amp;quot;&amp;gt;
    &amp;lt;operation name=&amp;quot;NumberToWords&amp;quot;&amp;gt;
      &amp;lt;documentation&amp;gt;Returns the word corresponding to the positive number passed as parameter. Limited to quadrillions.&amp;lt;/documentation&amp;gt;
      &amp;lt;input message=&amp;quot;tns:NumberToWordsSoapRequest&amp;quot;/&amp;gt;
      &amp;lt;output message=&amp;quot;tns:NumberToWordsSoapResponse&amp;quot;/&amp;gt;
    &amp;lt;/operation&amp;gt;
    &amp;lt;operation name=&amp;quot;NumberToDollars&amp;quot;&amp;gt;
      &amp;lt;documentation&amp;gt;Returns the non-zero dollar amount of the passed number.&amp;lt;/documentation&amp;gt;
      &amp;lt;input message=&amp;quot;tns:NumberToDollarsSoapRequest&amp;quot;/&amp;gt;
      &amp;lt;output message=&amp;quot;tns:NumberToDollarsSoapResponse&amp;quot;/&amp;gt;
    &amp;lt;/operation&amp;gt;
  &amp;lt;/portType&amp;gt;
  &amp;lt;binding name=&amp;quot;NumberConversionSoapBinding&amp;quot; type=&amp;quot;tns:NumberConversionSoapType&amp;quot;&amp;gt;
    &amp;lt;soap:binding style=&amp;quot;document&amp;quot; transport=&amp;quot;http://schemas.xmlsoap.org/soap/http&amp;quot;/&amp;gt;
    &amp;lt;operation name=&amp;quot;NumberToWords&amp;quot;&amp;gt;
      &amp;lt;soap:operation soapAction=&amp;quot;&amp;quot; style=&amp;quot;document&amp;quot;/&amp;gt;
      &amp;lt;input&amp;gt;
        &amp;lt;soap:body use=&amp;quot;literal&amp;quot;/&amp;gt;
      &amp;lt;/input&amp;gt;
      &amp;lt;output&amp;gt;
        &amp;lt;soap:body use=&amp;quot;literal&amp;quot;/&amp;gt;
      &amp;lt;/output&amp;gt;
    &amp;lt;/operation&amp;gt;
    &amp;lt;operation name=&amp;quot;NumberToDollars&amp;quot;&amp;gt;
      &amp;lt;soap:operation soapAction=&amp;quot;&amp;quot; style=&amp;quot;document&amp;quot;/&amp;gt;
      &amp;lt;input&amp;gt;
        &amp;lt;soap:body use=&amp;quot;literal&amp;quot;/&amp;gt;
      &amp;lt;/input&amp;gt;
      &amp;lt;output&amp;gt;
        &amp;lt;soap:body use=&amp;quot;literal&amp;quot;/&amp;gt;
      &amp;lt;/output&amp;gt;
    &amp;lt;/operation&amp;gt;
  &amp;lt;/binding&amp;gt;
  &amp;lt;binding name=&amp;quot;NumberConversionSoapBinding12&amp;quot; type=&amp;quot;tns:NumberConversionSoapType&amp;quot;&amp;gt;
    &amp;lt;soap12:binding style=&amp;quot;document&amp;quot; transport=&amp;quot;http://schemas.xmlsoap.org/soap/http&amp;quot;/&amp;gt;
    &amp;lt;operation name=&amp;quot;NumberToWords&amp;quot;&amp;gt;
      &amp;lt;soap12:operation soapAction=&amp;quot;&amp;quot; style=&amp;quot;document&amp;quot;/&amp;gt;
      &amp;lt;input&amp;gt;
        &amp;lt;soap12:body use=&amp;quot;literal&amp;quot;/&amp;gt;
      &amp;lt;/input&amp;gt;
      &amp;lt;output&amp;gt;
        &amp;lt;soap12:body use=&amp;quot;literal&amp;quot;/&amp;gt;
      &amp;lt;/output&amp;gt;
    &amp;lt;/operation&amp;gt;
    &amp;lt;operation name=&amp;quot;NumberToDollars&amp;quot;&amp;gt;
      &amp;lt;soap12:operation soapAction=&amp;quot;&amp;quot; style=&amp;quot;document&amp;quot;/&amp;gt;
      &amp;lt;input&amp;gt;
        &amp;lt;soap12:body use=&amp;quot;literal&amp;quot;/&amp;gt;
      &amp;lt;/input&amp;gt;
      &amp;lt;output&amp;gt;
        &amp;lt;soap12:body use=&amp;quot;literal&amp;quot;/&amp;gt;
      &amp;lt;/output&amp;gt;
    &amp;lt;/operation&amp;gt;
  &amp;lt;/binding&amp;gt;
  &amp;lt;service name=&amp;quot;NumberConversion&amp;quot;&amp;gt;
    &amp;lt;documentation&amp;gt;The Number Conversion Web Service, implemented with Visual DataFlex, provides functions that convert numbers into words or dollar amounts.&amp;lt;/documentation&amp;gt;
    &amp;lt;port name=&amp;quot;NumberConversionSoap&amp;quot; binding=&amp;quot;tns:NumberConversionSoapBinding&amp;quot;&amp;gt;
      &amp;lt;soap:address location=&amp;quot;https://www.dataaccess.com/webservicesserver/NumberConversion.wso&amp;quot;/&amp;gt;
    &amp;lt;/port&amp;gt;
    &amp;lt;port name=&amp;quot;NumberConversionSoap12&amp;quot; binding=&amp;quot;tns:NumberConversionSoapBinding12&amp;quot;&amp;gt;
      &amp;lt;soap12:address location=&amp;quot;https://www.dataaccess.com/webservicesserver/NumberConversion.wso&amp;quot;/&amp;gt;
    &amp;lt;/port&amp;gt;
  &amp;lt;/service&amp;gt;
&amp;lt;/definitions&amp;gt;

&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call SOAP service using locally available WSDL</title><link>https://community.appian.com/thread/89257?ContentTypeID=1</link><pubDate>Tue, 21 Dec 2021 08:30:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:401f26b9-e96c-42c3-a053-81ac0e2f27b6</guid><dc:creator>TJ</dc:creator><description>&lt;p&gt;I am using the system admin account but it still fails.&lt;/p&gt;
&lt;p&gt;First of all, thank you so much for testing it at your end.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And if possible, could you please validate if the content of your cons!TST_WSDL is the same as attached?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://community.appian.com/cfs-file/__key/communityserver-discussions-components-files/18/NumberConversion.xml"&gt;community.appian.com/.../NumberConversion.xml&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call SOAP service using locally available WSDL</title><link>https://community.appian.com/thread/89256?ContentTypeID=1</link><pubDate>Tue, 21 Dec 2021 08:25:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8d0f078a-975b-421f-af20-2d81b8ae200a</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Did a quick test with the XML of the WSDL from your example copied to a text constant. This works without any issues. Could it be that the security settings for the API are not correct?&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/18/pastedimage1640075021170v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/18/pastedimage1640075066953v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call SOAP service using locally available WSDL</title><link>https://community.appian.com/thread/89255?ContentTypeID=1</link><pubDate>Tue, 21 Dec 2021 08:14:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7c685713-9aae-4022-8629-70094190f24e</guid><dc:creator>TJ</dc:creator><description>&lt;p&gt;I also tried copying the entire XML from a public WSDL &amp;#39;&lt;a href="https://www.dataaccess.com/webservicesserver/NumberConversion.wso"&gt;https://www.dataaccess.com/webservicesserver/NumberConversion.wso&amp;#39;&lt;/a&gt;&amp;nbsp;but still the same issue&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call SOAP service using locally available WSDL</title><link>https://community.appian.com/thread/89254?ContentTypeID=1</link><pubDate>Tue, 21 Dec 2021 08:10:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fd5eb358-4961-48d4-b39b-bb4f1a0bfeca</guid><dc:creator>TJ</dc:creator><description>&lt;p&gt;The same WSDL is also hosted at a local server which Appian can read. But not the one that I updated and hosted on Appian (web-API)&lt;/p&gt;
&lt;p&gt;I am only updating an HTTP URL within the WSDL.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Appian logs suggest the following&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/18/pastedimage1640074200360v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call SOAP service using locally available WSDL</title><link>https://community.appian.com/thread/89252?ContentTypeID=1</link><pubDate>Tue, 21 Dec 2021 08:04:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:259743f6-7c4e-475b-8a93-7faca29cb1a4</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;By any chance, the error message you got is already more specific as it complains about the WSDL version. Could it be that the WSDL is somehow malformed?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call SOAP service using locally available WSDL</title><link>https://community.appian.com/thread/89251?ContentTypeID=1</link><pubDate>Tue, 21 Dec 2021 08:00:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7ed10f96-c63c-4a3f-81b7-b204a65322ed</guid><dc:creator>TJ</dc:creator><description>&lt;p&gt;Hi Stefan,&lt;/p&gt;
&lt;p&gt;I have seen your &lt;a href="/discussions/f/integrations/9759/call-web-service-node-advanced-call-web-service?ReplySortBy=CreatedDate&amp;amp;ReplySortOrder=Descending"&gt;older discussion here&lt;/a&gt;&amp;nbsp;where you&amp;#39;ve recommended using Web-api. If possible, can you share a sample code with me?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call SOAP service using locally available WSDL</title><link>https://community.appian.com/thread/89250?ContentTypeID=1</link><pubDate>Tue, 21 Dec 2021 07:59:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2c8c0ff8-f546-4c8b-b2e1-6ba932a73b5c</guid><dc:creator>TJ</dc:creator><description>&lt;p&gt;The original WSDL is hosted on an internal server connected via VPN.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;All I want to do is to change the soap address location to the latest server and call the new SOAP WSDL.&lt;/p&gt;
&lt;p&gt;Any idea if I can do that using Appian&amp;#39;s WEB-API? Or shall I host the XML on a different server?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call SOAP service using locally available WSDL</title><link>https://community.appian.com/thread/89245?ContentTypeID=1</link><pubDate>Tue, 21 Dec 2021 07:38:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f63112ef-7cf2-4ee4-b9d0-f4218d87d98a</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Did you test your API using Postman or SoapUI?&lt;/p&gt;
&lt;p&gt;AFAIK there is no simple way to use a local WSDL.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call SOAP service using locally available WSDL</title><link>https://community.appian.com/thread/89244?ContentTypeID=1</link><pubDate>Tue, 21 Dec 2021 07:33:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5f0f919a-530d-41d9-914d-7f33a98bbee3</guid><dc:creator>TJ</dc:creator><description>&lt;p&gt;Yes, I did try adding the content-type and removing content-disposition, but without success.&lt;/p&gt;
&lt;p&gt;Would you recommend any other way of consuming the local wsdl file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call SOAP service using locally available WSDL</title><link>https://community.appian.com/thread/89241?ContentTypeID=1</link><pubDate>Tue, 21 Dec 2021 06:56:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:51cc5dc0-9469-43ef-839a-ba9df28ed5c8</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I never did this, as it might become a problem over time in case the password needs to be changed.&lt;/p&gt;
&lt;p&gt;Did you try to set the content type header to &amp;quot;text/xml&amp;quot; and remove the Content-Disposition header?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>