You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by kasthurirajan <ka...@yahoo.com> on 2013/04/26 14:20:19 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"

Im using Camel 2.10.4, Karaf 2.3.1 & Maven 2.2.1.

Regards,

K.Rajan



--
View this message in context: http://cxf.547215.n5.nabble.com/Reason-Missing-Constraint-Import-Package-META-INF-wsdl-version-0-0-0-tp5726821.html
Sent from the cxf-user mailing list archive at Nabble.com.

Re: Reason: Missing Constraint: Import- Package: META-INF.wsdl; version="0.0.0"

Posted by kasthurirajan <ka...@yahoo.com>.
Hi Dan,

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 

Also im able to see some exception in the console while building the project
with Maven 3.0.5

[WARNING] Exception while updating local OBR: Unable to read repository xml:
fil
e:/C:/Users/kasthurirajan.ka/.m2/repository/repository.xml
org.apache.maven.plugin.MojoExecutionException: Unable to read repository
xml: f
ile:/C:/Users/kasthurirajan.ka/.m2/repository/repository.xml

Pls do let me know what is the issue im facing here..

Regards,

K.Rajan



--
View this message in context: http://cxf.547215.n5.nabble.com/Reason-Missing-Constraint-Import-Package-META-INF-wsdl-version-0-0-0-tp5726821p5726884.html
Sent from the cxf-user mailing list archive at Nabble.com.

Re: Reason: Missing Constraint: Import- Package: META-INF.wsdl; version="0.0.0"

Posted by Daniel Kulp <dk...@apache.org>.
Did you do some modification or similar to the example?  

If I grab the deployed example bundle from:

http://repo1.maven.org/maven2/org/apache/camel/camel-example-cxf-osgi/2.10.4/

and unpack, I don't see any import for META-INF.wsdl.  Thus, I'm not sure where this error would be coming from.


Dan



On Apr 26, 2013, at 8:20 AM, kasthurirajan <ka...@yahoo.com> wrote:

> 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"
> 
> Im using Camel 2.10.4, Karaf 2.3.1 & Maven 2.2.1.
> 
> Regards,
> 
> K.Rajan
> 
> 
> 
> --
> View this message in context: http://cxf.547215.n5.nabble.com/Reason-Missing-Constraint-Import-Package-META-INF-wsdl-version-0-0-0-tp5726821.html
> Sent from the cxf-user mailing list archive at Nabble.com.

-- 
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com