EV CONNECT FORUM
SOAP - Attach file to ticket from VBA - Printable Version

+- EV CONNECT FORUM (http://www.global.easyvista.com/evconnect)
+-- Forum: EasyVista IT Service Manager (http://www.global.easyvista.com/evconnect/forum-5.html)
+--- Forum: Integration / Import-Export (http://www.global.easyvista.com/evconnect/forum-11.html)
+--- Thread: SOAP - Attach file to ticket from VBA (/thread-1533.html)



SOAP - Attach file to ticket from VBA - Benda - 09-07-2019

Hello,

I use VBA to add a file to a ticket, file is added but it is empty (0Kb).
I've used your Excel file to have the right function to do it.
(If i use your file too, it does the same)

I've tryed with another internet connection, without success.
I use Office 2016 32Bit, with Microsoft Soap Toolkit 3.0.

It is a known issue ?

Thanks.


RE: SOAP - Attach file to ticket from VBA - ABBE Philippe - 09-10-2019

(09-07-2019, 12:52 PM)benda95280 Wrote: Hello,

I use VBA to add a file to a ticket, file is added but it is empty (0Kb).
I've used your Excel file to have the right function to do it.
(If i use your file too, it does the same)

I've tryed with another internet connection, without success.
I use Office 2016 32Bit, with Microsoft Soap Toolkit 3.0.

It is a known issue ?

Thanks.

Hello,
I don't use Soap toolkit but REST to upload document to a ticket, perhaps you can create your code with this help: 
https://stackoverflow.com/questions/38246789/how-do-we-use-restful-apis-from-excel-macros-vba
https://wiki.easyvista.com/xwiki/bin/view/Documentation/REST+API+-+Upload+and+attach+a+document+to+an+incident-request

Tips : filedata should be in base64

P.ABBE


RE: SOAP - Attach file to ticket from VBA - Benda - 09-11-2019

(09-10-2019, 08:53 AM)ABBE Philippe Wrote:
(09-07-2019, 12:52 PM)benda95280 Wrote: Hello,

I use VBA to add a file to a ticket, file is added but it is empty (0Kb).
I've used your Excel file to have the right function to do it.
(If i use your file too, it does the same)

I've tryed with another internet connection, without success.
I use Office 2016 32Bit, with Microsoft Soap Toolkit 3.0.

It is a known issue ?

Thanks.

Hello,
I don't use Soap toolkit but REST to upload document to a ticket, perhaps you can create your code with this help: 
https://stackoverflow.com/questions/38246789/how-do-we-use-restful-apis-from-excel-macros-vba
https://wiki.easyvista.com/xwiki/bin/view/Documentation/REST+API+-+Upload+and+attach+a+document+to+an+incident-request

Tips : filedata should be in base64

P.ABBE

Hello,

I'm sorry, but i've to use SOAP.
I've done a new test today, with ws_metier2.xls, same problem.
File is added, but empty.

[EDIT]
In excel file, VSTream contain data... So seems a problem when sending over SOAP...
Tried with small and large file, same problem