Sorry for that:-)
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.
(request) SOAP::Transport::HTTP::Client::send_receive: POST http://ec.europa.eu/ +taxation_customs/vies/services/checkVatService HTTP/1.1 Accept: text/xml Accept: multipart/* Accept: application/soap Content-Length: 777 Content-Type: text/xml; charset=utf-8 SOAPAction: "" <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:wsdlsoap="h +ttp://schemas.xmlsoap.org/wsdl/soap/" xmlns:apachesoap="http://xml.ap +ache.org/xml-soap" soap:encodingStyle="http://schemas.xmlsoap.org/soa +p/encoding/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" x +mlns:tns1="urn:ec.europa.eu:taxud:vies:services:checkVat:types" xmlns +:impl="urn:ec.europa.eu:taxud:vies:services:checkVat" xmlns:wsdl="htt +p://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLS +chema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encodi +ng/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><tns1:ch +eckVat><countryCode xsi:type="xsd:string">SE</countryCode><vatNumber +xsi:type="xsd:string">12345678</vatNumber></tns1:checkVat></soap:Body +></soap:Envelope> SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1 500 Internal Ser +ver Error Connection: close Date: Wed, 04 May 2011 13:48:47 GMT Content-Type: text/xml; charset=utf-8 Client-Date: Wed, 04 May 2011 13:48:51 GMT Client-Peer: 147.67.119.3:80 Client-Response-Num: 1 Client-Transfer-Encoding: chunked (response) <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv= +"http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fa +ult><faultcode>soapenv:Server</faultcode><faultstring>unknown</faults +tring><detail><Exception>org.apache.axis2.AxisFault at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) at cec.taxud.fiscalis.vies.viesweb.api.CheckVatServiceMessageRecei +verInOut.invokeBusinessLogic(CheckVatServiceMessageReceiverInOut.java +:83) at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeB +usinessLogic(AbstractInOutMessageReceiver.java:40) at org.apache.axis2.receivers.AbstractMessageReceiver.receive(Abst +ractMessageReceiver.java:100) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPP +ostRequest(HTTPTransportUtils.java:275) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet. +java:133) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at cec.taxud.fiscalis.vies.viesweb.web.servlet.Axis2FilterServlet. +service(Axis2FilterServlet.java:49) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationActi +on.run(ServletStubImpl.java:1072) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servlet +StubImpl.java:465) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:2 +8) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainI +mpl.java:27) at cec.taxud.fiscalis.vies.viesweb.api.CheckVatServiceHTTPFilter.d +oFilter(CheckVatServiceHTTPFilter.java:172) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainI +mpl.java:27) at cec.taxud.fiscalis.vies.viesweb.util.EncodingFilter.doFilter(En +codingFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainI +mpl.java:27) at weblogic.servlet.internal.WebAppServletContext$ServletInvocatio +nAction.run(WebAppServletContext.java:6987) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authen +ticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager +.java:121) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(We +bAppServletContext.java:3892) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletReq +uestImpl.java:2766) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183) Caused by: java.lang.NullPointerException at cec.taxud.fiscalis.vies.viesweb.api.ViesWebApi.checkVatRequest( +ViesWebApi.java:39) at cec.taxud.fiscalis.vies.viesweb.api.CheckVatServiceSkeleton.che +ckVat(CheckVatServiceSkeleton.java:42) at cec.taxud.fiscalis.vies.viesweb.api.CheckVatServiceMessageRecei +verInOut.invokeBusinessLogic(CheckVatServiceMessageReceiverInOut.java +:48) ... 23 more </Exception></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope +>

In reply to Re^2: checkVat - SOAP::Lite by DreamT
in thread checkVat - SOAP::Lite by DreamT

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.