Hi all, I am able to pass an ArrayList of String, however I want to pass an array of bean object (java) to a vba client. Could you please help.
Do I have to write wsdl if so how etc. If you could even point me to the write document it would help.
Thanks in advance.
~-<br />Doing my best this time and everytime.<br />-- Me
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 32767
posted
0
By "bean object", do you mean a serialized Java object? That won't work, because VBA can't access java objects. You can send the result of serializing the bean through the java.beans.XMLEncoder class.
I just have a simple bean (having more or less Strings as members) and I want to pass that to the VBA client. I know I can use struct. etc. however I am specifically looking for an Example or may be other ways to do it with a little code snippet.
I am pretty new to it, so most of the jargons doesn't mean much to me.
Originally posted by Pradip Bhat: What is vba client?
VBA (Visual Basic for Applications). A VBA client would be an application that can be scripted or extended with VBA and that wants to access a web service. In most cases the VBA client would turn out to be one of the Microsoft Office products like Excel or Word. However some other applications that aren't developed/published by Microsoft also support VBA. VBA is different from Visual Basic Script (VBScript) and Visual Basic (VB) and Visual Basic .NET (VB.NET). VBA, VBScript, and VB are somewhat similar in syntax but the runtime environment and libraries can be quite different.