Hi All,

just wanted to know if I'm doing something wrong, so I don't create an
innecesary bug report. 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, 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();


Is this a bug or am i doing something wrong? 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)

Regards
Andres Bernasconi.

Reply via email to