[jboss-user] [JBoss Web Services] - Client call to Service behind SSO
Libor Krzyžanek
do-not-reply at jboss.com
Wed Aug 7 05:03:27 EDT 2013
Libor Krzyžanek [https://community.jboss.org/people/lkrzyzanek] replied to the discussion
"Client call to Service behind SSO"
To view the discussion, visit: https://community.jboss.org/message/831646#831646
--------------------------------------------------------------
The situation is an application deployed on JBoss 5.1.0.GA(running JDK6) needs to make a call to a webservice that is deployed behind and SSO layer. I've managed to get the SSL configuration accomlished and the started getting this error:
java.net.HttpRetryException: cannot retry due to redirection, in streaming mode
at sun.net.www.protocol.http.HttpURLConnection.followRedirect(HttpURLConnection.java:2337)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1556)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
at org.jboss.remoting.transport.http.HTTPClientInvoker.getResponseCode(HTTPClientInvoker.java:1238)
at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:339)
at org.jboss.remoting.transport.http.HTTPClientInvoker.makeInvocation(HTTPClientInvoker.java:231)
The problem is the SSO layer uses a redirect which doesn't work with URL.openStreamI().
If I was coding the transport myself coding around the redirect would not be a problem.
What I'm trying to figure out is the best way to tell JBossWS to use some custom code there.
Ideas??
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/831646#831646]
Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130807/f6849c68/attachment.html
More information about the jboss-user
mailing list