Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
XML
data.xmlanalysis
mappoint.webservice
msf
msxml-webrelease
netmyservices.sdk
passport.sdk
soap
soapsdk
uddi.general
uddi.programming
uddi.specification
xml
xmlsqlwebrelease
xsl
  
 
date: 12 Feb 2006 13:56:45 -0800,    group: microsoft.public.data.xmlanalysis        back       


Upgrading an Application from XMLA 1.0 to 1.1   
Hi,
I've got a small XMLA web service designed to run on XMLA1.0 but i've
got 1.1 installed on my machine. I generated the MsXMLAnalysis class
using the wsdl utility from the VS.wsdl file in the sample.NET
application and replaced the MsXMLAnalysis file in the web service
project with the newly generated file.  But now, I get the following
compilation error:

No Overload Method for 'Execute' takes '2' arguments.

I have the following Execute method in my code:
private static string Execute(string Command, string Properties)
{  ............
..............
}

and within the Execute method, I'll calling Execute by passing 2
XmlElement objects.

This compiles fine if I use the MsXmlAnalysis.cs class for XMLA1.0, but
then I get this error when executing the web service:

[Microsoft][ODBC Driver Manager]
Data source name not found and no default driver specified


Anybody got any idea how to get this application to run in XMLA1.1?

Cheers,
Dipti
date: 12 Feb 2006 13:56:45 -0800   author:   unknown

Re: Upgrading an Application from XMLA 1.0 to 1.1   
There was a small change made to namespaces in the XMLA protocol between 1.0 
and 1.1. This makes the wsdl of one not work against the other. You should 
use the corresponding WSDL when connecting to a 1.0 or 1.1 provider.

Thanks,
Akshai

-- 
--
This posting is provided "AS IS" with no warranties, and confers no rights
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.

 wrote in message 
news:1139781405.122595.146010@g14g2000cwa.googlegroups.com...
> Hi,
> I've got a small XMLA web service designed to run on XMLA1.0 but i've
> got 1.1 installed on my machine. I generated the MsXMLAnalysis class
> using the wsdl utility from the VS.wsdl file in the sample.NET
> application and replaced the MsXMLAnalysis file in the web service
> project with the newly generated file.  But now, I get the following
> compilation error:
>
> No Overload Method for 'Execute' takes '2' arguments.
>
> I have the following Execute method in my code:
> private static string Execute(string Command, string Properties)
> {  ............
> .............
> }
>
> and within the Execute method, I'll calling Execute by passing 2
> XmlElement objects.
>
> This compiles fine if I use the MsXmlAnalysis.cs class for XMLA1.0, but
> then I get this error when executing the web service:
>
> [Microsoft][ODBC Driver Manager]
> Data source name not found and no default driver specified
>
>
> Anybody got any idea how to get this application to run in XMLA1.1?
>
> Cheers,
> Dipti
>
date: Fri, 17 Feb 2006 11:29:12 -0800   author:   Akshai Mirchandani [MS]

Re: Upgrading an Application from XMLA 1.0 to 1.1   
I did use the new WSDL, but the actual code in the web service makes a
call to the Execute method as it was in XMLA1.0, so the error is when
compiling the C# code.  Will this code have to be re-written to comply
with XMLA1.1?

Dipti
date: 20 Feb 2006 02:16:20 -0800   author:   unknown

Re: Upgrading an Application from XMLA 1.0 to 1.1   
I suggest to start with a clean project and make it work using the new WSDL. 
Your application code won't need to change -- it is just the generated code 
from the WSDL that will be modified.

Thanks,
Akshai
--
This posting is provided "AS IS" with no warranties, and confers no rights
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.

 wrote in message 
news:1140430580.677014.154600@g47g2000cwa.googlegroups.com...
>
> I did use the new WSDL, but the actual code in the web service makes a
> call to the Execute method as it was in XMLA1.0, so the error is when
> compiling the C# code.  Will this code have to be re-written to comply
> with XMLA1.1?
>
> Dipti
>
date: Mon, 20 Feb 2006 10:30:29 -0800   author:   Akshai Mirchandani [MS]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us