Help - Need to allow Java Client to post form data to ASPX Web Page

Discussion in 'ASP .Net' started by jjouett, Apr 27, 2006.

  1. jjouett

    jjouett Guest

    I'm trying to setup an ASPX web page such that an existing Java Client
    can post form data, and I'm running into a problem. The existing Java
    Client doesn't set any credentials, and when I try to post to my page,
    the Java Client gets a 401 error. My own C# client works because I am
    setting the Credentials of the WebClient, but I have to support the
    existing Java Client as-is. What is the setup of my Web Page to allow a
    client to post form data without requiring them to define credentials?

    Thanks in advance
     
    jjouett, Apr 27, 2006
    #1
    1. Advertising

  2. enable anonymous in iis for the website. if you can change the java code,
    you can enable basic, and have the javacode post the credentials header.

    -- bruce (sqlwork.com)

    "jjouett" <> wrote in message
    news:...
    > I'm trying to setup an ASPX web page such that an existing Java Client
    > can post form data, and I'm running into a problem. The existing Java
    > Client doesn't set any credentials, and when I try to post to my page,
    > the Java Client gets a 401 error. My own C# client works because I am
    > setting the Credentials of the WebClient, but I have to support the
    > existing Java Client as-is. What is the setup of my Web Page to allow a
    > client to post form data without requiring them to define credentials?
    >
    > Thanks in advance
    >
     
    bruce barker \(sqlwork.com\), Apr 28, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sriram Mallajyosula

    How do I post data from aspx page to another aspx page.

    Sriram Mallajyosula, Nov 5, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    1,012
    Steve C. Orr [MVP, MCSD]
    Nov 5, 2003
  2. Srinivasa Raghavan Sethuraman

    Post Data ASP web page from ASPX Page

    Srinivasa Raghavan Sethuraman, Jul 20, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    624
    John Saunders
    Jul 20, 2004
  3. Ricardo Magalhaes
    Replies:
    0
    Views:
    831
    Ricardo Magalhaes
    Jun 3, 2005
  4. Jeff
    Replies:
    2
    Views:
    971
    clintonG
    Sep 19, 2006
  5. Ryan Taylor
    Replies:
    1
    Views:
    700
    Ryan Taylor
    Sep 9, 2004
Loading...

Share This Page