[ 
http://jira.codehaus.org/browse/XFIRE-832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_89425
 ] 

Andreas Baumann commented on XFIRE-832:
---------------------------------------

Sure there is always the way with Acegi, but in a simple command line client..?


> XFire throws exception when working with secure WSDL's
> ------------------------------------------------------
>
>                 Key: XFIRE-832
>                 URL: http://jira.codehaus.org/browse/XFIRE-832
>             Project: XFire
>          Issue Type: Bug
>    Affects Versions: 1.2.3
>            Reporter: Andres Bernasconi
>         Assigned To: Dan Diephouse
>            Priority: Critical
>
> While trying to upgrade from 1.1.2 to 1.2.3 I encountered the following 
> error. Notice that I'm using spring to configure XFire, so I'm creating an 
> XFireClientFactoryBean.
> My WSDL is secured (http username / password), and I get the following 
> exception:
> Caused by: org.springframework.beans.factory.BeanCreationException: Error 
> creati
> ng bean with name 'elementManagerService' defined in class path resource 
> [servic
> es-context.xml]: Cannot resolve reference to bean 'elementManagerTarget' 
> while s
> etting bean property 'target'; nested exception is 
> org.springframework.beans.fac
> tory.BeanCreationException: Error creating bean with name 
> 'elementManagerTarget'
>  defined in class path resource [services-context.xml]: Initialization of 
> bean f
> ailed; nested exception is java.io.FileNotFoundException: Response: '401: 
> Unauth
> orized xxx' for url: ' 
> http://localhost:8001/ElementManager/ElementManagerService
> ?WSDL'
> I tracked down the problem to the Resolver class, where in line 74 it tries 
> to:
> is = relative.toURL().openStream();
> I have an outHandler configured to add security to my outgoing messages, but, 
> obviously it is not being called.
> This works well with 1.1.2 (don't know if in such version XFire tried to get 
> a hold of the WSDL doc). This basically prevents from moving on the new 
> versions of the stack.
> Thanks a lot
> Andres Bernasconi.

-- 
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