Jump to content
We've recently updated our Privacy Statement, available here ×

401 Full authentication error


jaspernewuser

Recommended Posts

Hi All,

 I created a webservice java client using wsdl from url http://localhost:8080/jasperserver/services/repository?wsdl

once all my java files are auto generated for above wsdl and when I try to access any of the repository service I get following error. How can I pass my authentication information from my webservice client while invoking any of the repository service.

faultCode: {http://xml.apache.org/axis/}HTTP
 faultSubcode:
 faultString: (401)Full authentication is required to access this resource
 faultActor:
 faultNode:
 faultDetail:
 {}:return code:  401
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html><head><title>Sun Java System Application Server 9.1_02 - Error report</title><style type="text/css"><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 401 - Full authentication is required to access this resource</h1><hr/><p><b>type</b> Status report</p><p><b>message</b>Full authentication is required to access this resource</p><p><b>description</b>This request requires HTTP authentication (Full authentication is required to access this resource).</p><hr/><h3>Sun Java System Application Server 9.1_02</h3></body></html>
 {http://xml.apache.org/axis/}HttpErrorCode:401
(401)Full authentication is required to access this resource
 at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744)
 at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
 at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
 at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
 at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
 at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
 at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
 at org.apache.axis.client.Call.invoke(Call.java:2767)
 at org.apache.axis.client.Call.invoke(Call.java:2443)
 at org.apache.axis.client.Call.invoke(Call.java:2366)
 at org.apache.axis.client.Call.invoke(Call.java:1812)
 at org.jasperforge.www.jasperserver.ws.ReportSchedulerSoapBindingStub.deleteJob(ReportSchedulerSoapBindingStub.java:337)
 at org.jasperforge.www.jasperserver.ws.ReportSchedulerProxy.deleteJob(ReportSchedulerProxy.java:50)
 at test.Test.main(Test.java:29)
 

 

 Thanks

 

 

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

 

I would like to get to the bottom of this.

Can you tell me more about the environment where you are running iReport?

  • Operating system, JDK for iReport machine
  • Did you have a previous version of iReport installed before you installed iR 3.0?
  • is the server running on the same machine as iReport?

 

Sherman

Jaspersoft

Link to comment
Share on other sites

Shermann,

See my "main" thread on the subject  : in the last post I explain that I discovered that my troubles were due to the use of the 8080 port in my context. : ireport running on a different PC, which itself hosts other tomcats or apache servers. The strange thing is : why it works with the 2.1 plugin?

I am sorry for all the noise generated.

I thank you once more having taken care of my strange problem.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...