Have a look at this thread which may be of help:
http://cxf.547215.n5.nabble.com/WSDL-configuration-driven-from-WSDL-with-Apache-CXF-Distributed-OSGi-td5125029.html
Consider debugging the source code if it does not work, it appears
though that the wsdl location is not set correctly.
Sergey
On 23/01/12 13:01, Jesus wrote:
I'm testing now with that version, but I haven't very clear what
information I have to write for develop a service with a wsdl file.
My code is this, and I don't access to the wsdl file:
Dictionary props = new Hashtable();
props.put("osgi.remote.interfaces", "*");
props.put("osgi.remote.configuration.type", "wsdl");
props.put("service.exported.configs", "wsdl");
props.put("osgi.remote.configuration.wsdl.location",
"wsdl/myservice.wsdl");
registration = bc.registerService(MyInterface.class.getName(),
new MyImplentation(), props);
I'm crazy with this :(
On Mon, Jan 23, 2012 at 1:41 PM, Sergey Beryozkin-5 [via CXF]<
[email protected]> wrote:
Does it work with 1.3-SNAPSHOT ?
Cheers, Sergey
On 20/01/12 12:52, Jesus wrote:
(Sorry for duplicate this message, but I don't know if this is the
correct
forum)
Hello,
I'm develop a bundle to export a service, and I'm using DOSGi
(multi-bundle
distribution) and Apache-Felix.
I install my bundle and, when DOSGi detects, ApacheFelix throws these
exceptions:
g! ERROR: Bundle cxf-dosgi-ri-discovery-local [46] EventDispatcher:
Error
during
dispatch. (java.lang.IncompatibleClassChangeError: Class
org.jdom.input.SAXHand
ler does not implement the requested interface
org.xml.sax.ContentHandler)
java.lang.IncompatibleClassChangeError: Class org.jdom.input.SAXHandler
does
not
implement the requested interface org.xml.sax.ContentHandler
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startDoc
ument(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startDocu
ment(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.startE
ntity(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.startDocum
entParsing(Unknown Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown So
urce)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Un
known Source)
at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p
arse(Unknown Source)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:770)
at
org.apache.cxf.dosgi.discovery.local.LocalDiscoveryUtils.getElements(
LocalDiscoveryUtils.java:567)
at
org.apache.cxf.dosgi.discovery.local.LocalDiscoveryUtils.getAllDescri
ptionElements(LocalDiscoveryUtils.java:376)
at
org.apache.cxf.dosgi.discovery.local.LocalDiscoveryUtils.getAllEndpoi
ntDescriptions(LocalDiscoveryUtils.java:86)
at
org.apache.cxf.dosgi.discovery.local.internal.LocalDiscovery.findDecl
aredRemoteServices(LocalDiscovery.java:181)
at
org.apache.cxf.dosgi.discovery.local.internal.LocalDiscovery.bundleCh
anged(LocalDiscovery.java:172)
at
org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerC
allback(EventDispatcher.java:868)
at
org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(
EventDispatcher.java:789)
at
org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.j
ava:1088)
at
org.apache.felix.framework.util.EventDispatcher.access$000(EventDispa
tcher.java:54)
at
org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher
.java:101)
at java.lang.Thread.run(Unknown Source)
Can anybody help me?
Thanks in advance
--
View this message in context:
http://cxf.547215.n5.nabble.com/Problem-with-export-a-service-with-D-OSGi-tp5160304p5160304.html
Sent from the cxf-user mailing list archive at Nabble.com.
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com
------------------------------
If you reply to this email, your message will be added to the discussion
below:
http://cxf.547215.n5.nabble.com/Problem-with-export-a-service-with-D-OSGi-tp5160304p5165974.html
To unsubscribe from Problem with export a service with D-OSGi, click
here<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5160304&code=c295ZWxtYXRlb0BnbWFpbC5jb218NTE2MDMwNHwtODU2MzA5NTk1>
.
NAML<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
--
View this message in context:
http://cxf.547215.n5.nabble.com/Problem-with-export-a-service-with-D-OSGi-tp5160304p5166007.html
Sent from the cxf-user mailing list archive at Nabble.com.
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com