E
Edje.Rommel
Hello,
I've have a problem with a webservice. I just want to validate a VAT
number by country code and VAT numer. The return value should be like
"it's valid" and/or the name where it's registered to.
To do this i can access the webservice on the following location:
http://ec.europa.eu/taxation_customs/vies/api/checkVatPort
A WSDL file is also available:
http://ec.europa.eu/taxation_customs/vies/api/checkVatPort?wsdl.
My question is how can i get the results i want. Can someone help me
with just the little module that does the request.
I already right-click on Web reference and added
http://ec.europa.eu/taxation_customs/vies/api/checkVatPort?wsdl, but
when i want to use checkvat(country,VAT), it exepect 3 other fields and
the return type seem to be date.
My understanding is that i only have to use 2 parameters (via XML ?),
and retrieve a string value (XML ?)
I just need something like
returnvalue = doRequest(country,VAT).valid
Name = returnvalue.Name
Valid = returnvalue.valid
etc.....
Thanks for all your help.
Regards,
Edje
I've have a problem with a webservice. I just want to validate a VAT
number by country code and VAT numer. The return value should be like
"it's valid" and/or the name where it's registered to.
To do this i can access the webservice on the following location:
http://ec.europa.eu/taxation_customs/vies/api/checkVatPort
A WSDL file is also available:
http://ec.europa.eu/taxation_customs/vies/api/checkVatPort?wsdl.
My question is how can i get the results i want. Can someone help me
with just the little module that does the request.
I already right-click on Web reference and added
http://ec.europa.eu/taxation_customs/vies/api/checkVatPort?wsdl, but
when i want to use checkvat(country,VAT), it exepect 3 other fields and
the return type seem to be date.
My understanding is that i only have to use 2 parameters (via XML ?),
and retrieve a string value (XML ?)
I just need something like
returnvalue = doRequest(country,VAT).valid
Name = returnvalue.Name
Valid = returnvalue.valid
etc.....
Thanks for all your help.
Regards,
Edje