Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #4791 > unrolled thread
| Started by | macenzi@gmail.com |
|---|---|
| First post | 2013-02-15 15:41 -0800 |
| Last post | 2013-03-24 05:53 -0700 |
| Articles | 10 — 6 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
Conexao SOAP invoice electronically. macenzi@gmail.com - 2013-02-15 15:41 -0800
Re: Conexao SOAP invoice electronically. Gustavo Biasone <rosario.soft@gmail.com> - 2013-02-16 15:56 -0800
Re: Conexao SOAP invoice electronically. Paulo Oliveira <paulo@clipinfor.com> - 2013-03-20 07:24 -0700
Re: Conexao SOAP invoice electronically. Gustavo Biasone <rosario.soft@gmail.com> - 2013-03-20 12:27 -0700
Re: Conexao SOAP invoice electronically. Marco Antonio Victor <tactor2000@gmail.com> - 2013-02-22 07:56 -0800
Re: Conexao SOAP invoice electronically. macenzi@gmail.com - 2013-02-25 18:02 -0800
Re: Conexao SOAP invoice electronically. Paulo Oliveira <paulo@clipinfor.com> - 2013-03-20 07:23 -0700
Re: Conexao SOAP invoice electronically. Frans Wauters <info@wautersit.com> - 2013-03-23 05:33 -0700
Re: Conexao SOAP invoice electronically. Carlos Rocha <carlos.rocha@doossier.com.removethis> - 2013-03-23 18:51 +0000
Re: Conexao SOAP invoice electronically. Frans Wauters <info@wautersit.com> - 2013-03-24 05:53 -0700
| From | macenzi@gmail.com |
|---|---|
| Date | 2013-02-15 15:41 -0800 |
| Subject | Conexao SOAP invoice electronically. |
| Message-ID | <6e82c1e3-6f14-4f78-b5fe-040a59034672@googlegroups.com> |
"I do not know if my English is very good, rsrsr" but c'mon ... In Brazil, we use the electronic invoice ... To make it possible to send SEFAZ (government office that receives the packets), you need a SOAP connection. My question: has the VO2.8 SOAP connection to the libs? Mariel
[toc] | [next] | [standalone]
| From | Gustavo Biasone <rosario.soft@gmail.com> |
|---|---|
| Date | 2013-02-16 15:56 -0800 |
| Message-ID | <e5ac7a4d-6655-4fce-9967-44f6ab1c0f79@googlegroups.com> |
| In reply to | #4791 |
Hi Mariel, We also use electronic invoice here in Argentina. For that, I made a .NET interface to web services and I use that interface in VO and in any programming language. I tried to develop it with VO but our web services require the program to send a signed certificate to log in and I could not find a way to do it with VO. All the other processes are only send and receive xml, not a big deal. So, there is no problem with SOAP but with log in to the web service. I guess you guys have a similar system in Brazil. Regards, Gustavo El viernes, 15 de febrero de 2013 20:41:22 UTC-3, mac...@gmail.com escribió: > "I do not know if my English is very good, rsrsr" but c'mon ... > > > > In Brazil, we use the electronic invoice ... To make it possible to send SEFAZ (government office that receives the packets), you need a SOAP connection. My question: has the VO2.8 SOAP connection to the libs? > > > > Mariel
[toc] | [prev] | [next] | [standalone]
| From | Paulo Oliveira <paulo@clipinfor.com> |
|---|---|
| Date | 2013-03-20 07:24 -0700 |
| Message-ID | <624e7bf0-4154-427c-b6ed-dbd72e957dda@googlegroups.com> |
| In reply to | #4795 |
Hi Gustavo, in Portugal I need the same mechanism, can provide some example of how to develop an interface. NET for that. TIA Paulo Oliveira Sábado, 16 de Fevereiro de 2013 23:56:10 UTC, Gustavo Biasone escreveu: > Hi Mariel, > > > > We also use electronic invoice here in Argentina. For that, I made a .NET interface to web services and I use that interface in VO and in any programming language. > > I tried to develop it with VO but our web services require the program to send a signed certificate to log in and I could not find a way to do it with VO. > > All the other processes are only send and receive xml, not a big deal. > > So, there is no problem with SOAP but with log in to the web service. I guess you guys have a similar system in Brazil. > > > > Regards, > > Gustavo > > > > > > El viernes, 15 de febrero de 2013 20:41:22 UTC-3, mac...@gmail.com escribió: > > > "I do not know if my English is very good, rsrsr" but c'mon ... > > > > > > > > > > > > In Brazil, we use the electronic invoice ... To make it possible to send SEFAZ (government office that receives the packets), you need a SOAP connection. My question: has the VO2.8 SOAP connection to the libs? > > > > > > > > > > > > Mariel
[toc] | [prev] | [next] | [standalone]
| From | Gustavo Biasone <rosario.soft@gmail.com> |
|---|---|
| Date | 2013-03-20 12:27 -0700 |
| Message-ID | <459e2170-3fb5-460a-af60-d49968eca69d@googlegroups.com> |
| In reply to | #4930 |
Hi Paulo, There is a good paper posted by Ginny Caughey some time ago that explains it in detail: http://www.elbe-data.se/sv/vografx/visualobjectsandcsharp.pdf Once you have the main interface built, you can start adding your own methods, etc. depending on the WDSL specifications. You can contact me at my private email (rosario dot soft at gmail dot com) if you get stuck with that. Regards, Gustavo Biasone El miércoles, 20 de marzo de 2013 11:24:12 UTC-3, Paulo Oliveira escribió: > Hi Gustavo, > > > > in Portugal I need the same mechanism, can provide some example of how to develop an interface. NET for that. > > > > TIA > > > > Paulo Oliveira > > > > Sábado, 16 de Fevereiro de 2013 23:56:10 UTC, Gustavo Biasone escreveu: > > > Hi Mariel, > > > > > > > > > > > > We also use electronic invoice here in Argentina. For that, I made a .NET interface to web services and I use that interface in VO and in any programming language. > > > > > > I tried to develop it with VO but our web services require the program to send a signed certificate to log in and I could not find a way to do it with VO. > > > > > > All the other processes are only send and receive xml, not a big deal. > > > > > > So, there is no problem with SOAP but with log in to the web service. I guess you guys have a similar system in Brazil. > > > > > > > > > > > > Regards, > > > > > > Gustavo > > > > > > > > > > > > > > > > > > El viernes, 15 de febrero de 2013 20:41:22 UTC-3, mac...@gmail.com escribió: > > > > > > > "I do not know if my English is very good, rsrsr" but c'mon ... > > > > > > > > > > > > > > > > > > > > > > > > > > > > In Brazil, we use the electronic invoice ... To make it possible to send SEFAZ (government office that receives the packets), you need a SOAP connection. My question: has the VO2.8 SOAP connection to the libs? > > > > > > > > > > > > > > > > > > > > > > > > > > > > Mariel
[toc] | [prev] | [next] | [standalone]
| From | Marco Antonio Victor <tactor2000@gmail.com> |
|---|---|
| Date | 2013-02-22 07:56 -0800 |
| Message-ID | <ea7e6cd3-72b8-4875-9959-4aeb4f657cd0@googlegroups.com> |
| In reply to | #4791 |
Em sexta-feira, 15 de fevereiro de 2013 21h41min22s UTC-2, mac...@gmail.com escreveu: > "I do not know if my English is very good, rsrsr" but c'mon ... > > > > In Brazil, we use the electronic invoice ... To make it possible to send SEFAZ (government office that receives the packets), you need a SOAP connection. My question: has the VO2.8 SOAP connection to the libs? > > > > Mariel Olá Mariel, visite o site www.flexdocs.com.br que eles tem uma dll (NFE_Util) que faz toda a conversação com o SEFAZ. Eu utilizo desta forma. Abraços. Marco Antonio
[toc] | [prev] | [next] | [standalone]
| From | macenzi@gmail.com |
|---|---|
| Date | 2013-02-25 18:02 -0800 |
| Message-ID | <83f73c42-7548-4379-92da-839210e497b2@googlegroups.com> |
| In reply to | #4791 |
Em sexta-feira, 15 de fevereiro de 2013 20h41min22s UTC-3, mac...@gmail.com escreveu: > "I do not know if my English is very good, rsrsr" but c'mon ... > > > > In Brazil, we use the electronic invoice ... To make it possible to send SEFAZ (government office that receives the packets), you need a SOAP connection. My question: has the VO2.8 SOAP connection to the libs? > > > > Mariel
[toc] | [prev] | [next] | [standalone]
| From | Paulo Oliveira <paulo@clipinfor.com> |
|---|---|
| Date | 2013-03-20 07:23 -0700 |
| Message-ID | <344a8031-1ef6-43b2-8625-7f44d375bf6d@googlegroups.com> |
| In reply to | #4791 |
Sexta-feira, 15 de Fevereiro de 2013 23:41:22 UTC, mac...@gmail.com escreveu: > "I do not know if my English is very good, rsrsr" but c'mon ... > > > > In Brazil, we use the electronic invoice ... To make it possible to send SEFAZ (government office that receives the packets), you need a SOAP connection. My question: has the VO2.8 SOAP connection to the libs? > > > > Mariel
[toc] | [prev] | [next] | [standalone]
| From | Frans Wauters <info@wautersit.com> |
|---|---|
| Date | 2013-03-23 05:33 -0700 |
| Message-ID | <5c99f1cc-8387-4728-98dd-7074a16723a0@googlegroups.com> |
| In reply to | #4791 |
Using SOAP in VO - I use this code to create the SOAP envelope, call the webservice and fetch the info from the responce. This code is a sample for VAT number verification.
Download "soapUI" to examine the WSDL file to find the soapenv:Envelope code. See the sample below:
// Wauters Frans - Request VAT information from europe.eu using VO
LOCAL oXmlHttp AS OleAutoObject
LOCAL cSoapEnv AS STRING
LOCAL cURL AS STRING
LOCAL cCountryCode AS STRING
LOCAL cVatNumber AS STRING
cCountryCode := "**"
cVatNumber := "**********"
cURL := "http://ec.europa.eu/taxation_customs/vies/services/checkVatService"
cSoapEnv := ""
cSoapEnv := cSoapEnv + "<soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/' xmlns:urn='urn:ec.europa.eu:taxud:vies:services:checkVat:types'>" + CRLF
cSoapEnv := cSoapEnv + "<soapenv:Header/>" + CRLF
cSoapEnv := cSoapEnv + "<soapenv:Body>" + CRLF
cSoapEnv := cSoapEnv + " <urn:checkVat>" + CRLF
cSoapEnv := cSoapEnv + " <urn:countryCode>" + cCountryCode + "</urn:countryCode>" + CRLF
cSoapEnv := cSoapEnv + " <urn:vatNumber>" + cVatNumber + "</urn:vatNumber>" + CRLF
cSoapEnv := cSoapEnv + " </urn:checkVat>" + CRLF
cSoapEnv := cSoapEnv + "</soapenv:Body>" + CRLF
cSoapEnv := cSoapEnv + "</soapenv:Envelope>" + CRLF
MemoWrit( "soapRequest.txt", cSoapEnv ) // just write the request to a file
oXmlHttp:=OLEAutoObject{ "MSXML2.XMLHTTP" }
IF oXmlHttp:fInit
oXmlHttp:Open( "POST", cURL, FALSE )
oXmlHttp:SetRequestHeader( "SOAPAction", cURL )
oXmlHttp:Send( cSoapEnv )
cSoapEnv := oXmlHttp:responsexml:xml
* MemoWrit( "soapReceive.txt", cSoapEnv )
END
Fill in the cCountryCode and cVatNumber with the info from Q11 on page http://ec.europa.eu/taxation_customs/vies/faq.html?locale=en
Only one thing. I have to switch the compiler warning OFF for the OleAutoObject and related methods. Any idee to compile this without these warnings swhitch turned off?
Kind regards,
Frans
[toc] | [prev] | [next] | [standalone]
| From | Carlos Rocha <carlos.rocha@doossier.com.removethis> |
|---|---|
| Date | 2013-03-23 18:51 +0000 |
| Message-ID | <kiktkl$90a$2@speranza.aioe.org> |
| In reply to | #4958 |
Hello Frans, > > Only one thing. I have to switch the compiler warning OFF for the OleAutoObject and related methods. >Any idee to compile this without these warnings swhitch turned off? Did you try to declare oXmlHttp as Object instead of OleAutoObject? -- Carlos Rocha
[toc] | [prev] | [next] | [standalone]
| From | Frans Wauters <info@wautersit.com> |
|---|---|
| Date | 2013-03-24 05:53 -0700 |
| Message-ID | <09ce8549-3bc3-487e-b4d8-31edb2fda38a@googlegroups.com> |
| In reply to | #4959 |
Hi Carlos, This was a copy/past from an earlyer post of me. And there are a few ways to tackle that :) Kind regards, Frans
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web