• 0 Vote(s) - 0 Average
  • 5
  • 4
  • 3
  • 2
  • 1
Thread Modes

SOAP - Attach file to ticket from VBA
#1
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.
benda95280, proud to be a member of EV CONNECT FORUM since Jan 2018.

#2
(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/3824...macros-vba
https://wiki.easyvista.com/xwiki/bin/vie...nt-request

Tips : filedata should be in base64

P.ABBE
ABBE Philippe, proud to be a member of EV CONNECT FORUM since Nov 2015.

#3
(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/3824...macros-vba
https://wiki.easyvista.com/xwiki/bin/vie...nt-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
benda95280, proud to be a member of EV CONNECT FORUM since Jan 2018.






Users browsing this thread: 1 Guest(s)