Do you also use the @WebService annoation?
This is the trigger for CXF-DOSGi to regard the service as JAX-WS.
Without it CXF will use the Aegis binding.
You also need to make sure there are Import-Package statements for the
packages of the annotations. If not then Java will not complain but the
annotations will be invisible at runtime.
Christian
On 11.01.2016 07:32, Setya wrote:
Hi all,
I'm developing small WS using CXF DOSGI containing only 1 method i.e:
/String sayHello(@WebParam(name = "word") String word);/
I can access the WS just fine but the @WebParam annotation above seems to be
ignored.
Below is part of generated WSDL:
/<xsd:complexType name="sayHello">
<xsd:sequence>
<xsd:element minOccurs="0" name="arg0" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
/
I just want the argument 'arg0' to appear as 'word' in SOAP UI.
I deploy the app in Apache Karaf 4.0.3
Any help would be greatly appreciated.
Regards,
Setya
--
View this message in context:
http://cxf.547215.n5.nabble.com/Ignored-JAX-WS-annotation-in-CXF-DOSGI-tp5764530.html
Sent from the cxf-user mailing list archive at Nabble.com.
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
http://www.talend.com