Hi,
I am not sur about the simple frontend but in the jax ws frontend it is
possible to have no wsdl. In that case you have to set the servicename
and the portname to arbitrary values. Perhaps something like
this is also necessary for simple frontend. In general I would
recommend to switch to the jax ws frontend. There is an example in the
distribution called wsdl_first. But you can also use this example with
code first with minor changes.
Greetings
Christian
Coder One schrieb:
Well, the app started, but as soon I invoked the function, I got this...
SEVERE: Servlet.service() for servlet NewServlet threw exception
javax.xml.ws.WebServiceException: Could not find wsdl:binding operation info
for web method getMyHelloService
Do I absolutely need to have a local WSDL? I already got the "interface"
classes from the server.
I think that's because I use frontend-simple and I have no WSDL locally. Here
is what I used to just need on the client side for another project.
<bean id="loginServiceAegisDataBinding"
class="org.apache.cxf.aegis.databinding.AegisDatabinding"/>
<bean id="loginService"
class="abc.xyz.services.loginmgmt.LoginService"
factory-bean="loginServiceClientFactory" factory-method="create"/>
<bean id="loginServiceClientFactory"
class="org.apache.cxf.frontend.ClientProxyFactoryBean">
<property name="serviceClass"
value="abc.xyz.services.loginmgmt.LoginService"/>
<property name="address" value="${xyz.loginServiceAdress}"/>
<property name="dataBinding" ref="loginServiceAegisDataBinding"/>
</bean>
Thanks,
--- On Sat, 11/21/09, Coder One <[email protected]> wrote:
--
Christian Schneider
---
http://www.liquid-reality.de