I need a Subroutine code in VBA or .NET for Excel 2010. The goal is to call a Soap web services server, the method ( "validateBulkBetForThirdParty") must include a MTOM attachment (file), also receive the response which also comes with a MTOM attachment and save the file to given path. The request envelope has 2 objects: an object (complex type) containing 4 elements (devised, jurisdiction, requestChannel and usernamePasswordToken) the other object is the attachment.
As a reference please find attached here a sample of the VBA code that would work for this Soap request but only with DIME attachments. I need something similar but for MTOM attachments.
The code is for personal use in one workstation with Windows XP and MSOffice 2010
I can also supply the WSDL if needed.