Hi

I am using Microsoft Webservices MapPoint like this in MX7:

<CFSCRIPT>
// RenderServiceSoap
myRenderServiceSoap =
createObject("webservice","http://staging.mappoint.net/standard-30/mappoint.wsdl
", "RenderServiceSoap");
myRenderServiceSoap.setUsername("#application.MapP ointUsername#");
myRenderServiceSoap.setPassword("#application.MapP ointPassword#");
</CFSCRIPT>

MapPoint uses all over Arrays as Parameters like in the following example. I
did not found another way of giving Parameters to this Webservice.

// Pushpin
myPushpins = ArrayNew(1);
myPushpins[1] = CreateObject("java", "net.mappoint.s.mappoint_30.Pushpin");
myPushpins[1].setIconDataSource("MapPoint.Icons");
myPushpins[1].setIconName("RedCircle1");
myPushpins[1].setLabel("Start");
myPushpins[1].setLatLong(myLatLong[1]);
myPushpins[2] = CreateObject("java", "net.mappoint.s.mappoint_30.Pushpin");
myPushpins[2].setIconDataSource("MapPoint.Icons");
myPushpins[2].setIconName("RedCircle2");
myPushpins[2].setLabel("End");
myPushpins[2].setLatLong(myLatLong[2]);

myArrayOfPushpin = CreateObject("java",
"net.mappoint.s.mappoint_30.ArrayOfPushpin");
myArrayOfPushpin.setPushpin(myPushpins);

1. Why do I have to use the Lib itself for creating a Array to pass to the
WebService?
Is there a other way for doing this?
(I think it has to do that CF-Arrays bgin with 1 and Java Arrays wiht 0)

2. The Stub / Package "net.mappoint.s.mappoint_30" created by
myRenderServiceSoap =
createObject("webservice","http://staging.mappoint.net/standard-30/mappoint.wsdl
", "RenderServiceSoap");
has to be in Classpath to be used as
myArrayOfPushpin = CreateObject("java",
"net.mappoint.s.mappoint_30.ArrayOfPushpin");
Is there a other way of using/accessing this Package by Programm-Code but
"Classpath to the Stub",
like over "coldfusion.server.ServiceFactory" or so?

Many Thanks in advance
Bruno