These are the lines registered into the servicemix.log file after
adding the
lines you mention for debug:
11:33:44,148 | INFO | xtenderThread-66 |
DependencyServiceManager |
startup.DependencyServiceManager 232 |
OsgiBundleXmlApplicationContext(bundle=servicemix-wsn2005,
config=osgibundle:/META-INF/spring/*.xml) is waiting for unsatisfied
dependencies [[&connectionFactory]]
11:33:44,149 | DEBUG | xtenderThread-66 |
SpringApplicationListener |
l.osgi.SpringApplicationListener 80 | Spring app state changed to
Waiting
for bundle 156
11:34:22,750 | DEBUG | Timer-0 |
Scanner |
cemix.kernel.filemonitor.Scanner 302 | File added:
/home/smontico/Desktop/smontico/software/ESB/ServiceMix/apache-
servicemix-4.0.0/deploy/wsdl-first-validateLocation-cxf-sa-4.0.0.zip
11:34:22,750 | DEBUG | Timer-0 |
FileMonitor |
x.kernel.filemonitor.FileMonitor 234 | File changed:
/home/smontico/Desktop/smontico/software/ESB/ServiceMix/apache-
servicemix-4.0.0/deploy/wsdl-first-validateLocation-cxf-sa-4.0.0.zip
11:34:22,807 | INFO | Timer-0 |
FileMonitor |
x.kernel.filemonitor.FileMonitor 374 | Deploying:
/home/smontico/Desktop/smontico/software/ESB/ServiceMix/apache-
servicemix-4.0.0/data/generated-bundles/wsdl-first-validateLocation-
cxf-sa-4.0.0.jar
11:34:22,843 | DEBUG | Timer-0 |
Deployer |
cemix.jbi.deployer.impl.Deployer 301 | Checking bundle: 'null
(wsdl-first-validateLocation-cxf-sa)'
11:34:22,849 | INFO | Timer-0 |
Deployer |
cemix.jbi.deployer.impl.Deployer 343 | Deploying bundle 'null
(wsdl-first-validateLocation-cxf-sa)' as a JBI service assembly
11:34:23,177 | DEBUG | Timer-0 |
ServiceAssemblyInstaller |
er.impl.ServiceAssemblyInstaller 202 | Deploying SU
wsdl-first-validateLocation-cxfse-su
11:34:23,177 | DEBUG | Timer-0 |
CxfSeComponent |
ix.common.BaseServiceUnitManager 61 | Deploying service unit
11:34:23,178 | DEBUG | Timer-0 |
CxfSeComponent |
mmon.xbean.AbstractXBeanDeployer 57 | Looking for
/home/smontico/Desktop/smontico/software/ESB/ServiceMix/apache-
servicemix-4.0.0/data/jbi/wsdl-first-validateLocation-cxf-sa/sus/
wsdl-first-validateLocation-cxfse-su/xbean.xml:
true
11:34:23,182 | INFO | Timer-0 |
FileSystemXmlApplicationContext |
pport.AbstractApplicationContext 411 | Refreshing
org
.apache.xbean.spring.context.filesystemxmlapplicationcont...@4737a3:
display name
[org
.apache.xbean.spring.context.filesystemxmlapplicationcont...@4737a3];
startup date [Tue Mar 09 11:34:23 UYST 2010]; root of context
hierarchy
11:34:23,185 | INFO | Timer-0 |
XBeanXmlBeanDefinitionReader |
tory.xml.XmlBeanDefinitionReader 323 | Loading XML bean definitions
from
file
[/home/smontico/Desktop/smontico/software/ESB/ServiceMix/apache-
servicemix-4.0.0/data/jbi/wsdl-first-validateLocation-cxf-sa/sus/
wsdl-first-validateLocation-cxfse-su/xbean.xml]
11:34:23,221 | INFO | Timer-0 |
FileSystemXmlApplicationContext |
pport.AbstractApplicationContext 426 | Bean factory for application
context
[org
.apache.xbean.spring.context.filesystemxmlapplicationcont...@4737a3]:
org
.springframework
.beans.factory.support.defaultlistablebeanfact...@a71c9a
11:34:23,222 | INFO | Timer-0 |
DefaultListableBeanFactory |
pport.DefaultListableBeanFactory 414 | Pre-instantiating singletons
in
org
.springframework
.beans.factory.support.defaultlistablebeanfact...@a71c9a:
defining beans [org.apache.servicemix.cxfse.CxfSeEndpoint#0]; parent:
org.apache.servicemix.common.xbean.simplebeanfact...@1f08e98
11:34:23,373 | DEBUG | Timer-0 |
CxfSeComponent |
ix.common.BaseServiceUnitManager 75 | Service unit deployed
11:34:23,413 | DEBUG | Timer-0 |
ServiceAssemblyInstaller |
er.impl.ServiceAssemblyInstaller 202 | Deploying SU
wsdl-first-validateLocation-cxfbc-su
11:34:23,414 | DEBUG | Timer-0 |
CxfBcComponent |
ix.common.BaseServiceUnitManager 61 | Deploying service unit
11:34:23,418 | DEBUG | Timer-0 |
CxfBcComponent |
mmon.xbean.AbstractXBeanDeployer 57 | Looking for
/home/smontico/Desktop/smontico/software/ESB/ServiceMix/apache-
servicemix-4.0.0/data/jbi/wsdl-first-validateLocation-cxf-sa/sus/
wsdl-first-validateLocation-cxfbc-su/xbean.xml:
true
11:34:23,419 | INFO | Timer-0 |
FileSystemXmlApplicationContext |
pport.AbstractApplicationContext 411 | Refreshing
org
.apache.xbean.spring.context.filesystemxmlapplicationcont...@c9d448:
display name
[org
.apache.xbean.spring.context.filesystemxmlapplicationcont...@c9d448];
startup date [Tue Mar 09 11:34:23 UYST 2010]; root of context
hierarchy
11:34:23,419 | INFO | Timer-0 |
XBeanXmlBeanDefinitionReader |
tory.xml.XmlBeanDefinitionReader 323 | Loading XML bean definitions
from
file
[/home/smontico/Desktop/smontico/software/ESB/ServiceMix/apache-
servicemix-4.0.0/data/jbi/wsdl-first-validateLocation-cxf-sa/sus/
wsdl-first-validateLocation-cxfbc-su/xbean.xml]
11:34:23,431 | INFO | Timer-0 |
FileSystemXmlApplicationContext |
pport.AbstractApplicationContext 426 | Bean factory for application
context
[org
.apache.xbean.spring.context.filesystemxmlapplicationcont...@c9d448]:
org
.springframework
.beans.factory.support.defaultlistablebeanfact...@161f9da
11:34:23,431 | INFO | Timer-0 |
DefaultListableBeanFactory |
pport.DefaultListableBeanFactory 414 | Pre-instantiating singletons
in
org
.springframework
.beans.factory.support.defaultlistablebeanfact...@161f9da:
defining beans [org.apache.servicemix.cxfbc.CxfBcConsumer#0]; parent:
org.apache.servicemix.common.xbean.simplebeanfact...@555538
11:34:23,663 | INFO | Timer-0 |
ServerImpl |
e.servicemix.cxfbc.CxfBcConsumer 498 | Setting the server's publish
address
to be http://localhost:8193/ValidateLocationService/
11:34:23,669 | DEBUG | Timer-0 |
CxfBcComponent |
ix.common.BaseServiceUnitManager 75 | Service unit deployed
11:34:23,676 | INFO | Timer-0 |
ServiceAssemblyImpl |
er.artifacts.ServiceAssemblyImpl 269 | Changing SA state to Stopped
11:34:23,677 | DEBUG | Timer-0 |
CxfSeComponent |
ix.common.BaseServiceUnitManager 101 | Initializing service unit
11:34:23,680 | DEBUG | Timer-0 |
CxfSeComponent |
rvicemix.common.DefaultComponent 94 | Querying service description
for
org.apache.servicemix.jbi.runtime.impl.serviceendpointi...@1a0df30
11:34:23,680 | DEBUG | Timer-0 |
CxfSeComponent |
rvicemix.common.DefaultComponent 102 | No description found for
{http://com/crs/sag/
service}GeographicReferenceTypeImplService:ValidateLocationServicePort
11:34:23,681 | INFO | Timer-0 |
ManagementEndpointRegistry |
ement.ManagementEndpointRegistry 64 | Registering endpoint:
org.apache.servicemix.nmr.core.internalendpointwrap...@1c2d603 with
properties {ENDPOINT_NAME=ValidateLocationServicePort,
jbi.internal=true,
NAME={http://com/crs/sag/
service
}GeographicReferenceTypeImplService:ValidateLocationServicePort,
objectClass=[Ljava.lang.String;@187b9fe, service.id=182,
SERVICE_NAME={http://com/crs/sag/
service}GeographicReferenceTypeImplService}
11:34:23,703 | DEBUG | Timer-0 |
osgi |
? ? | ServiceEvent REGISTERED
11:34:23,703 | DEBUG | Timer-0 |
osgi |
? ? | ServiceEvent REGISTERED
11:34:23,704 | DEBUG | Timer-0 |
CxfSeComponent |
ix.common.BaseServiceUnitManager 124 | Service unit initialized
11:34:23,704 | DEBUG | Timer-0 |
CxfBcComponent |
ix.common.BaseServiceUnitManager 101 | Initializing service unit
11:34:23,705 | DEBUG | Timer-0 |
CxfBcComponent |
rvicemix.common.DefaultComponent 94 | Querying service description
for
org.apache.servicemix.common.externalendpo...@ec5ea8
11:34:23,754 | INFO | Timer-0 |
ManagementEndpointRegistry |
ement.ManagementEndpointRegistry 64 | Registering endpoint:
org.apache.servicemix.nmr.core.internalendpointwrap...@1328de4 with
properties {ENDPOINT_NAME=ValidateLocation,
javax
.jbi
.servicedesc
.serviceendpoint=org.apache.servicemix.common.externalendpo...@ec5ea8,
jbi.external=true,
NAME={http://com/crs/sag/
service}ValidateLocationService:ValidateLocation,
objectClass=[Ljava.lang.String;@1e85210, service.id=184,
SERVICE_NAME={http://com/crs/sag/service}ValidateLocationService,
UNTARGETABLE=true, WSDL_URL=document:1}
11:34:23,758 | DEBUG | Timer-0 |
osgi |
? ? | ServiceEvent REGISTERED
11:34:23,759 | DEBUG | Timer-0 |
osgi |
? ? | ServiceEvent REGISTERED
11:34:23,770 | INFO | Timer-0 |
jetty |
.service.internal.util.JCLLogger 102 | jetty-6.1.x
11:34:23,777 | INFO | Timer-0 |
jetty |
.service.internal.util.JCLLogger 102 | Started
[email protected]:8193
11:34:23,805 | DEBUG | Timer-0 |
CxfBcComponent |
ix.common.BaseServiceUnitManager 124 | Service unit initialized
11:34:23,805 | INFO | Timer-0 |
ServiceAssemblyImpl |
er.artifacts.ServiceAssemblyImpl 269 | Changing SA state to Started
11:34:23,806 | DEBUG | Timer-0 |
CxfSeComponent |
ix.common.BaseServiceUnitManager 142 | Starting service unit
11:34:24,283 | INFO | Timer-0 |
ConfigurerImpl |
ransport.jbi.JBITransportFactory 132 | Could not determine bean
name for
instance of class org.apache.cxf.transport.jbi.JBIDestination.
11:34:24,284 | INFO | Timer-0 |
ServerImpl |
e.cxf.frontend.ServerFactoryBean 118 | Setting the server's publish
address
to be jbi://ID-127-0-0-2-1274322af30-0-0
11:34:24,386 | DEBUG | Timer-0 |
CxfSeComponent |
e.servicemix.cxfse.CxfSeEndpoint 473 | Unable to inject
ComponentContext:
com
.crs
.sag
.service
.GeographicReferenceTypeImpl
.setContext(javax.jbi.component.ComponentContext)
11:34:24,387 | DEBUG | Timer-0 |
CxfSeComponent |
ix.common.BaseServiceUnitManager 157 | Service unit started
11:34:24,387 | DEBUG | Timer-0 |
CxfBcComponent |
ix.common.BaseServiceUnitManager 142 | Starting service unit
11:34:24,387 | DEBUG | Timer-0 |
CxfBcComponent |
ix.common.BaseServiceUnitManager 157 | Service unit started
11:34:24,387 | DEBUG | Timer-0 |
Deployer |
cemix.jbi.deployer.impl.Deployer 460 | Registering JBI service
assembly
11:34:24,389 | INFO | Timer-0 |
FileMonitor |
x.kernel.filemonitor.FileMonitor 550 | Started:
wsdl-first-validateLocation-cxf-sa [157]
11:34:24,389 | DEBUG | lixDispatchQueue |
LocalConsole |
ernel.gshell.core.LocalConsole$1 87 | Got event: 4
Thanks, Santiago.
Freeman Fang wrote:
And you can edit $SMX_HOME/etc/org.ops4j.pax.logging.cfg
add
log4j.category.org.apache.servicemix=DEBUG
to turn debug log for servicemix code to get more log details
Freeman
On 2010-3-9, at 下午9:05, Freeman Fang wrote:
Hi,
Could you append the $SMX_HOME/data/karaf.log when you deploy SA and
send message? It would be more helpful.
Freeman
On 2010-3-9, at 下午8:43, smontico wrote:
Hi,
I'm developing a cxf component for servicemix 4 using the following
wsdl:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:gr="http://com/crs/sag/service"
xmlns:tns="http://com/crs/sag/service
"
name="validateLocation" targetNamespace="http://com/crs/sag/
service">
<wsdl:types>
<xs:schema targetNamespace="http://com/crs/sag/service"
elementFormDefault="qualified">
<xs:include schemaLocation="ValidateLocationRQ.xsd"/>
<xs:include schemaLocation="ValidateLocationRS.xsd"/>
<xs:include
schemaLocation="../Common_Usage/HeaderRQ.xsd"/>
<xs:include
schemaLocation="../Common_Usage/HeaderRS.xsd"/>
</xs:schema>
</wsdl:types>
<wsdl:message name="sendValidateLocationInput">
<wsdl:part name="HeaderRQ" element="gr:HeaderRQ"/>
<!-- <wsdl:part name="ValidateLocationRQ"
element="gr:ValidateLocationRQ"/> -->
</wsdl:message>
<wsdl:message name="sendValidateLocationOutput">
<wsdl:part name="HeaderRS" element="gr:HeaderRS"/>
<!-- <wsdl:part name="ValidateLocationRS"
element="gr:ValidateLocationRS"/> -->
</wsdl:message>
<wsdl:portType name="GeographicReferenceType">
<wsdl:operation name="ValidateLocation">
<wsdl:input message="gr:sendValidateLocationInput"/>
<wsdl:output message="gr:sendValidateLocationOutput"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="validateLocationSOAPBinding"
type="tns:GeographicReferenceType">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="ValidateLocation">
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="ValidateLocationService">
<wsdl:port name="ValidateLocation"
binding="tns:validateLocationSOAPBinding">
<soap:address
location="http://localhost:8193/ValidateLocationService/
"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
I have deployed the service assembly into the hot deploy folder and
the sa
seems to be active:
[ 157] [Active ] [ ] [ 60] validateLocation-cxf-sa
(0.0.0)
s...@root:/>
The problem is when i try to test it from a client generated using
wsdl2java
tool, the client throws the following exception:
Invoking validateLocation...
Exception in thread "main" javax.xml.ws.soap.SOAPFaultException:
Could not
dispatch exchange. No matching endpoints.
at
com
.sun
.xml
.internal
.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:178)
at
com
.sun
.xml
.internal
.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:
111)
at
com
.sun
.xml
.internal
.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)
at
com
.sun
.xml
.internal
.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:
107)
at $Proxy36.validateLocation(Unknown Source)
at
com
.crs
.sag
.service
.GeographicReferenceType_ValidateLocation_Client
.main(GeographicReferenceType_ValidateLocation_Client.java:56)
----------------
BC Configuration:
----------------
xbean.xml:
<beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
xmlns:validateLocation="http://com/crs/sag/service">
<cxfbc:consumer wsdl="classpath:/ValidateLocation/
ValidateLocation.wsdl"
targetService="validateLocation:ValidateLocationService"
targetInterface="validateLocation:GeographicReferenceType"/>
</beans>
-----------------
SE Configuration:
-----------------
<beans xmlns:cxfse="http://servicemix.apache.org/cxfse/1.0">
<cxfse:endpoint>
<cxfse:pojo>
<bean
class="com.crs.sag.service.GeographicReferenceTypeImpl" />
</cxfse:pojo>
</cxfse:endpoint>
</beans>
What could be wrong?
Thanks in advance, Santiago.
--
View this message in context:
http://old.nabble.com/Could-not-dispatch-exchange.-No-matching-endpoints---ServiceMix-4-tp27835123p27835123.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com
--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com
--
View this message in context:
http://old.nabble.com/Could-not-dispatch-exchange.-No-matching-endpoints---ServiceMix-4-tp27835123p27835707.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.