File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes XFire Authentication Failure Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "XFire Authentication Failure" Watch "XFire Authentication Failure" New topic

XFire Authentication Failure

dhaval nagar

Joined: Oct 20, 2008
Posts: 11
I am consuming a web service running inside SAP Xi.
SAP team has given a basic SOAP authentication, when i am testing the web service through XmlSpy or SoapUi it is running perfectly.

But it is giving authentication failure (401 HTTP error) while calling from my Java program using XFire framework.

I tried to authentication through Client class and OutHandler but the error is same.

Any help is appreciated.

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: XFire Authentication Failure
Similar Threads
How to provide basic authetication from SOAP request to access SAP XI service
Windows Communication Foundation(WCF) WebService and Java client
Secure XFire web service
XFire with Websphere 5.1
Spring Web Services