You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by kasthurirajan <ka...@yahoo.com> on 2013/04/26 14:25:13 UTC
Reason: Missing Constraint: Import- Package: META-INF.wsdl;
version="0.0.0"
Hi All,
Im getting the below error while starting the bundle ID for the example
program org.apache.camel.camel-example-cxf-osgi_2.10.4.
Error executing command: Error starting bundles:
Unable to start bundle 179: The bundle
"org.apache.camel.camel-example-c
xf-osgi_2.10.4 [179]" could not be resolved. Reason: Missing Constraint:
Import-
Package: META-INF.wsdl; version="0.0.0"
Also, im getting an exception while trying to access the below URL
http://localhost:8181/cxf/camel-example-cxf-osgi/webservices/incident?wsdl
No service was found.
HTTP:404 error
Im using Camel 2.10.4, Karaf 2.3.1 & Maven 2.2.1.
Regards,
K.Rajan
--
View this message in context: http://camel.465427.n5.nabble.com/Reason-Missing-Constraint-Import-Package-META-INF-wsdl-version-0-0-0-tp5731612.html
Sent from the Camel Development mailing list archive at Nabble.com.
Re: Reason: Missing Constraint: Import- Package: META-INF.wsdl; version="0.0.0"
Posted by Claus Ibsen <cl...@gmail.com>.
Hi
I think its a bug in Apache CXF 2.7.4. That example doesn't work.
This is also documented in the knowns issue section of the release notes
http://camel.apache.org/camel-2110-release.html
On Mon, Apr 29, 2013 at 10:54 AM, kasthurirajan
<ka...@yahoo.com> wrote:
> Hi Marco,
>
> Thanks for the information. I have also tried the above example using camel
> 2.11 with karaf 2.3.1 & Maven 3.0.5.
>
> Still im not able to access the below URL & getting that No service found in
> the page.
>
> http://localhost:8181/cxf/camel-example-cxf-osgi/webservices/incident?wsdl
>
> Pls find below the details from the log files:
>
> Creating Service
> {http://reportincident.example.camel.apache.org}ReportIncidentEndpointService
> from WSDL: META-INF/wsdl/report_incident.wsdl
> 2013-04-29 13:21:53,193 | WARN | ExtenderThread-4 |
> AbstractWSDLBasedEndpointFactory | AbstractWSDLBasedEndpointFactory 138 |
> 197 - org.apache.cxf.cxf-rt-frontend-simple - 2.7.4 |
>
> Could not find endpoint/port for
> {http://reportincident.example.camel.apache.org}ReportIncidentEndpointPort
> in wsdl. Using
> {http://reportincident.example.camel.apache.org}ReportIncidentService.
> 2013-04-29 13:21:53,194 | INFO | ExtenderThread-4 | ServerImpl
> | g.apache.cxf.endpoint.ServerImpl 94 | 189 - org.apache.cxf.cxf-api -
> 2.7.4 |
>
> Can't find the the request for
> http://localhost:8181/cxf/camel-example-cxf-osgi/webservices/incident's
> Observer
>
> Pls do let me know what is the issue im facing here..
>
> Regards,
>
> K.Rajan
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Reason-Missing-Constraint-Import-Package-META-INF-wsdl-version-0-0-0-tp5731612p5731722.html
> Sent from the Camel Development mailing list archive at Nabble.com.
--
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Re: Reason: Missing Constraint: Import- Package: META-INF.wsdl;
version="0.0.0"
Posted by kasthurirajan <ka...@yahoo.com>.
Hi Marco,
Thanks for the information. I have also tried the above example using camel
2.11 with karaf 2.3.1 & Maven 3.0.5.
Still im not able to access the below URL & getting that No service found in
the page.
http://localhost:8181/cxf/camel-example-cxf-osgi/webservices/incident?wsdl
Pls find below the details from the log files:
Creating Service
{http://reportincident.example.camel.apache.org}ReportIncidentEndpointService
from WSDL: META-INF/wsdl/report_incident.wsdl
2013-04-29 13:21:53,193 | WARN | ExtenderThread-4 |
AbstractWSDLBasedEndpointFactory | AbstractWSDLBasedEndpointFactory 138 |
197 - org.apache.cxf.cxf-rt-frontend-simple - 2.7.4 |
Could not find endpoint/port for
{http://reportincident.example.camel.apache.org}ReportIncidentEndpointPort
in wsdl. Using
{http://reportincident.example.camel.apache.org}ReportIncidentService.
2013-04-29 13:21:53,194 | INFO | ExtenderThread-4 | ServerImpl
| g.apache.cxf.endpoint.ServerImpl 94 | 189 - org.apache.cxf.cxf-api -
2.7.4 |
Can't find the the request for
http://localhost:8181/cxf/camel-example-cxf-osgi/webservices/incident's
Observer
Pls do let me know what is the issue im facing here..
Regards,
K.Rajan
--
View this message in context: http://camel.465427.n5.nabble.com/Reason-Missing-Constraint-Import-Package-META-INF-wsdl-version-0-0-0-tp5731612p5731722.html
Sent from the Camel Development mailing list archive at Nabble.com.
Re: Reason: Missing Constraint: Import- Package: META-INF.wsdl; version="0.0.0"
Posted by Marco Westermann <Ma...@gmx.de>.
Hi,
I was told that karaf 2.3.x and camel 2.10.x doesnt fit together. Claus
Ibsen told me that it is better to use the latest karaf 2.2.x if you
want to use camel 2.10. Otherwise you have to use camel 2.11 with karaf 2.3
regards, Marco
Am 26.04.2013 14:25, schrieb kasthurirajan:
> Hi All,
>
> Im getting the below error while starting the bundle ID for the example
> program org.apache.camel.camel-example-cxf-osgi_2.10.4.
>
> Error executing command: Error starting bundles:
> Unable to start bundle 179: The bundle
> "org.apache.camel.camel-example-c
> xf-osgi_2.10.4 [179]" could not be resolved. Reason: Missing Constraint:
> Import-
> Package: META-INF.wsdl; version="0.0.0"
>
> Also, im getting an exception while trying to access the below URL
>
> http://localhost:8181/cxf/camel-example-cxf-osgi/webservices/incident?wsdl
>
> No service was found.
>
> HTTP:404 error
>
>
> Im using Camel 2.10.4, Karaf 2.3.1 & Maven 2.2.1.
>
> Regards,
>
> K.Rajan
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Reason-Missing-Constraint-Import-Package-META-INF-wsdl-version-0-0-0-tp5731612.html
> Sent from the Camel Development mailing list archive at Nabble.com.
>