Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6208135
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T05:45:21+00:00 2026-05-24T05:45:21+00:00

I am testing accessing the sharepoint WS from an axis client (1.4). The axis

  • 0

I am testing accessing the sharepoint WS from an axis client (1.4). The axis code is generated ok, but when I do this test I get a 401 (Permission denied) error. I do not know if it is something in the code or if I must have to setup a given permission for the webservices to work.

public static int main() {
  String[] destinationUrls = {"https://[sharepoint host]/[sharepoint site]/Test1"};

  ListsLocator listsLocator = new ListsLocator();
  ListsSoapStub listsStub = (ListsSoapStub) listsLocator.getListsSoap();
  listsStub.setUsername("NotMyDomain\\NotMyUser");
  listsStub.setPassword("NotMyPassword");
  GetListResponseGetListResult result = listsStub.getList("Test1");
  for(MessageElement me : result.get_any()) {
    System.out.println(me.toString());
  }
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T05:45:21+00:00Added an answer on May 24, 2026 at 5:45 am

    Finally I kinda of worked it out, you can see it in a question I posted in the sharepoint site. Anyway it is kind of deceiving, looks like axis is not capable of correctly generating the bindings and in case of error SP adds some custom XML and axis is incapable of
    processing it. Probably I’ll end creating using xmlbinds and parsing the XML in my program.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Unit testing is, roughly speaking, testing bits of your code in isolation with test
I am accessing Test.aspx through two different pages. Something like this: Page1.aspx -------> Test.aspx
I hear that accessing to database is wrong in testing. But what about file
Testing: return request.getCookies() == null; is not an appropriate way test. Is there another
Testing out someone elses code, I noticed a few JSP pages printing funky non-ASCII
Unit testing sounds great to me, but I'm not sure I should spend any
We found a problem while accessing the Web service from our ASP.Net MVC project
This is a strange bug I'm experiencing when testing on an old iPod. I'm
I just bought The Art of Unit Testing from Amazon. I'm pretty serious about
I'm using hook_menu to register new url so that accessing this url would return

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.