Link to home
Start Free TrialLog in
Avatar of David Robitaille
David RobitailleFlag for Canada

asked on

Get trough Authentification in ASP.NET for a Domino WebService

I'm building a webservice in Domino designer that acces a lotus notes database. (we are on Ver. 7)

I want to consume that web service in ASP.net.
Whe i use a get method, i got a "Client found response content type of 'text/html; charset=UTF-8', but expected 'text/xml'."

I guess it's because i got to pass trough the Authentification process because when i go to the ?WSDL page, i got the "Log in to Sametime" page (the same that when i go to to out mail web access).
So i guess that is the 'text/html" response?
 
How could i provide a user/password to the webservice or another workaround?



 
SOLUTION
Avatar of brwwiggins
brwwiggins
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of David Robitaille

ASKER

i dont think we use basic authentication, becaute it dont work...
How could i check?
 
in the server document in the address book

this might help as well. Didn't know it existed http://www.ibm.com/developerworks/wikis/display/dominoappdev/Overriding+Session+Authentication+rules
OK, i will get my Server admin "Overriding Session Authentication rules" for me.
As another trail, i`m trying to manually log in thoug the form using a technique like this:
http://odetocode.com/Articles/162.aspx 
But it s look like I cant build a good "postData" string...
i will keep in touch...
 
Well, I got my sysadmin add an rule and he said he restarted the HTTP part of the server, but it still not working. (I mean passing Credential to the service)
Now, I m trying to pass an cookie to the service but it dosen t work.
Does someone got an example working for notes?
I scroll down on the first link you provided me, and saw information that i thought useful, but i still cant get it work...
I need help!
i thibk i now know why i was missing some reference.
I m using Visual web developer 2008 (express)
When I Add a webreference, I dont get a "reference.vb" file.
is it what i was missing?
Should i make the switch to Visual Studio or there is a way to do it with Visual web developer?
 
I believe the reference.vb proxy class file is only for winforms applications and not relevant on asp.net pages.

I'll see if I can dig up my old project and get it working with the override rule
Thanks, it will be very appreciate
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
wow, great job !! I will have to keep this for reference.
Thanks for sharing