cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Diephouse" <...@envoisolutions.com>
Subject Re: Aegis binding: What am I doing wrong ?
Date Fri, 11 May 2007 21:50:51 GMT
Anything particularly weird about it? Feel free to create a JIRA issue with
the WSDl and I'll take a look...
- Dan

On 5/9/07, tog <guillaume.alleon@gmail.com> wrote:
>
> I have the small following test:
>
> package com.acme.test;
> public class serviceClass {
>     String sayHello(String name){
>         return "Hello " + name;
>     }
> }
>
> with:
>
> package com.acme.test;
> import org.apache.cxf.aegis.databinding.AegisDatabinding;
> import org.apache.cxf.frontend.ServerFactoryBean;
> import org.apache.cxf.aegis.databinding.AegisServiceConfiguration;
> public class server {
>     public static void main(String[] args) {
>         ServerFactoryBean sf = new ServerFactoryBean();
>         sf.setServiceClass(serviceClass.class);
>         sf.setAddress("http://localhost:8080/service");
>         sf.getServiceFactory().setDataBinding(new AegisDatabinding());
>         sf.getServiceFactory().getServiceConfigurations().add(0, new
> AegisServiceConfiguration());
>         sf.create();
>     }
> }
>
> This looks quite correct with respect to the cxf users' guide. But the
> wsdl
> I got looks quite weierd.
> I am using cxf-2.0-RC ! Does anyone have an idea of what I am doing wrong
> ?
>
> Cheers
> Guillaume
>



-- 
Dan Diephouse
Envoi Solutions
http://envoisolutions.com | http://netzooid.com/blog

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message