WebService Problems

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi:

I'm trying to access a WebService provided by one of our contractors that
provides an array of Companies with Contacts.

I'm getting a SOAPMapper problem where it says either that it can't map the
data, or array dimensions don't match definition.

I'm just not sure where to start looking: I can get a simple array of
numbers back, but not this complex array??

Thanks,
Perry
 
I didn't consume webservices yet in access but.
How do you capture the result?
In a variant?
Can you catch the xml and parse it yourself?

- Raoul
 
Yes, that is my next try. I think if I was in a .net environment the
webservice would return a dataset, but in vba there are issues with the
complex structure.

Thanks,
Perry
 
What you can do though is consume the webservice in .NET.
So just write a simple class which you encaps to be used in VBA.
This .NET should be referenced in VBA and then you can instantiate a class
from it.
My biggest problem is that is has no intellesense so you don't know which
properties and methods are available

This might give you an idea how to make such a class :

http://www.dotnet247.com/247reference/msgs/12/62311.aspx

This is something else I found on using webservices

http://support.microsoft.com/default.aspx?scid=kb;en-us;307033

- Raoul
 
Back
Top