-
Feb 20th, 2007, 04:55 AM
#1
Caused by: javax.xml.rpc.ServiceException: Error processing WSDL document:
Hi,
I have deployed a webservice successfully using the JPetstore examples sample code. I can test the webservice using soapUI and the wsdl is available. No I set up the client as follows. When I try to access the jaxRpcProxyIrshad bean, I get the following error. I can see that the webservice is up and wsdl is available. Could it be a bug?
===========================================
Exception in thread "main" org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'jaxRpcProxyIrshad' defined in file [C:\Documents and Settings\irshad\workspace\jpetstore\client\clientI rshad.xml]: Invocation of init method failed; nested exception is javax.xml.rpc.ServiceException: Error processing WSDL document:
java.io.FileNotFoundException: http://localhost:8080/jpetstore/axis...eeService?wsdl
Caused by: javax.xml.rpc.ServiceException: Error processing WSDL document:
java.io.FileNotFoundException: http://localhost:8080/jpetstore/axis...eeService?wsdl
at org.apache.axis.client.Service.initService(Service .java:250)
at org.apache.axis.client.Service.<init>(Service.java :165)
................
================================================== ======
client config:
==============================================
<beans>
<!-- Resolves ${...} placeholders from client.properties -->
<bean id="propertyConfigurer"
class="org.springframework.beans.factory.config.Pr opertyPlaceholderConfigurer">
<property name="location">
<value>client/client.properties</value>
</property>
</bean>
<bean id="jaxRpcProxyIrshad"
class="org.springframework.remoting.jaxrpc.JaxRpcP ortProxyFactoryBean" lazy-init="true">
<property name="serviceFactoryClass">
<value>org.apache.axis.client.ServiceFactory</value>
</property>
<property name="wsdlDocumentUrl">
<value>
http://${serverName}:${httpPort}${contextPath}/axis/EmployeeService?wsdl
</value>
</property>
<property name="namespaceUri">
<value>http://localhost:8080/jpetstore/axis/EmployeeService</value>
</property>
<property name="serviceName">
<value>EmployeeWebServiceImplService</value>
</property>
<property name="portName">
<value>EmployeeService</value>
</property>
<property name="serviceInterface">
<value>irshad.service.EmployeeService</value>
</property>
<!--
If you want to work with a JAX-RPC port stub underneath, you need to specify
an RMI interface to use at the JAX-RPC port level. This might give advantages
on certain JAX-RPC implementations. If not specified, JAX-RPC dynamic calls
will be used, which has been tested to work nicely on Apache Axis.
-->
<!--
<property name="portInterface">
<value>org.springframework.samples.jpetstore.servi ce.RemoteOrderService</value>
</property>
-->
<property name="servicePostProcessors">
<list>
<bean
class="org.springframework.remoting.jaxrpc.support .AxisBeanMappingServicePostProcessor">
<property name="encodingStyleUri"
value="http://schemas.xmlsoap.org/soap/encoding/" />
<property name="typeNamespaceUri"
value="urn:EmpService" />
<property name="beanClasses">
<list>
<value>irshad.domain.Employee</value>
</list>
</property>
</bean>
</list>
</property>
</bean>
================================================== ==
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules