List Info

Thread: Report Service




Report Service
user name
2007-02-03 04:28:19

Hi Guys...

would anyone have an sample vb.net code used to run reports through ews? If
so I would be grateful as im a bit stuck in the mud at the moment!

Am I right in asking: In order to query any of the web services outside of
LocationService I need to send a request to LocationService to get a url of
some sort that points to the other wsdls? Ie the report service and campaign
services etc?

This is a silly question....but where do you log into the Panama front end.
There is no contact between me and the people who use the UI and ive just
been supplied with a username/password that does not seem to work!

Cheers,

Justin

__________________________________________________________
Find a baby-sitter FAST with MSN Search! http://search.msn.ie/

__._,_.___
.

__,_._,___
RE: Report Service
user name
2007-02-03 08:11:57

Here is the code im using:

Dim location As New LocationServiceService
Dim masteraccountid As New masterAccountID
masteraccountid.Text = New String() {"123"}

location.masterAccountIDValue = masteraccountid
Dim security As New Security
security.UsernameToken = New UsernameToken
security.UsernameToken.Username = "usr"
security.UsernameToken.Password = "pwd"
Dim licence As New license
licence.Text = New String() {"XXXXXX"}
location.licenseValue = licence
location.SecurityValue = security
Dim masterlocation As String

location.UserAgent = "Blah!"

Try

masterlocation = location.getMasterAccountLocation()
Catch ex As System.Web.Services.Protocols.SoapException
Console.WriteLine("Error: " & ex.Message)
End Try
Console.WriteLine("Master location: " & masterlocation)
Console.ReadLine()
End Sub

Having read the sample soap call in the documentation I think im passing all
the required headers....however I just get the error: login failed for x.

Please help ;)

Justin

&gt;From: "Justin Meighan&quot; < jusmeig%40hotmail.com">jusmeighotmail.com>
&gt;Reply-To: yws-searchmarketing%40yahoogroups.com">yws-searchmarketingyahoogroups.com
&gt;To: yws-searchmarketing%40yahoogroups.com">yws-searchmarketingyahoogroups.com
&gt;Subject: [yws-searchmarketing] Report Service
>Date: Sat, 03 Feb 2007 10:28:19 +0000
>
&gt;Hi Guys...
>
>would anyone have an sample vb.net code used to run reports through ews? If
>so I would be grateful as im a bit stuck in the mud at the moment!
>
>Am I right in asking: In order to query any of the web services outside of
>LocationService I need to send a request to LocationService to get a url of
>some sort that points to the other wsdls? Ie the report service and
>campaign
>;services etc?
>;
>This is a silly question....but where do you log into the Panama front end.
>;There is no contact between me and the people who use the UI and ive just
>;been supplied with a username/password that does not seem to work!
&gt;
>Cheers,
>;
>Justin
>
>__________________________________________________________
>Find a baby-sitter FAST with MSN Search! http://search.msn.ie/
>

__________________________________________________________
Customise your home page with RSS feeds at MSN Ireland! http://ie.msn.com/

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )