I am writing a web service client and am getting the following error message when retrieving the service:
javax.xml.rpc.ServiceException: Cannot obtain endpoint meta data for:
{http://myServer.net:9080/KeyGenWeb/KeyGen}KeyGenPort
11:49:15,200 ERROR [STDERR] at
org.jboss.ws.jaxrpc.ServiceImpl.getPort(ServiceImpl.java:353)
11:49:15,200 ERROR [STDERR] at
org.springframework.remoting.jaxrpc.JaxRpcPortClientInterceptor.prepare(JaxRpcPortClientInterceptor.java:328)
11:49:15,200 ERROR [STDERR] at
org.springframework.remoting.jaxrpc.JaxRpcPortClientInterceptor.afterPropertiesSet(JaxRpcPortClientInterceptor.java:284)
11:49:15,200 ERROR [STDERR] at
org.springframework.remoting.jaxrpc.JaxRpcPortProxyFactoryBean.afterPropertiesSet(JaxRpcPortProxyFactoryBean.java:56)
I can't figure out why this is happening and what metadata is not available.
The only thing I can think of is that maybe JBossWS does not like it when
the wsdl schema is declared as the default namespace and its
corresponding elements are not fully qualified references?
Can anyone please help?
Nevermind. It was my stupid mistake. I mistyped the namespaceUri in my Spring configuration.