| Newsgroups |
gmane.comp.cms.cold-fusion.devel.italian |
| Message-ID |
<28CCFBE04D70AC47A1CE899BDF82809F0376875C@bera-mail.businesse.local> |
------_=_NextPart_001_01CFCDAE.3D44FD2E
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Alla fine ho risolto con questo codice:
<cfset ws =3D CreateObject("webservice", "http://ec.europa.eu/taxation_cust=
oms/vies/checkVatService.wsdl")>
<cfset ws.checkVat(countryCode =3D "#mnazione#", vatNumber =3D "#mpartita_i=
va#")>
<cfset req =3D GetSOAPResponse(ws)>
=20=20=20=20=20=20=20=20=20=20=20=20=20
<cfset objXml =3D createObject("component","Library.Xml2Struct")>
<cfset StructResponse =3D objXml.ConvertXmlToStruct(toString(XMLParse(req)=
), StructNew())>
<cfset checkVatResponse =3D StructResponse.Body.checkVatResponse>
=20=20=20=20=20=20=20=20=20=20=20=20=20
<cfset piva_valida=3DcheckVatResponse.valid>
=20
Grazie Cristian.
CIao
=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D
Marco Puglia
Project Manager
Business-e S.p.A. <http://www.business-e.it/> (an Itway Group Company)
Via F.lli Lumi=E8re, 65 - 48010 Ravenna
Tel. +39 0544.460413 - Fax +39 0544.272297
Cell. 348 4759233
Italy, France, Spain, Portugal, Greece, Turkey=20
Ravenna, Milano, Trento, Bari, Massa, Roma
Paris, Barcelona, Madrid, Lisboa, Athina, Istanbul, Ankara
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D
=20
Da: [email protected] [mailto:[email protected]]=20
Inviato: mercoled=EC 27 agosto 2014 20:03
A: [email protected]
Oggetto: Re: Controllo della partita iva
=20
=20=20
Ciao Marco,
=20
hai provato con createObject('webservice','http://ec.europa.eu/taxation_cus=
toms/vies/checkVatService.wsdl') ?
<http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl>=20
<http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl>=20
Poi non credo dipenda da CF perch=E9 una chiamata HTTP =E8 una chiamata HTT=
P :)
<http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl>=20
Cristian
=20
Il giorno 27/ago/2014, alle ore 18:31, 'Puglia Marco' marco.puglia@business=
-e.it [cfmentor] <[email protected]> ha scritto:
=20
Ciao a tutti, =E8 una vita che non scrivo, ora per=F2 ho un grosso problema=
che non riesco a risolvere.
Sto provando ad interfacciarmi con un webservice per verificare la corrette=
zza di una partita iva.
=20
In particolare sto cercando di utilizzare questo:
http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl <http://ec.e=
uropa.eu/taxation_customs/vies/checkVatService.wsdl>=20
=20
Con questo codice:
<cfsavecontent variable=3D"wsSoapRequest">
<cfoutput>
<?xml version=3D"1.0" encoding=3D"UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV=3D"http://schemas.xmlsoap.org/soap/envelo=
pe/ <http://schemas.xmlsoap.org/soap/envelope/> " xmlns:ns1=3D"urn:ec.europ=
a.eu:taxud:vies:services:checkVat:types">
<SOAP-ENV:Body>
<ns1:checkVat>
<ns1:countryCode>IT</ns1:countryCode>
<ns1:vatNumber>02019960398</ns1:vatNumber>
</ns1:checkVat>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
</cfoutput>
</cfsavecontent>
=20
<cfhttp url=3D"http://ec.europa.eu/taxation_customs/vies/checkVatService.ws=
dl <http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl> " metho=
d=3D"post">
<cfhttpparam name=3D"Content-Type" type=3D"header" value=3D"text/xml; =
charset=3Dutf-8">
<cfhttpparam name=3D"accept-encoding" type=3D"header" value=3D"no-comp=
ression">
<cfhttpparam name=3D"SOAPAction" type=3D"HEADER" value=3D"checkVat">
<cfhttpparam name=3D"body" type=3D"xml" value=3D"#trim(wsSoapRequest)#=
">
</cfhttp>
=20
La risposta per=F2 =E8 sempre la stessa, la struttura dell'xml, senza nessu=
na traccia del risultato.
Ho notato che nella variabile cfhttp, alla voce mimetype c'=E8 questo valor=
e: Unable to determine MIME type of file.
=20
Con lo stesso codice ho provato ad interrogare un altro webservice e funzio=
na senza problemi, provando invece questo webservice con un servizio online=
(http://wsdlbrowser.com/ <http://wsdlbrowser.com/> ) la risposta =E8 corre=
tta.
=20
Non capisco quindi se c'=E8 un problema di programmazione, di webservice op=
pure semplicemente non =E8 compatibile con Coldfusion.
=20
In alternativa conoscete qualche altro modo per controllare la partita iva =
all'interno della comunit=E0 europea?
=20
Grazie
Ciao
=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D
Marco Puglia
Project Manager
Business-e S.p.A. <http://www.business-e.it/> (an Itway Group Company)
Via F.lli Lumi=E8re, 65 - 48010 Ravenna
Tel. +39 0544.460413 - Fax +39 0544.272297
Cell. 348 4759233
Italy, France, Spain, Portugal, Greece, Turkey=20
Ravenna, Milano, Trento, Bari, Massa, Roma
Paris, Barcelona, Madrid, Lisboa, Athina, Istanbul, Ankara
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D
=20
=20
=20
------_=_NextPart_001_01CFCDAE.3D44FD2E
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<head>
<style type=3D"text/css">
<!--
/* start of attachment style */
.ygrp-photo-title{
clear: both;
font-size: smaller;
height: 15px;
overflow: hidden;
text-align: center;
width: 75px;
}
div.ygrp-photo{
background-position: center;
background-repeat: no-repeat;
background-color: white;
border: 1px solid black;
height: 62px;
width: 62px;
}
div.photo-title=20
a,
div.photo-title a:active,
div.photo-title a:hover,
div.photo-title a:visited {
text-decoration: none;=20
}
div.attach-table div.attach-row {
clear: both;
}
div.attach-table div.attach-row div {
float: left;
/* margin: 2px;*/
}
p {
clear: both;
padding: 15px 0 3px 0;
overflow: hidden;
}
div.ygrp-file {
width: 30px;
valign: middle;
}
div.attach-table div.attach-row div div a {
text-decoration: none;
}
div.attach-table div.attach-row div div span {
font-weight: normal;
}
div.ygrp-file-title {
font-weight: bold;
}
/* end of attachment style */
-->
</style>
</head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Diso-8859-=
1">
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40"><head><meta name=3DGenerator content=3D"Microso=
ft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#defa=
ult#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Segoe UI";
panose-1:2 11 5 2 4 2 4 2 2 3;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Georgia;
panose-1:2 4 5 2 5 4 5 2 3 3;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
code
{mso-style-priority:99;
font-family:"Courier New";}
pre
{mso-style-priority:99;
mso-style-link:"Preformattato HTML Carattere";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
tt
{mso-style-priority:99;
font-family:"Courier New";}
span.apple-style-span
{mso-style-name:apple-style-span;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
span.cat
{mso-style-name:cat;}
span.ct
{mso-style-name:ct;}
span.PreformattatoHTMLCarattere
{mso-style-name:"Preformattato HTML Carattere";
mso-style-priority:99;
mso-style-link:"Preformattato HTML";
font-family:Consolas;}
p.attach, li.attach, div.attach
{mso-style-name:attach;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:9.0pt;
font-family:"Arial","sans-serif";}
p.bold, li.bold, div.bold
{mso-style-name:bold;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:10.0pt;
font-family:"Arial","sans-serif";
font-weight:bold;}
p.green, li.green, div.green
{mso-style-name:green;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:#628C2A;}
p.replbq, li.replbq, div.replbq
{mso-style-name:replbq;
margin:3.0pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
p.ad, li.ad, div.ad
{mso-style-name:ad;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
p.underline, li.underline, div.underline
{mso-style-name:underline;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.yshortcuts
{mso-style-name:yshortcuts;}
p.ad1, li.ad1, div.ad1
{mso-style-name:ad1;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
p.ad2, li.ad2, div.ad2
{mso-style-name:ad2;
mso-margin-top-alt:auto;
margin-right:0cm;
margin-bottom:7.5pt;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
p.underline1, li.underline1, div.underline1
{mso-style-name:underline1;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";
text-decoration:underline;}
span.yshortcuts1
{mso-style-name:yshortcuts1;
font-family:"Verdana","sans-serif";
font-weight:bold;}
span.yshortcuts2
{mso-style-name:yshortcuts2;
font-family:"Verdana","sans-serif";
font-weight:normal;}
span.StileMessaggioDiPostaElettronica38
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1799106267;
mso-list-template-ids:2120269258;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:72.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:"Courier New";
mso-bidi-font-family:"Times New Roman";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:108.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:144.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:180.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:216.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:252.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:288.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:324.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=3Dwhite lang=3DIT li=
nk=3Dblue vlink=3Dpurple>
<!-- |**|begin egp html banner|**| -->
<br><br>
<!-- |**|end egp html banner|**| -->
<div class=3DWordSection1><p class=3DMsoNormal><span style=3D'font-size:11.=
0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Alla fine ho risolto =
con questo codice:<o:p></o:p></span></p><p class=3DMsoNormal style=3D'text-=
autospace:none'><span lang=3DEN-US style=3D'font-size:10.0pt;font-family:Co=
nsolas;color:maroon'><cfset</span><span lang=3DEN-US style=3D'font-size:=
10.0pt;font-family:Consolas;color:black'> ws =3D CreateObject(</span><span =
lang=3DEN-US style=3D'font-size:10.0pt;font-family:Consolas;color:blue'>&qu=
ot;webservice"</span><span lang=3DEN-US style=3D'font-size:10.0pt;font=
-family:Consolas;color:black'>, </span><span lang=3DEN-US style=3D'font-siz=
e:10.0pt;font-family:Consolas;color:blue'>"http://ec.europa.eu/taxatio=
n_customs/vies/checkVatService.wsdl"</span><span lang=3DEN-US style=3D=
'font-size:10.0pt;font-family:Consolas;color:black'>)</span><span lang=3DEN=
-US style=3D'font-size:10.0pt;font-family:Consolas;color:maroon'>></span=
><span lang=3DEN-US style=3D'font-size:10.0pt;font-family:Consolas'><o:p></=
o:p></span></p><p class=3DMsoNormal style=3D'text-autospace:none'><span lan=
g=3DEN-US style=3D'font-size:10.0pt;font-family:Consolas;color:maroon'><=
cfset</span><span lang=3DEN-US style=3D'font-size:10.0pt;font-family:Consol=
as;color:black'> ws.checkVat(countryCode =3D </span><span lang=3DEN-US styl=
e=3D'font-size:10.0pt;font-family:Consolas;color:blue'>"#mnazione#&quo=
t;</span><span lang=3DEN-US style=3D'font-size:10.0pt;font-family:Consolas;=
color:black'>, vatNumber =3D </span><span lang=3DEN-US style=3D'font-size:1=
0.0pt;font-family:Consolas;color:blue'>"#mpartita_iva#"</span><sp=
an lang=3DEN-US style=3D'font-size:10.0pt;font-family:Consolas;color:black'=
>)</span><span lang=3DEN-US style=3D'font-size:10.0pt;font-family:Consolas;=
color:maroon'>></span><span lang=3DEN-US style=3D'font-size:10.0pt;font-=
family:Consolas'><o:p></o:p></span></p><p class=3DMsoNormal style=3D'text-a=
utospace:none'><span lang=3DEN-US style=3D'font-size:10.0pt;font-family:Con=
solas;color:maroon'><cfset</span><span lang=3DEN-US style=3D'font-size:1=
0.0pt;font-family:Consolas;color:black'> req =3D GetSOAPResponse(ws)</span>=
<span lang=3DEN-US style=3D'font-size:10.0pt;font-family:Consolas;color:mar=
oon'>></span><span lang=3DEN-US style=3D'font-size:10.0pt;font-family:Co=
nsolas'><o:p></o:p></span></p><p class=3DMsoNormal style=3D'text-autospace:=
none'><span lang=3DEN-US style=3D'font-size:10.0pt;font-family:Consolas;col=
or:black'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span><span lang=3DEN-US st=
yle=3D'font-size:10.0pt;font-family:Consolas'><o:p></o:p></span></p><p clas=
s=3DMsoNormal style=3D'text-autospace:none'><span lang=3DEN-US style=3D'fon=
t-size:10.0pt;font-family:Consolas;color:maroon'><cfset</span><span lang=
=3DEN-US style=3D'font-size:10.0pt;font-family:Consolas;color:black'> objXm=
l =3D createObject(</span><span lang=3DEN-US style=3D'font-size:10.0pt;font=
-family:Consolas;color:blue'>"component"</span><span lang=3DEN-US=
style=3D'font-size:10.0pt;font-family:Consolas;color:black'>,</span><span =
lang=3DEN-US style=3D'font-size:10.0pt;font-family:Consolas;color:blue'>&qu=
ot;Library.Xml2Struct"</span><span lang=3DEN-US style=3D'font-size:10.=
0pt;font-family:Consolas;color:black'>)</span><span lang=3DEN-US style=3D'f=
ont-size:10.0pt;font-family:Consolas;color:maroon'>></span><span lang=3D=
EN-US style=3D'font-size:10.0pt;font-family:Consolas'><o:p></o:p></span></p=
><p class=3DMsoNormal style=3D'text-autospace:none'><span lang=3DEN-US styl=
e=3D'font-size:10.0pt;font-family:Consolas;color:maroon'><cfset</span><s=
pan lang=3DEN-US style=3D'font-size:10.0pt;font-family:Consolas;color:black=
'> StructResponse=A0 =3D objXml.ConvertXmlToStruct(toString(XMLParse(req)),=
StructNew())</span><span lang=3DEN-US style=3D'font-size:10.0pt;font-famil=
y:Consolas;color:maroon'>></span><span lang=3DEN-US style=3D'font-size:1=
0.0pt;font-family:Consolas'><o:p></o:p></span></p><p class=3DMsoNormal styl=
e=3D'text-autospace:none'><span lang=3DEN-US style=3D'font-size:10.0pt;font=
-family:Consolas;color:maroon'><cfset</span><span lang=3DEN-US style=3D'=
font-size:10.0pt;font-family:Consolas;color:black'> checkVatResponse =3D St=
ructResponse.Body.checkVatResponse</span><span lang=3DEN-US style=3D'font-s=
ize:10.0pt;font-family:Consolas;color:maroon'>></span><span lang=3DEN-US=
style=3D'font-size:10.0pt;font-family:Consolas'><o:p></o:p></span></p><p c=
lass=3DMsoNormal style=3D'text-autospace:none'><span lang=3DEN-US style=3D'=
font-size:10.0pt;font-family:Consolas;color:black'>=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0 </span><span lang=3DEN-US style=3D'font-size:10.0pt;font-famil=
y:Consolas'><o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-=
size:10.0pt;font-family:Consolas;color:maroon'><cfset</span><span style=
=3D'font-size:10.0pt;font-family:Consolas;color:black'> piva_valida=3Dcheck=
VatResponse.valid</span><span style=3D'font-size:10.0pt;font-family:Consola=
s;color:maroon'>><o:p></o:p></span></p><p class=3DMsoNormal><span style=
=3D'font-size:10.0pt;font-family:Consolas;color:maroon'><o:p> </o:p></=
span></p><p class=3DMsoNormal><span style=3D'font-size:11.0pt;font-family:"=
Calibri","sans-serif";color:#1F497D'>Grazie Cristian.<o:p></o:p></span></p>=
<p class=3DMsoNormal><span style=3D'font-size:11.0pt;font-family:"Calibri",=
"sans-serif";color:#1F497D'>CIao<o:p></o:p></span></p><p class=3DMsoNormal>=
<span style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1=
F497D'><o:p> </o:p></span></p><div><p class=3DMsoNormal><span style=3D=
'font-size:7.5pt;font-family:"Verdana","sans-serif";color:#1F497D'>=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D<br></span><b><span style=3D'font-size:11.0pt;font-family:"C=
alibri","sans-serif";color:#1F497D'>Marco Puglia<br></span></b><i><span sty=
le=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Pr=
oject Manager<br></span></i><b><span style=3D'font-size:11.0pt;font-fa=
mily:"Calibri","sans-serif";color:navy'><a href=3D"http://www.business-e.it=
/">Business-e S.p.A.</a></span></b><span style=3D'font-size:11.0pt;font-fam=
ily:"Calibri","sans-serif";color:#1F497D'> </span><span style=3D'font-size:=
11.0pt;font-family:"Calibri","sans-serif";color:navy'>(an Itway Group Compa=
ny)<br><br></span><span style=3D'font-size:11.0pt;font-family:"Calibri","sa=
ns-serif";color:#1F497D'>Via F.lli Lumi=E8re, 65 - 48010 Ravenna<o:p></o:p>=
</span></p><p class=3DMsoNormal><span style=3D'font-size:11.0pt;font-family=
:"Calibri","sans-serif";color:#1F497D'>Tel. +39 0544.460413 - Fax +39 0544.=
272297<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:1=
1.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Cell. 348 4759233<o=
:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:11.0pt;fo=
nt-family:"Calibri","sans-serif";color:#1F497D'><br></span><b><span style=
=3D'font-size:7.5pt;font-family:"Verdana","sans-serif";color:#1F497D'>Italy=
</span></b><span style=3D'font-size:7.5pt;font-family:"Verdana","sans-serif=
";color:#1F497D'>, <b>France</b>, <b>Spain</b>, <b>Portugal, Greece, Turkey=
</b> <br>Ravenna, Milano, Trento, Bari, Massa, Roma<br>Paris, Barcelona, Ma=
drid, Lisboa, Athina, Istanbul, Ankara<br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</span><span=
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D=
'><o:p></o:p></span></p></div><p class=3DMsoNormal><span style=3D'font-size=
:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p>=
</span></p><div><div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;pa=
dding:3.0pt 0cm 0cm 0cm'><p class=3DMsoNormal><b><span style=3D'font-size:1=
0.0pt;font-family:"Segoe UI","sans-serif"'>Da:</span></b><span style=3D'fon=
t-size:10.0pt;font-family:"Segoe UI","sans-serif"'> cfmentor-hHKSG33Tihh9OS/[email protected]=
m [mailto:[email protected]] <br><b>Inviato:</b> mercoled=EC 27 agos=
to 2014 20:03<br><b>A:</b> [email protected]<br><b>Oggetto:</b> Re: =
Controllo della partita iva<o:p></o:p></span></p></div></div><p class=3DMso=
Normal><o:p> </o:p></p><p class=3DMsoNormal> <o:p></o:p></p><div=
id=3Dygrp-mlmsg><div id=3Dygrp-msg><div id=3Dygrp-text><div><p class=3DMso=
Normal>Ciao Marco,<o:p></o:p></p></div><div><p class=3DMsoNormal><o:p> =
;</o:p></p></div><div><p class=3DMsoNormal>hai provato con createObject(=
216;webservice’,'<a href=3D"http://ec.europa.eu/taxation_customs/vies=
/checkVatService.wsdl"><span style=3D'font-size:10.0pt;font-family:"Verdana=
","sans-serif";background:white'>http://ec.europa.eu/taxation_customs/vies/=
checkVatService.wsdl') ?<br></span></a><o:p></o:p></p></div><div><p class=
=3DMsoNormal><a href=3D"http://ec.europa.eu/taxation_customs/vies/checkVatS=
ervice.wsdl"><span style=3D'font-size:10.0pt;font-family:"Verdana","sans-se=
rif";background:white'><br></span></a><o:p></o:p></p></div><div><p class=3D=
MsoNormal>Poi non credo dipenda da CF perch=E9 una chiamata HTTP =E8 una ch=
iamata HTTP :)<o:p></o:p></p></div><div><p class=3DMsoNormal><a href=3D"htt=
p://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl"><span style=3D=
'font-size:10.0pt;font-family:"Verdana","sans-serif";background:white'><br>=
</span></a><o:p></o:p></p></div><div><p class=3DMsoNormal>Cristian<o:p></o:=
p></p></div><div><div><p class=3DMsoNormal><span style=3D'font-family:"Helv=
etica","sans-serif";color:black'><o:p> </o:p></span></p></div></div><d=
iv><div><p class=3DMsoNormal>Il giorno 27/ago/2014, alle ore 18:31, 'Puglia=
Marco' <a href=3D"mailto:[email protected]">marco.puglia@business=
-e.it</a> [cfmentor] <<a href=3D"mailto:[email protected]">cfment=
[email protected]</a>> ha scritto:<o:p></o:p></p></div><p class=3DMsoNo=
rmal><br><br><o:p></o:p></p><div><div id=3Dygrp-mlmsg><div id=3Dygrp-msg><d=
iv id=3Dygrp-text><div style=3D'margin-bottom:12.0pt'><p class=3DMsoNormal>=
<span style=3D'font-size:10.0pt;font-family:"Georgia","serif"'><o:p> <=
/o:p></span></p></div><div><p class=3DMsoNormal style=3D'margin-bottom:12.0=
pt'>Ciao a tutti, =E8 una vita che non scrivo, ora per=F2 ho un grosso prob=
lema che non riesco a risolvere.<o:p></o:p></p><p class=3DMsoNormal style=
=3D'margin-bottom:12.0pt'>Sto provando ad interfacciarmi con un webservice =
per verificare la correttezza di una partita iva.<o:p></o:p></p><p class=3D=
MsoNormal style=3D'margin-bottom:12.0pt'> <o:p></o:p></p><p class=3DMs=
oNormal style=3D'margin-bottom:12.0pt'>In particolare sto cercando di utili=
zzare questo:<o:p></o:p></p><p class=3DMsoNormal style=3D'margin-bottom:12.=
0pt'><a href=3D"http://ec.europa.eu/taxation_customs/vies/checkVatService.w=
sdl"><span style=3D'font-family:"Verdana","sans-serif"'>http://ec.europa.eu=
/taxation_customs/vies/checkVatService.wsdl</span></a><o:p></o:p></p><p cla=
ss=3DMsoNormal style=3D'margin-bottom:12.0pt'> <o:p></o:p></p><p class=
=3DMsoNormal style=3D'margin-bottom:12.0pt'>Con questo codice:<o:p></o:p></=
p><p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><span style=3D'font-f=
amily:"Courier New"'><cfsavecontent variable=3D"wsSoapRequest"=
></span><o:p></o:p></p><p class=3DMsoNormal style=3D'margin-bottom:12.0p=
t'><span style=3D'font-family:"Courier New"'><cfoutput></span><o:p></=
o:p></p><p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><span style=3D'=
font-family:"Courier New"'><?xml version=3D"1.0" encoding=3D&q=
uot;UTF-8"?></span><o:p></o:p></p><p class=3DMsoNormal style=3D'mar=
gin-bottom:12.0pt'><span style=3D'font-family:"Courier New"'><SOAP-ENV:E=
nvelope xmlns:SOAP-ENV=3D"<a href=3D"http://schemas.xmlsoap.org/soap/e=
nvelope/"><span style=3D'font-family:"Verdana","sans-serif"'>http://schemas=
.xmlsoap.org/soap/envelope/</span></a>" xmlns:ns1=3D"urn:ec.europ=
a.eu:taxud:vies:services:checkVat:types"></span><o:p></o:p></p><p c=
lass=3DMsoNormal style=3D'margin-bottom:12.0pt'><span style=3D'font-family:=
"Courier New"'> <SOAP-ENV:Body></span><o:p></o:p></p><p class=
=3DMsoNormal style=3D'margin-bottom:12.0pt'><span style=3D'font-family:"Cou=
rier New"'> <ns1:checkVat></span><o:p></o:p></p><p =
class=3DMsoNormal style=3D'margin-bottom:12.0pt'><span style=3D'font-family=
:"Courier New"'> <ns1:countryCode>IT<=
;/ns1:countryCode></span><o:p></o:p></p><p class=3DMsoNormal style=3D'ma=
rgin-bottom:12.0pt'><span style=3D'font-family:"Courier New"'> &=
nbsp; <ns1:vatNumber>02019960398</ns1:vatNumber></s=
pan><o:p></o:p></p><p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><spa=
n style=3D'font-family:"Courier New"'> </ns1:checkVat&=
gt;</span><o:p></o:p></p><p class=3DMsoNormal style=3D'margin-bottom:12.0pt=
'><span style=3D'font-family:"Courier New"'> </SOAP-ENV:Body></=
span><o:p></o:p></p><p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><sp=
an style=3D'font-family:"Courier New"'></SOAP-ENV:Envelope></span><o:=
p></o:p></p><p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><span style=
=3D'font-family:"Courier New"'></cfoutput></span><o:p></o:p></p><p cl=
ass=3DMsoNormal style=3D'margin-bottom:12.0pt'><span style=3D'font-family:"=
Courier New"'></cfsavecontent></span><o:p></o:p></p><p class=3DMsoNor=
mal style=3D'margin-bottom:12.0pt'><span style=3D'font-family:"Courier New"=
'> </span><o:p></o:p></p><p class=3DMsoNormal style=3D'margin-bottom:1=
2.0pt'><span style=3D'font-family:"Courier New"'><cfhttp url=3D"<a =
href=3D"http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl"><sp=
an style=3D'font-family:"Verdana","sans-serif"'>http://ec.europa.eu/taxatio=
n_customs/vies/checkVatService.wsdl</span></a>" method=3D"post&qu=
ot;></span><o:p></o:p></p><p class=3DMsoNormal style=3D'margin-bottom:12=
.0pt'><span style=3D'font-family:"Courier New"'> &l=
t;cfhttpparam name=3D"Content-Type" type=3D"header" val=
ue=3D"text/xml; charset=3Dutf-8"></span><o:p></o:p></p><p clas=
s=3DMsoNormal style=3D'margin-bottom:12.0pt'><span style=3D'font-family:"Co=
urier New"'> <cfhttpparam name=3D"accept-en=
coding" type=3D"header" value=3D"no-compression"&g=
t;</span><o:p></o:p></p><p class=3DMsoNormal style=3D'margin-bottom:12.0pt'=
><span style=3D'font-family:"Courier New"'> <cfh=
ttpparam name=3D"SOAPAction" type=3D"HEADER" value=3D&q=
uot;checkVat"></span><o:p></o:p></p><p class=3DMsoNormal style=3D'm=
argin-bottom:12.0pt'><span style=3D'font-family:"Courier New"'> =
<cfhttpparam name=3D"body" type=3D"xml"=
value=3D"#trim(wsSoapRequest)#"></span><o:p></o:p></p><p clas=
s=3DMsoNormal style=3D'margin-bottom:12.0pt'><span style=3D'font-family:"Co=
urier New"'></cfhttp></span><o:p></o:p></p><p class=3DMsoNormal style=
=3D'margin-bottom:12.0pt'> <o:p></o:p></p><p class=3DMsoNormal style=
=3D'margin-bottom:12.0pt'>La risposta per=F2 =E8 sempre la stessa, la strut=
tura dell’xml, senza nessuna traccia del risultato.<o:p></o:p></p><p =
class=3DMsoNormal style=3D'margin-bottom:12.0pt'>Ho notato che nella variab=
ile cfhttp, alla voce mimetype c’=E8 questo valore:<span class=3Dappl=
e-converted-space> </span><i>Unable to determine MIME type of file.</i=
><o:p></o:p></p><p class=3DMsoNormal style=3D'margin-bottom:12.0pt'> <=
o:p></o:p></p><p class=3DMsoNormal style=3D'margin-bottom:12.0pt'>Con lo st=
esso codice ho provato ad interrogare un altro webservice e funziona senza =
problemi, provando invece questo webservice con un servizio online (<a href=
=3D"http://wsdlbrowser.com/"><span style=3D'font-family:"Verdana","sans-ser=
if"'>http://wsdlbrowser.com/</span></a>) la risposta =E8 corretta.<o:p></o:=
p></p><p class=3DMsoNormal style=3D'margin-bottom:12.0pt'> <o:p></o:p>=
</p><p class=3DMsoNormal style=3D'margin-bottom:12.0pt'>Non capisco quindi =
se c’=E8 un problema di programmazione, di webservice oppure semplice=
mente non =E8 compatibile con Coldfusion.<o:p></o:p></p><p class=3DMsoNorma=
l style=3D'margin-bottom:12.0pt'> <o:p></o:p></p><p class=3DMsoNormal =
style=3D'margin-bottom:12.0pt'>In alternativa conoscete qualche altro modo =
per controllare la partita iva all’interno della comunit=E0 europea?<=
o:p></o:p></p><p class=3DMsoNormal style=3D'margin-bottom:12.0pt'> <o:=
p></o:p></p><p class=3DMsoNormal style=3D'margin-bottom:12.0pt'>Grazie<o:p>=
</o:p></p><p class=3DMsoNormal style=3D'margin-bottom:12.0pt'>Ciao<o:p></o:=
p></p><p class=3DMsoNormal style=3D'margin-bottom:12.0pt'> <o:p></o:p>=
</p><p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><span style=3D'font=
-size:7.5pt;color:#1F497D'>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br></span><b><span style=
=3D'color:#1F497D'>Marco Puglia<br></span></b><i><span style=3D'color:#1F49=
7D'>Project Manager<br></span></i><b><span style=3D'color:navy'><a hre=
f=3D"http://www.business-e.it/"><span style=3D'font-family:"Verdana","sans-=
serif"'>Business-e S.p.A.</span></a></span></b><span style=3D'color:#1F497D=
'> </span><span style=3D'color:navy'>(an Itway Group Company)<br><br><=
/span><span style=3D'color:#1F497D'>Via F.lli Lumi=E8re, 65 - 48010 Ravenna=
</span><o:p></o:p></p><p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><=
span style=3D'color:#1F497D'>Tel. +39 0544.460413 - Fax +39 0544.272297</sp=
an><o:p></o:p></p><p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><span=
style=3D'color:#1F497D'>Cell. 348 4759233</span><o:p></o:p></p><p class=3D=
MsoNormal style=3D'margin-bottom:12.0pt'><span style=3D'color:#1F497D'><br>=
</span><b><span style=3D'font-size:7.5pt;color:#1F497D'>Italy</span></b><sp=
an style=3D'font-size:7.5pt;color:#1F497D'>,<span class=3Dapple-converted-s=
pace> </span><b>France</b>,<span class=3Dapple-converted-space> <=
/span><b>Spain</b>,<span class=3Dapple-converted-space> </span><b>Port=
ugal, Greece, Turkey</b><span class=3Dapple-converted-space> </span><b=
r>Ravenna, Milano, Trento, Bari, Massa, Roma<br>Paris, Barcelona, Madrid, L=
isboa, Athina, Istanbul, Ankara<br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</span><o:p></o:p>=
</p><p class=3DMsoNormal style=3D'margin-bottom:12.0pt'> <o:p></o:p></=
p></div><div style=3D'margin-bottom:12.0pt'><p class=3DMsoNormal><span styl=
e=3D'font-size:10.0pt;font-family:"Georgia","serif"'><o:p> </o:p></spa=
n></p></div></div></div></div></div></div><p class=3DMsoNormal><o:p> <=
/o:p></p></div><div><p class=3DMsoNormal><span style=3D'color:white'><o:p><=
/o:p></span></p></div></div>
<!-- |**|begin egp html banner|**| -->
<br>
<br>
<!-- |**|end egp html banner|**| -->
<div width=3D"1" style=3D"color: white; clear: both;"/>__._,_.___</div>
=20=20=20=20=20=20
=20=20
=20=20=20=20
<div id=3D"fromDMARC" style=3D"clear:both; margin-top: 10px;">
<hr style=3D"height:2px ; border-width:0; color:#E3E3E3; backgroun=
d-color:#E3E3E3;">
Inviato da: "Puglia Marco" <[email protected]=
t> <hr style=3D"height:2px ; border-width:0; color:#E3E3E3; back=
ground-color:#E3E3E3;">
</div>
<!-- Start Recommendations -->
<!-- End Recommendations -->
<!-- |**|begin egp html banner|**| -->
<br><br>
<tt>
CFMentor<BR>
<a href=3D"http://www.cfmentor.com">http://www.cfmentor.com</a></tt>
<br><br>
<!-- |**|end egp html banner|**| -->
<!-- |**|begin egp html banner|**| -->
<img src=3D"http://geo.yahoo.com/serv?s=3D97490485/grpId=3D170861/grpspId=
=3D559000199/msgId=3D41902/stime=3D1410432674" width=3D"1" height=3D"1"> <b=
r>
<!-- |**|end egp html banner|**| -->
=20=20=20=20
<!-- |**|begin egp html banner|**| -->
<br>
=20=20=20
=20=20=20=20=20
=20
<!-- |**|begin egp html banner|**| -->
<div id=3D"ygrp-vital" style=3D"background-color: #f2f2f2; font-fam=
ily: Verdana; font-size: 10px; margin-bottom: 10px; padding: 10px;">
<span id=3D"vithd" style=3D"font-weight: bold; color: #333; text-tr=
ansform: uppercase; "><a href=3D"https://it.groups.yahoo.com/neo/groups/cfm=
entor/info;_ylc=3DX3oDMTJjbnVyaHNlBF9TAzk3NDkwNDg3BGdycElkAzE3MDg2MQRncnBzc=
ElkAzU1OTAwMDE5OQRzZWMDdnRsBHNsawN2Z2hwBHN0aW1lAzE0MTA0MzI2NzQ-" style=3D"t=
ext-decoration: none;">Visita il tuo gruppo</a></span>
<ul style=3D"list-style-type: none; margin: 0; padding: 0; display: in=
line;">
</ul>
</div>
<div id=3D"ft" style=3D"font-family: Arial; font-size: 11px; margin-top: 5p=
x; padding: 0 2px 0 0; clear: both;">
<a href=3D"https://it.groups.yahoo.com/neo;_ylc=3DX3oDMTJiYzN1cWR1BF9TAzk=
3NDkwNDg1BGdycElkAzE3MDg2MQRncnBzcElkAzU1OTAwMDE5OQRzZWMDZnRyBHNsawNnZnAEc3=
RpbWUDMTQxMDQzMjY3NA--" style=3D"float: left;"><img src=3D"http://l.yimg.co=
m/ru/static/images/yg/img/email/new_logo/yahoo_groups_it-IT_135x19.png" hei=
ght=3D"19" width=3D"135" alt=3D"Yahoo! Gruppi" style=3D"border: 0;"/></a>
<div style=3D"color: #747575; float: right;"> • <a href=3D"https://i=
nfo.yahoo.com/privacy/it/yahoo/groups/details.html" style=3D"text-decoratio=
n: none;">Privacy</a> • <a href=3D"mailto:cfmentor-unsubscribe@yahoogr=
oups.com?subject=3DAnnulla iscrizione" style=3D"text-decoration: none;">Ann=
ulla iscrizione</a> • <a href=3D"https://info.yahoo.com/legal/it/yahoo=
/tos.html" style=3D"text-decoration: none;">Condizioni generali di utilizzo=
del servizio</a> </div>
</div>
<!-- |**|end egp html banner|**| -->
</div> <!-- ygrp-msg -->
=20=20=20
<br>
<!-- |**|end egp html banner|**| -->
<div style=3D"color: white; clear: both;"/>__,_._,___</div>
</body></html>
------_=_NextPart_001_01CFCDAE.3D44FD2E--