Posted on 2011-11-01 21:21:47.135604-07 by dattaprassanna
Problems in authentication while accessing WSDL from a Sharepoint
I am trying to access objects from a SharePoint on my company site, which requires Authentication and Authorization in order to access the same. I have written a client and am trying to access the WSDL using Axis 1.0. I am getting an authentication error whiletyring to access the same . The details are listed below. Is there any workaround you may be knowing to get over this firewall problem, that they may be facing ? Exception in thread "main" AxisFault faultCode: {http://xml.apache.org/axis/}HTTP faultString: (401)Unauthorized faultActor: null faultDetail: null: return code: 401 You do not have permission to view this directory or page using the credentials that you supplied because your Web browser is sending a WWW-Authenticate header field that the Web server is not configured to accept.
Direct Responses: 13540 | 13545 | Write a response
Posted on 2011-11-03 23:01:09.906474-07 by yjingjing in response to 13538
Re: Problems in authentication while accessing WSDL from a Sharepoint
Monogram Multicolore hermes constanceSpeedy 30 features Multicolore canvas, canvas base as wellhermes evelyne bag replica as microfiber lining. Speedy is a reinterpretation hermes garden partyof the keepall travel bag. Its rounded form reveals anhermes kelly bag exceptionally spacious interior.hermes lindy bag With the size of 11.8" x 8.3" x 7.3", this bag chanel toteprovides enough space for you daily essentials. hermes birkin handbagBesides, the internal flat pocket is designed imitation louis vuitton handbagsconsiderately for your business cards, celllouis vuitton monogram wallet phone or other small accessories. Unique to this Speedy is fake mulberry bagsits outside pocket that is closed with a secure S-lock.chanel handbags And if you fancy brass hardware, you would get tons of it in the Multicolore Speedy 30. Its base is protected by four golden brass corners.
Direct Responses: Write a response
Posted on 2011-11-07 11:39:57.244305-08 by mkutter in response to 13538
Re: Problems in authentication while accessing WSDL from a Sharepoint
Hi,

you need to find auth (out ;-) which authentication methods the server supports. Therefore look into the responses' HTTP Header (you may use any client without credentials to get that response).

You'll see something like
WWW-Authenticate: Basic realm="RealmName"

Then you need to use the authentication method appropriate for the server (being a Sharepoint site it's probably either Basic or NTLM - Basic is much easier to implement but insecure unless you're communicating over HTTPS).

See SOAP::WSDL::Manual::Cookbook on how to do provide credentials for these authentication methods.

Martin
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.