12
Views
3
Comments
Solved
Can't consume SOAP WSDL; Invalid URI: The format of the URI could not be determined.
Application Type
Reactive
Service Studio Version
11.54.30 (Build 62899)

I'm trying to integrate with the Integrated Taxonomic Information System (ITIS) to get taxonomic data for animals. This page of their website provides a WSDL for SOAP integration:

https://www.itis.gov/web_service.html

However, when I attempt to consume said WSDL in Service Studio, I get the following error:

System.ServiceModel.Channels.TransportBindingElementImporter\r\nError: Invalid URI: The format of the URI could not be determined.\r\nXPath to Error Source: //wsdl:definitions[@targetNamespace='http://itis_service.itis.usgs.gov']/wsdl:service[@name='ITISService']/wsdl:port[@name='ITISServiceHttpsSoap11Endpoint']

Any idea what the issue is?

Thanks!

Kirk 

Solution

Because the domain is not filled in the WSDL, OutSystems has an issue importing the WSDL, to solve this you can download the WSDL and update the endpoint yourself.



Worked like a charm, thanks!

Hello,

It seems the WSDL is not written in a common format. I also couldn't import the URL that's on the page. And even saving the XML and trying to import it will give an error.

This is an example of a WSDL file which has nothing to do with the format used:

<?xml version="1.0"?> 
<soap:Envelope xmlns:soap="https://www.w3.org/2003/05/soap-envelope">  
<soap:Header>  </soap:Header>  
<soap:Body>   
 <m:GetUser>      
<m:UserId>123</m:UserId>    
</m:GetUser>  
</soap:Body> 
</soap:Envelope> 

Solution

Because the domain is not filled in the WSDL, OutSystems has an issue importing the WSDL, to solve this you can download the WSDL and update the endpoint yourself.



Worked like a charm, thanks!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.