You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Björn Schütte <bj...@schuette.se> on 2009/07/16 11:39:00 UTC
DOSGI - problem with jax-ws
Hi all,
I have a problem getting the greeter sample to work with jax-ws
frontend using the current cxf-dosgi-1.1-snapshot.
The resulting wsdl is missing all type and operations definitions.
I simply added he following properties to my activator:
props.put("org.apache.cxf.ws.frontend", "jaxws");
props.put("org.apache.cxf.ws.databinding", "jaxb");
This results in a greeter server whos generated wsdl has no type
definitions or operations.
I tried adding the @WebService annotation to the impl class which did
not help.
Any hints?
Regards
Björn
Re: DOSGI - problem with jax-ws
Posted by bschuette <bj...@schuetteonline.de>.
Hi Sergey,
I've tried it, but same result :-(
greetings,
Björn
Sergey Beryozkin-2 wrote:
>
> Hi
>
> I think you may need to import javax.jws.* into your service bundle. Can
> you give it a try please ?
>
> cheers, Sergey
>
> ----- Original Message -----
> From: "Björn Schütte" <bj...@schuette.se>
> To: <de...@cxf.apache.org>
> Sent: Thursday, July 16, 2009 10:39 AM
> Subject: DOSGI - problem with jax-ws
>
>
> Hi all,
>
> I have a problem getting the greeter sample to work with jax-ws
> frontend using the current cxf-dosgi-1.1-snapshot.
>
> The resulting wsdl is missing all type and operations definitions.
>
> I simply added he following properties to my activator:
>
> props.put("org.apache.cxf.ws.frontend", "jaxws");
> props.put("org.apache.cxf.ws.databinding", "jaxb");
>
> This results in a greeter server whos generated wsdl has no type
> definitions or operations.
>
> I tried adding the @WebService annotation to the impl class which did
> not help.
>
> Any hints?
>
> Regards
> Björn
>
>
>
--
View this message in context: http://www.nabble.com/DOSGI---problem-with-jax-ws-tp24514255p24517401.html
Sent from the cxf-dev mailing list archive at Nabble.com.
Re: DOSGI - problem with jax-ws
Posted by Sergey Beryozkin <sb...@progress.com>.
Hi
I think you may need to import javax.jws.* into your service bundle. Can you give it a try please ?
cheers, Sergey
----- Original Message -----
From: "Björn Schütte" <bj...@schuette.se>
To: <de...@cxf.apache.org>
Sent: Thursday, July 16, 2009 10:39 AM
Subject: DOSGI - problem with jax-ws
Hi all,
I have a problem getting the greeter sample to work with jax-ws
frontend using the current cxf-dosgi-1.1-snapshot.
The resulting wsdl is missing all type and operations definitions.
I simply added he following properties to my activator:
props.put("org.apache.cxf.ws.frontend", "jaxws");
props.put("org.apache.cxf.ws.databinding", "jaxb");
This results in a greeter server whos generated wsdl has no type
definitions or operations.
I tried adding the @WebService annotation to the impl class which did
not help.
Any hints?
Regards
Björn