in reply to checkVat - SOAP::Lite
stubmaker http://ec.europa.eu/taxation_customs/vies/checkVatService. +wsdl -d vatNumbers/ -v Writing stub files... $ ls vatNumbers/ checkVatService.pm
|
|---|
| Replies are listed 'Best First'. | |||
|---|---|---|---|
|
Re^2: checkVat - SOAP::Lite
by DreamT (Pilgrim) on May 04, 2011 at 13:51 UTC | |||
I was hoping that someone would do the same procedure as me to reproduce the problem. Anyway, the stubmaker creates the pm file correctly. When I call the webservice I get a message that i'm using the wrong namespace. After changing it to the proposed namespace, the webservice gives me a quite strange output. It looks like some kind of exception is throwed.
| [reply] [d/l] | ||
by Utilitarian (Vicar) on May 04, 2011 at 14:38 UTC | |||
Throws the namespace error for me also. At this point I'd be inclined to contact their admin and mention that the wsdl file for the service is incorrect and supply the exception thrown. However in the spirit of enquiry I changed the xmlns and added the parameters just to see if they had become required in order to prevent abuse (see their demonstration app http://ec.europa.eu/taxation_customs/vies/ ) however no joy, so we now have an unknown uncaught NullPointer with no hints in the message string, rather than second guess their entire application contact their admin. Not only does it help you it helps everyone else who uses the service and guessing what is wrong in their app is not going to make your life any easier,
print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."
| [reply] [d/l] [select] | ||
by Anonymous Monk on May 04, 2011 at 15:15 UTC | |||
Anyway, it doesn't look like you should bother the nice admin, though he should have supplied example session if you ask me
| [reply] [d/l] [select] | ||
by Anonymous Monk on May 04, 2011 at 15:19 UTC | |||
by DreamT (Pilgrim) on May 04, 2011 at 15:50 UTC | |||