dbTalk Databases Forums  

XMLA Connection String

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss XMLA Connection String in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Val Matison
 
Posts: n/a

Default XMLA Connection String - 11-22-2005 , 07:58 PM






Hi,

I am unable to connect to SQL 2005 using XMLA. The exa,ples once the
connection has been made are available in BOL but what aobut the initial
connection?

Here's some basic code. I try to communicate using HTTP and will eventually
create a SOAP package. What I don't know is what to make of the variable
lcUrl. When I configured this for SQL 2000 I used
http://localhost/xmla/msxisapi.dll for lcUrl and that worked fine. In 2005,
I no longer need the msxisapi.dll as far as I know. So far I've tried
various combinations of http://localhost and 127.0.0.1 and even added some
ports to the string.
loXMLHTTP = CREATEOBJECT("Microsoft.XMLHTTP")

lcURL = ???

loXMLHTTP.open("POST", lcUrl, .F.)

? loxmlhttp.readyState

What am I doing wrong?

TIA.







Reply With Quote
  #2  
Old   
Val Matison
 
Posts: n/a

Default Re: XMLA Connection String - 11-23-2005 , 04:24 PM






I've found the answer. Wasn't in BOL unfortunately. Requires the use of
msmdpump.dll


"Val Matison" <vmatison (AT) infoinfoinfo (DOT) com> wrote

Quote:
Hi,

I am unable to connect to SQL 2005 using XMLA. The exa,ples once the
connection has been made are available in BOL but what aobut the initial
connection?

Here's some basic code. I try to communicate using HTTP and will
eventually create a SOAP package. What I don't know is what to make of the
variable lcUrl. When I configured this for SQL 2000 I used
http://localhost/xmla/msxisapi.dll for lcUrl and that worked fine. In
2005, I no longer need the msxisapi.dll as far as I know. So far I've
tried various combinations of http://localhost and 127.0.0.1 and even
added some ports to the string.
loXMLHTTP = CREATEOBJECT("Microsoft.XMLHTTP")

lcURL = ???

loXMLHTTP.open("POST", lcUrl, .F.)

? loxmlhttp.readyState

What am I doing wrong?

TIA.









Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.