David Robitaille
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?
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
this might help as well. Didn't know it existed http://www.ibm.com/developerworks/wikis/display/dominoappdev/Overriding+Session+Authentication+rules
ASKER
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...
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...
ASKER
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!
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!
ASKER
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 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
I'll see if I can dig up my old project and get it working with the override rule
ASKER
Thanks, it will be very appreciate
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
wow, great job !! I will have to keep this for reference.
Thanks for sharing
Thanks for sharing
ASKER
How could i check?