Error when calling SOAP API from VIES (SOAP) for VAT number validation

Hi,

I’m getting an error in calling this SOAP API, but cannot find the reason for it. I’ve tried a different public API and that works, seems like it’s this specific one giving the error. Also cannot find mentions of other people having issues with this call. Anyone have a clue what the root casue could be?

Error message: Method ‘checkVatPortTypeClient.checkVat’ not found
Exception Type: System.MissingMethodException

EndPoint: https://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl
ContractName: checkVatPortType
Method: checkVat
Parameters:
countryCode (string)
vatNumber (string)

have a look here:

Thanks, the solution was indeed to also define the output variables ‘valid’, ‘name’ and ‘address’

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.