[ http://jira.codehaus.org/browse/XFIRE-799?page=comments#action_82644 ] 
            
Tomasz Sztelak commented on XFIRE-799:
--------------------------------------

Hard to tell whats wrong except that proxy need authentication :)
You can try to experiment with HttpClient, setting some auth option and see if 
any of them work ( maybe specifying such creditentials only for proxy host ). 
Try to ask about that on HttpClient mailing list.

> Cannot use XFire with https and proxy server
> --------------------------------------------
>
>                 Key: XFIRE-799
>                 URL: http://jira.codehaus.org/browse/XFIRE-799
>             Project: XFire
>          Issue Type: Bug
>    Affects Versions: 1.2.3
>         Environment: Windows 2000 Professional, Java 1.4.2_08
>            Reporter: Dieter Salathe
>         Assigned To: Tomasz Sztelak
>
> Hi,
> I created a WebService with XFire. The WebService is only available via HTTPS.
> My test clients works fine when I connect directly to the service. But when I 
> am behind a proxy server, I get the HTTP 407 error:
> org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested 
> exception is org.codehaus.xfire.fault.XFireFault: Server returned error code 
> = 407 for URI : 
> https://www.xxxx.xxx/sds/servlet/XFireServlet/DFCSessionService. Check server 
> logs for details
> org.codehaus.xfire.fault.XFireFault: Server returned error code = 407 for URI 
> : https://www.xxxx.xxx/sds/servlet/XFireServlet/DFCSessionService. Check 
> server logs for details
>       at org.codehaus.xfire.fault.XFireFault.createFault(XFireFault.java:89)
>       at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:79)
>       at org.codehaus.xfire.client.Client.invoke(Client.java:335)
>       at 
> org.codehaus.xfire.client.XFireProxy.handleRequest(XFireProxy.java:77)
>       at org.codehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57)
>       at $Proxy0.getAvailableDocbases(Unknown Source)
>       at 
> ch.comlog.sds.client.DFCConnection.getAvailableDocbases(DFCConnection.java:128)
>       at 
> ch.comlog.sds.client.DFCConnectionManager.main(DFCConnectionManager.java:143)
> Caused by: org.codehaus.xfire.XFireRuntimeException: Server returned error 
> code = 407 for URI : 
> https://www.comlog.ch/sds/servlet/XFireServlet/DFCSessionService. Check 
> server logs for details
>       at 
> org.codehaus.xfire.transport.http.HttpChannel.sendViaClient(HttpChannel.java:130)
>       at 
> org.codehaus.xfire.transport.http.HttpChannel.send(HttpChannel.java:48)
>       at 
> org.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:26)
>       at 
> org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
>       at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:75)
>       ... 6 more
> I set the proxy server and user with:
>         System.setProperty("https.proxyUser", "user");
>         System.setProperty("https.proxyPassword", "pwd");
>         System.getProperties().setProperty( "https.proxyHost", 
> "172.19.136.103" );
>         System.getProperties().setProperty( "https.proxyPort", "8080" );
> The settings are correct, I can access a https website behind the proxy with 
> a simple URL and open a connection on that url. But I cannot call the web 
> service!
> Anybody know where the problem could be? Any hints are greatly appreciated.
> Thanks in advance
> Dieter

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to