Hello All,
I have the following problem in IBM websphere 6.1 with Xfire. I have something
like the follow code:
<bean name="hello.server"
class="org.codehaus.xfire.spring.remoting.XFireExporter">
<property name="serviceBean">
<ref bean="serviceBean"/>
</property>
<property name="serviceClass" value="com.idont.know.DoSomething" />
<property name="serviceFactory">
<ref bean="xfire.jaxwsServiceFactory"/>
</property>
<property name="wsdlURL" value="classpath:DoSomething.wsdl"/>
</bean>
If i start the server it will give a error:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'hello.server' defined in ServletContext resource
[/WEB-INF/classes/spring-applicationContext.xml]: Initialization of bean
failed; nested exception is org.codehaus.xfire.XFireRuntimeException: Couldn't
configure service.. Nested exception is java.lang.RuntimeException:
org.apache.ws.commons.schema.XmlSchemaException: Connection refused: connect
org.codehaus.xfire.XFireRuntimeException: Couldn't configure service.. Nested
exception is java.lang.RuntimeException:
org.apache.ws.commons.schema.XmlSchemaException: Connection refused: connect
java.lang.RuntimeException: org.apache.ws.commons.schema.XmlSchemaException:
Connection refused: connect
at
org.apache.ws.commons.schema.SchemaBuilder.resolveXmlSchema(SchemaBuilder.java:1803)
at
org.apache.ws.commons.schema.SchemaBuilder.resolveXmlSchema(SchemaBuilder.java:1815)
at
org.apache.ws.commons.schema.SchemaBuilder.handleImport(SchemaBuilder.java:1547)
However if i republish the application again on the server it will run without
any problems. How is this possible? I am setting the .wsdl file directly under
the source path so it will be directly accessible on the classpath.
Already thanks,
Gebrian
____________________________________________________________________________________Ready
for the edge of your seat?
Check out tonight's top picks on Yahoo! TV.
http://tv.yahoo.com/