Hi,

When i try consuming Autotask SoapApi i get following error

Cannot import query method because AnyTypes is not supported (present in Entity structure).

Is this correct or is the error indicating something else is wrong?


Hi Per Larsson,

There are some types of structures not supported, can you confirm here if is your case:

https://success.outsystems.com/Documentation/11/Extensibility_and_Integration/SOAP/Consuming_SOAP_Web_Services/Unsupported_SOAP_Use_Cases

Regards,

What version of OutSystems Platform are you using?

Version 11.0.118.0

Studio is 11.0.207

Hi Per Larsson,

I see that you already have asked in another post how to import the SOAP wsdl:

https://www.outsystems.com/forums/discussion/44229/integration-between-a-soap-api-and-a-rest-api/

But let me see what errors are returned when importing your URL...

Per Larsson,

Is this the error you got when consuming the service?

Yes

Per Larsson

Since your WSDL document contains the following wildcard "AnyAttribute":

<s:complexType name="AutotaskIntegrations">
 <s:sequence>
  <s:element minOccurs="0" maxOccurs="1" name="PartnerID" type="s:string"/>
  <s:element minOccurs="0" maxOccurs="1" name="IntegrationCode" type="s:string"/>
 </s:sequence>
 <s:anyAttribute/>
</s:complexType>

And this is not supported by OutSystems, you have to do a workaround. Please see the documentation link I've send, there you can find the reason and explanation.

Hope this helps,

As you maybe understand i am new to both Outsystems and wsdl files :)

Could i simply remove 

<s:anyAttribute/>

?

Hi Per Larsson,

That is why we have the community of OutSystems, everyone can help the new developers :)

Try to do the proposed workaround: replace xsd:anyAttribute with the type you know the service will send.