users@glassfish.java.net

Trying to consume Webservice in .NET through FORM authentication in Glass..

From: <glassfish_at_javadesktop.org>
Date: Fri, 21 Nov 2008 11:24:49 PST

I have an application in Netbeans that uses Glassfish.

It's web.xml security is set up like so:
<login-config>
  <auth-method>FORM</auth-method>
  <realm-name>MyRealm</realm-name>
   <form-login-config>
      <form-login-page>/login.jsp</form-login-page>
      <form-error-page>/LoginError.jsp</form-error-page>
    </form-login-config>
  </login-config>

My application in Netbeans has a webservice. I have been successfully consuming this web service from Visual Studio .Net when the project was previously using BASIC authentication, but now we HAVE to have a login page, so it is using FORM. Visual Studio cannot handle the login page of the FORM authentication and so it can no longer consume the webservice.

Please tell me there is a way for all the pages of my application to use FORM authentication, and my webservice to stay in BASIC authentication.

Please help.
Thanks!
[Message sent by forum member 'mkat' (mkat)]

http://forums.java.net/jive/thread.jspa?messageID=318170