Hi, you are referring to greeter_rest, so may be that is the problem
given that you are actually working with WSDL ?
Either way, I created https://issues.apache.org/jira/browse/DOSGI-114 -
which will be reviewed in a couple of months, please comment further on
that JIRA if you find something else.
Does the 'greeter' demo work for you ?
Cheers, Sergey
On 14/03/12 20:37, Nikos Kefalakis wrote:
Dear Sergey,
Thank you very much for pointing out Bertrand's code.
Indeed when I tried his code on my system (which I build with Gradle) it
worked correctly.
Unfortunately when I tried to follow his example to my project the problem
persisted. It worth to mention that I am using maven. I had even added his
code to my project and removed any other dependencies but still nothing.
Finally I had created a new clean maven project (where the greeter rest pom
was also advised) added only his code in it and tried to build it but still
no luck. It couldn’t export the webservices correctly.
So I guess that it isn’t an WSDL problem either a wsdl2java nor an CXF
configuration as I had used Bertrand's code which was working.
Moreover I had tested the greeter_rest sample and despite the fact that the
services was working the message was still present in my console:
"SEVERE: No RemoteServiceAdmin available! Unable to export service from
bundle cxf-dosgi-ri-samples-greeter-rest-impl, interfaces:
[Ljava.lang.String;@1e58da92"
But then again when using CXF 'simple' frontend the services are correctly
exported (the service?wsdl appear correctly) despite the same notification.
I have tried anything I could think (and the whole thing is really
frustrating) of and If I haven’t done anything wrong in my pom configuration
(http://websvn.ow2.org/filedetails.php?repname=aspire&path=%2Fsandbox%2Fnkef
%2Fale.core.cxftest%2Fpom.xml) nor in my Activator
(http://websvn.ow2.org/filedetails.php?repname=aspire&path=%2Fsandbox%2Fnkef
%2Fale.core.cxftest%2Fsrc%2Fmain%2Fjava%2Fcom%2Fodelia%2Fosgi%2Fdosgi%2FSimp
leActivator.java) I can only conclude that it is an
Maven(maven-bundle-plugin)/Felix/DOSGi combination problem.
I am using :
felix-framework-4.0.2
apache-maven-3.0.4
jdk1.7.0_03 (64bit)
jdk1.7.0_01 (32bit)
the correct " http://localhost:9090/SimpleService?wsdl" output from
Bertrand's code (build with Gradle) can be found here:
http://websvn.ow2.org/filedetails.php?repname=aspire&path=%2Fsandbox%2Fnkef%
2Fale.core.cxftest%2Ftemp%2FCorrectSimpleServicewsdl.xml
the problematic " http://localhost:9090/SimpleService?wsdl" output of
Bertrand's code (build with Maven) can be found here:
http://websvn.ow2.org/filedetails.php?repname=aspire&path=%2Fsandbox%2Fnkef%
2Fale.core.cxftest%2Ftemp%2FProblematicSimpleServicewsdl.xml
and the final testing code (Bertrand's code set up with maven) can be found
here:
http://websvn.ow2.org/listing.php?repname=aspire&path=%2Fsandbox%2Fnkef%2F
(svn://svn.forge.objectweb.org/svnroot/aspire/sandbox/nkef/ale.core.cxftest)
Any help from anyone is more than welcome :)
Thank you.
Best Regards,
Nikos Kefalakis
AspireRFID Project Leader
-----Original Message-----
From: Sergey Beryozkin [mailto:[email protected]]
Sent: Monday, March 12, 2012 10:55 PM
To: [email protected]
Subject: Re: Service export problem in CXF DOSGI 1.3
Please browse through the reference page, you'll find new properties I was
referring to, see also this project from Bertrand:
https://bitbucket.org/bgoetzmann/cxf-dosgi-wsdl/wiki/Home
HTH, Sergey
On 12/03/12 18:45, Nikos Kefalakis wrote:
Hi,
Is there any CXF JAX-WS frontend Distributed OSGi
("org.apache.cxf.ws.frontend"="jaxws") example available so I could
follow?
(I couldn’t find any at the cxf/dosgi samples.)
Thank you!
Nikos.
-----Original Message-----
From: Nikos Kefalakis [mailto:[email protected]]
Sent: Monday, March 12, 2012 6:51 PM
To: [email protected]
Subject: RE: Service export problem in CXF DOSGI 1.3
I have setup the system following these guidelines already.
Best Regards,
Nikos.
-----Original Message-----
From: Sergey Beryozkin [mailto:[email protected]]
Sent: Monday, March 12, 2012 6:34 PM
To: [email protected]
Subject: Re: Service export problem in CXF DOSGI 1.3
Check this section please
http://cxf.apache.org/distributed-osgi-reference.html#DistributedOSGiR
eferen
ce-ServiceProviderpropertiesForConfiguringSOAPbasedservicesandconsumer
s
Sergey
On 12/03/12 16:19, Nikos Kefalakis wrote:
Dear Sergey,
Excuse my ignorance but to which ref page are you referring to?
The WSDL I am using can be found here:
http://www.gs1.org/gsmp/kc/epcglobal/ale/ale_1_1-schemas-20071202/EPC
g
lobal-
ale-1_1-ale.wsdl
Which requires also the following:
http://www.gs1.org/gsmp/kc/epcglobal/ale/ale_1_1-schemas-20071202/EPC
g
lobal-
ale-1_1-ale.xsd
http://www.gs1.org/gsmp/kc/epcglobal/ale/ale_1_1-schemas-20071202/EPCglobal.
xsd
http://www.gs1.org/gsmp/kc/epcglobal/ale/ale_1_1-schemas-20071202/EPC
g
lobal-
ale-1_1-common.xsd
(All of them can be found here
http://www.gs1.org/gsmp/kc/epcglobal/ale/ale_1_1-schemas-20071202.zip
)
Best Regards,
Nikos Kefalakis
-----Original Message-----
From: Sergey Beryozkin [mailto:[email protected]]
Sent: Monday, March 12, 2012 6:01 PM
To: [email protected]
Subject: Re: Service export problem in CXF DOSGI 1.3
On 12/03/12 15:53, Nikos Kefalakis wrote:
Hi,
The same for me here:
....SEVERE: No RemoteServiceAdmin available! Unable to export
service from bundle....
As I said, I believe David did fix it, besides I did not see any
issues when running the demos myself... Try provide a test please if
the issues persist with the latest snapshot
I have tried CXF 1.3 multibundle and CXF 1.3 multibundle SNAPSHOT.
And the services doesn't start.
By using single bundle distribution (version 1.3 and 1.4 SNAPSHOT) I
can start the services but only by using CXF 'simple' frontend.
When I use CXF
'JAX-WS' frontend I face the problem described in the attached e-mail.
I suspect you will need to provide a wsdl location pointing to the
WSDL you used to generate the code, please see the ref page, it is
supported now...
Cheers, Sergey
Best Regards,
Nikos Kefalakis
-----Original Message-----
From: Sergey Beryozkin [mailto:[email protected]]
Sent: Monday, March 12, 2012 5:28 PM
To: [email protected]
Subject: Re: Service export problem in CXF DOSGI 1.3
Hi
On 12/03/12 15:19, Vásáry Dániel wrote:
Hi,
I'm using CXF DOSGI for years. Now, I would like to switch from
cxf-dosgi-ri-singlebundle-distribution 1.2 to version 1.3.
After replacing cxf bundle to new version, my project can't export
webservice.
I think David fixed this issue for the single bundle distro, to do
with it not exporting/importing the embedded osgi enterprise packages.
Please try the multi-bundle distro in meantime...
Sergey
Console output is:
márc. 12, 2012 4:08:09 DU
org.apache.cxf.dosgi.topologymanager.TopologyManagerImport<init>
WARNING: No RemoteServiceAdmin service available!
márc. 12, 2012 4:08:09 DU
org.apache.cxf.dosgi.topologymanager.TopologyManager$2 run
SEVERE: No RemoteServiceAdmin available! Unable to export service
from bundle ..., interfaces: [Ljava.lang.String;@1741f1b
Webservice registration properties are:
props.put("service.exported.interfaces", "*");
props.put("service.exported.configs", "org.apache.cxf.ws");
props.put("org.apache.cxf.ws.httpservice.context", "/demo");
props.put("org.apache.cxf.ws.frontend", "jaxws");
Can somebody help me, how to solve this problem?
Thanks,
Daniel
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com