Thanks a lot.
I am trying to put all pieces together, and I got the following error. Not
what wrong I did, if you or anyone else can helpout here, I do appreciate
it.
Here is my execution flow: http client -> httpreceiver -> httpendpoing
provider -> external service
here is my configuration file
=====
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:sm="http://servicemix.apache.org/config/1.0"
xmlns:http="http://servicemix.apache.org/http/1.0"
xmlns:foo="http://servicemix.org/demo/">
<!-- the JBI container -->
<sm:container id="jbi"
useMBeanServer="true"
createMBeanServer="true"
dumpStats="true"
statsInterval="10">
<sm:activationSpecs>
<!-- Create a http server binding on port 8912 and have
it forward to the
invoker -->
<sm:activationSpec componentName="httpReceiver"
service="foo:httpBinding"
endpoint="httpReceiver"
destinationService="foo:CatalogWebService">
<sm:component>
<bean class="
org.apache.servicemix.components.http.HttpConnector">
<property name="host" value="
L71037263.us.ray.com"/>
<property name="port" value="8912"/>
</bean>
</sm:component>
</sm:activationSpec>
<!-- This just invokes another service -->
<sm:activationSpec componentName="saajBinding"
service="foo:saajBinding"
endpoint="saajBinding">
<sm:component>
<bean class="
org.apache.servicemix.components.saaj.SaajBinding">
<property name="soapAction" value="" />
<property name="soapEndpoint">
<bean class="
javax.xml.messaging.URLEndpoint">
<constructor-arg
value="http://138.125.32.77:7001/mdf/CatalogWebService"/>
</bean>
</property>
</bean>
</sm:component>
</sm:activationSpec>
<sm:activationSpec componentName="provider">
<sm:component>
<http:component>
<http:endpoints>
<http:endpoint
service="foo:CatalogWebService"
endpoint="catalogWebServiceEP" targetService="foo:CatalogWebService"
role="provider"
locationURI="http://138.125.32.77:7001/mdf/CatalogWebService"
wsdlResource="http://138.125.32.77:7001/mdf/CatalogWebService?WSDL" />
</http:endpoints>
</http:component>
</sm:component>
</sm:activationSpec>
</sm:activationSpecs>
</sm:container>
</beans>
=== end of configuration file
my client request file which will be read by my client and send to
httpreceiver
===
<m:getSiteNames xmlns:m="http://mil.dcgs/CatalogWebService">
</m:getSiteNames>
===
the servicemix log
==========
ID:L71037263-1587-1155051932077-1:1 in DeliveryChannel{httpReceiver}
11:49:24,031 | DEBUG | btpool0-2 | DeliveryChannelImpl |
.messaging.DeliveryChannelImpl 343 | Sent: MessageExchange[
id: ID:L71037263-1587-1155051932077-1:1
status: Active
role: consumer
service: {http://servicemix.org/demo/}CatalogWebService
in: <?xml version="1.0" encoding="UTF-8"?><m:getSiteNames
xmlns:m="http://mil.dcgs/CatalogWebService">
</m:getSiteNames>
]
11:49:24,031 | DEBUG | btpool0-2 | DefaultBroker |
rvicemix.jbi.nmr.DefaultBroker 390 | Routing exchange MessageExchange[
id: ID:L71037263-1587-1155051932077-1:1
status: Active
role: provider
service: {http://servicemix.org/demo/}CatalogWebService
endpoint: catalogWebServiceEP
in: <?xml version="1.0" encoding="UTF-8"?><m:getSiteNames
xmlns:m="http://mil.dcgs/CatalogWebService">
</m:getSiteNames>
] to:
ServiceEndpoint[service={
http://servicemix.org/demo/}CatalogWebService,endpoint=catalogWebServiceEP
]
11:49:24,031 | DEBUG | btpool0-2 | SedaFlow |
emix.jbi.nmr.flow.AbstractFlow 115 | Called Flow send
11:49:24,031 | DEBUG | btpool0-2 | DeliveryChannelImpl |
.messaging.DeliveryChannelImpl 697 | Waiting for exchange
ID:L71037263-1587-1155051932077-1:1 (b48b11) to be answered in
DeliveryChannel{httpReceiver} from sendSync
11:49:24,041 | DEBUG | Thread-13 | SedaQueue |
.jbi.nmr.flow.seda.SedaQueue$1 224 |
[EMAIL PROTECTED] dequeued
exchange: MessageExchange[
id: ID:L71037263-1587-1155051932077-1:1
status: Active
role: provider
service: {http://servicemix.org/demo/}CatalogWebService
endpoint: catalogWebServiceEP
in: <?xml version="1.0" encoding="UTF-8"?><m:getSiteNames
xmlns:m="http://mil.dcgs/CatalogWebService">
</m:getSiteNames>
]
11:49:24,041 | DEBUG | Thread-13 | DeliveryChannelImpl |
.messaging.DeliveryChannelImpl 577 | Processing inbound exchange:
MessageExchange[
id: ID:L71037263-1587-1155051932077-1:1
status: Active
role: provider
service: {http://servicemix.org/demo/}CatalogWebService
endpoint: catalogWebServiceEP
in: <?xml version="1.0" encoding="UTF-8"?><m:getSiteNames
xmlns:m="http://mil.dcgs/CatalogWebService">
</m:getSiteNames>
]
11:49:24,041 | DEBUG | Thread-13 | DeliveryChannelImpl |
.messaging.DeliveryChannelImpl 613 | Received: MessageExchange[
id: ID:L71037263-1587-1155051932077-1:1
status: Active
role: provider
service: {http://servicemix.org/demo/}CatalogWebService
endpoint: catalogWebServiceEP
in: <?xml version="1.0" encoding="UTF-8"?><m:getSiteNames
xmlns:m="http://mil.dcgs/CatalogWebService">
</m:getSiteNames>
]
11:49:24,041 | DEBUG | Thread-13 | HttpSpringComponent |
emix.common.AsyncBaseLifeCycle 376 | Received exchange: status: Active,
role: Provider
11:49:24,061 | DEBUG | Thread-13 | DeliveryChannelImpl |
.messaging.DeliveryChannelImpl 404 | Send
ID:L71037263-1587-1155051932077-1:1 in DeliveryChannel{provider}
11:49:24,071 | DEBUG | Thread-13 | MessageExchangeImpl |
.messaging.MessageExchangeImpl 742 | Error caught in toString
org.xml.sax.SAXParseException: White spaces are required between publicId
and systemId.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown
Source)
at
org.apache.servicemix.jbi.jaxp.SourceTransformer.toDOMSourceFromStream(
SourceTransformer.java:226)
at
org.apache.servicemix.jbi.jaxp.SourceTransformer.toDOMSource(
SourceTransformer.java:138)
at
org.apache.servicemix.jbi.jaxp.SourceTransformer.toDOMNode(
SourceTransformer.java:280)
at
org.apache.servicemix.jbi.messaging.MessageExchangeImpl.toString(
MessageExchangeImpl.java:723)
at java.lang.String.valueOf(String.java:2615)
at java.lang.StringBuffer.append(StringBuffer.java:220)
at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(
DeliveryChannelImpl.java:343)
at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.send(
DeliveryChannelImpl.java:410)
at
org.apache.servicemix.http.processors.ProviderProcessor.process(
ProviderProcessor.java:135)
at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(
AsyncBaseLifeCycle.java:397)
at
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(
BaseLifeCycle.java:42)
at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(
DeliveryChannelImpl.java:619)
at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(
AbstractFlow.java:168)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java
:175)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java
:226)
at
org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java
:291)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run
(Unknown
Source)
at java.lang.Thread.run(Thread.java:595)
11:49:24,071 | DEBUG | Thread-13 | DeliveryChannelImpl |
.messaging.DeliveryChannelImpl 343 | Sent: null
11:49:24,071 | DEBUG | Thread-13 | SedaFlow |
emix.jbi.nmr.flow.AbstractFlow 115 | Called Flow send
11:49:24,081 | DEBUG | Thread-14 | MessageExchangeImpl |
.messaging.MessageExchangeImpl 742 | Error caught in toString
java.io.IOException: Attempted read on closed stream.
at
org.apache.commons.httpclient.AutoCloseInputStream.isReadAllowed(
AutoCloseInputStream.java:165)
at
org.apache.commons.httpclient.AutoCloseInputStream.read(
AutoCloseInputStream.java:85)
at
org.apache.xerces.impl.XMLEntityManager$RewindableInputStream.read(Unknown
Source)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity
(Unknown
Source)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion
(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown
Source)
at
org.apache.servicemix.jbi.jaxp.SourceTransformer.toDOMSourceFromStream(
SourceTransformer.java:226)
at
org.apache.servicemix.jbi.jaxp.SourceTransformer.toDOMSource(
SourceTransformer.java:138)
at
org.apache.servicemix.jbi.jaxp.SourceTransformer.toDOMNode(
SourceTransformer.java:280)
at
org.apache.servicemix.jbi.messaging.MessageExchangeImpl.toString(
MessageExchangeImpl.java:723)
at java.lang.String.valueOf(String.java:2615)
at java.lang.StringBuffer.append(StringBuffer.java:220)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java
:224)
at
org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java
:291)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run
(Unknown
Source)
at java.lang.Thread.run(Thread.java:595)
11:49:24,081 | DEBUG | Thread-14 | SedaQueue |
.jbi.nmr.flow.seda.SedaQueue$1 224 |
[EMAIL PROTECTED] dequeued
exchange: null
11:49:24,081 | DEBUG | Thread-14 | MessageExchangeImpl |
.messaging.MessageExchangeImpl 742 | Error caught in toString
java.io.IOException: Attempted read on closed stream.
at
org.apache.commons.httpclient.AutoCloseInputStream.isReadAllowed(
AutoCloseInputStream.java:165)
at
org.apache.commons.httpclient.AutoCloseInputStream.read(
AutoCloseInputStream.java:85)
at
org.apache.xerces.impl.XMLEntityManager$RewindableInputStream.read(Unknown
Source)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity
(Unknown
Source)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion
(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown
Source)
at
org.apache.servicemix.jbi.jaxp.SourceTransformer.toDOMSourceFromStream(
SourceTransformer.java:226)
at
org.apache.servicemix.jbi.jaxp.SourceTransformer.toDOMSource(
SourceTransformer.java:138)
at
org.apache.servicemix.jbi.jaxp.SourceTransformer.toDOMNode(
SourceTransformer.java:280)
at
org.apache.servicemix.jbi.messaging.MessageExchangeImpl.toString(
MessageExchangeImpl.java:723)
at java.lang.String.valueOf(String.java:2615)
at java.lang.StringBuffer.append(StringBuffer.java:220)
at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(
DeliveryChannelImpl.java:577)
at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(
AbstractFlow.java:168)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java
:175)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java
:226)
at
org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java
:291)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run
(Unknown
Source)
at java.lang.Thread.run(Thread.java:595)
11:49:24,081 | DEBUG | Thread-14 | DeliveryChannelImpl |
.messaging.DeliveryChannelImpl 577 | Processing inbound exchange: null
11:49:24,081 | DEBUG | Thread-14 | DeliveryChannelImpl |
.messaging.DeliveryChannelImpl 713 | Notifying exchange
ID:L71037263-1587-1155051932077-1:1(b48b11) in
DeliveryChannel{httpReceiver}
from processInboundSynchronousExchange
11:49:24,081 | DEBUG | btpool0-2 | DeliveryChannelImpl |
.messaging.DeliveryChannelImpl 707 | Notified:
ID:L71037263-1587-1155051932077-1:1(b48b11) in
DeliveryChannel{httpReceiver}
from sendSync
11:49:24,081 | ERROR | btpool0-2 | log |
rg.slf4j.impl.JCLLoggerAdapter 443 | /:
java.lang.NullPointerException
at
org.apache.servicemix.components.http.HttpMarshaler.toResponse(
HttpMarshaler.java:115)
at
org.apache.servicemix.components.http.HttpInOutBinding.processInOut(
HttpInOutBinding.java:68)
at
org.apache.servicemix.components.http.HttpInOutBinding.process(
HttpInOutBinding.java:44)
at
org.apache.servicemix.components.http.BindingServlet.doPost(
BindingServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
at org.mortbay.jetty.servlet.ServletHolder.handle(
ServletHolder.java:423)
at org.mortbay.jetty.servlet.ServletHandler.handle(
ServletHandler.java:355)
at org.mortbay.jetty.handler.ContextHandler.handle(
ContextHandler.java:542)
at org.mortbay.jetty.handler.HandlerWrapper.handle(
HandlerWrapper.java:119)
at org.mortbay.jetty.Server.handle(Server.java:245)
at org.mortbay.jetty.HttpConnection.handlerRequest(
HttpConnection.java:365)
at org.mortbay.jetty.HttpConnection.access$1500(
HttpConnection.java:38)
at
org.mortbay.jetty.HttpConnection$RequestHandler.content(
HttpConnection.java:623)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:610)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java
:196)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java
:296)
at
org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java
:159)
at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java
:435)
11:49:24,091 | ERROR | btpool0-2 | log |
rg.slf4j.impl.JCLLoggerAdapter 443 | /
java.lang.NullPointerException
at
org.apache.servicemix.components.http.HttpMarshaler.toResponse(
HttpMarshaler.java:115)
at
org.apache.servicemix.components.http.HttpInOutBinding.processInOut(
HttpInOutBinding.java:68)
at
org.apache.servicemix.components.http.HttpInOutBinding.process(
HttpInOutBinding.java:44)
at
org.apache.servicemix.components.http.BindingServlet.doPost(
BindingServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
at org.mortbay.jetty.servlet.ServletHolder.handle(
ServletHolder.java:423)
at org.mortbay.jetty.servlet.ServletHandler.handle(
ServletHandler.java:355)
at org.mortbay.jetty.handler.ContextHandler.handle(
ContextHandler.java:542)
at org.mortbay.jetty.handler.HandlerWrapper.handle(
HandlerWrapper.java:119)
at org.mortbay.jetty.Server.handle(Server.java:245)
at org.mortbay.jetty.HttpConnection.handlerRequest(
HttpConnection.java:365)
at org.mortbay.jetty.HttpConnection.access$1500(
HttpConnection.java:38)
at
org.mortbay.jetty.HttpConnection$RequestHandler.content(
HttpConnection.java:623)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:610)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java
:196)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java
:296)
at
org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java
:159)
at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java
:435)
11:49:33,364 | DEBUG | Timer-2 | AutoDeploymentService |
ramework.AutoDeploymentService 484 | Monitoring directory
C:\incubating-
servicemix-3.0-SNAPSHOT\examples\http-binding\rootDir\install
for new or modified archives
11:49:33,364 | DEBUG | Timer-2 | AutoDeploymentService |
ramework.AutoDeploymentService 484 | Monitoring directory
C:\incubating-servicemix-3.0-SNAPSHOT\examples\http-binding\rootDir\deploy
for new or modified archives
11:49:43,369 | DEBUG | Timer-2 | AutoDeploymentService |
ramework.AutoDeploymentService 484 | Monitoring directory
C:\incubating-
servicemix-3.0-SNAPSHOT\examples\http-binding\rootDir\install
for new or modified archives
11:49:43,369 | DEBUG | Timer-2 | AutoDeploymentService |
ramework.AutoDeploymentService 484 | Monitoring directory
C:\incubating-servicemix-3.0-SNAPSHOT\examples\http-binding\rootDir\deploy
for new or modified archives
===== end of log
if I switch destinationService to saajBinding instead of using http
provider, I got different errors
===
12:05:40,575 | DEBUG | main | ManagementContext |
i.management.ManagementContext 570 | Registering system service:
org.apache.servicemix:ContainerName=ServiceMix
,Type=SystemService,Name=ManagementContext
12:05:40,625 | DEBUG | main | ManagementContext |
i.management.ManagementContext 570 | Registering system service:
org.apache.servicemix:ContainerName=ServiceMix
,Type=SystemService,Name=EnvironmentContext
12:05:40,645 | DEBUG | main | ManagementContext |
i.management.ManagementContext 570 | Registering system service:
org.apache.servicemix:ContainerName=ServiceMix
,Type=SystemService,Name=Registry
12:05:40,655 | DEBUG | main | ManagementContext |
i.management.ManagementContext 570 | Registering system service:
org.apache.servicemix:ContainerName=ServiceMix
,Type=SystemService,Name=DefaultBroker
12:05:40,695 | INFO | main | JBIContainer |
mix.jbi.container.JBIContainer 1008 | Activating component for:
[container=ServiceMix,name=#SubscriptionManager#] with service: null
component: [EMAIL PROTECTED]
12:05:40,695 | INFO | main | ComponentMBeanImpl |
i.framework.ComponentMBeanImpl 184 | Initializing component:
#SubscriptionManager#
12:05:40,815 | DEBUG | main | ManagementContext |
i.management.ManagementContext 570 | Registering system service:
org.apache.servicemix:ContainerName=ServiceMix
,Type=SystemService,Name=InstallationService
12:05:40,835 | DEBUG | main | ManagementContext |
i.management.ManagementContext 570 | Registering system service:
org.apache.servicemix:ContainerName=ServiceMix
,Type=SystemService,Name=DeploymentService
12:05:40,936 | INFO | main | DeploymentService |
bi.framework.DeploymentService 683 | Restoring service assemblies
12:05:40,936 | DEBUG | main | ManagementContext |
i.management.ManagementContext 570 | Registering system service:
org.apache.servicemix:ContainerName=ServiceMix
,Type=SystemService,Name=AutoDeploymentService
12:05:40,956 | DEBUG | main | AutoDeploymentService |
ramework.AutoDeploymentService 564 | State file doesn't exist:
C:\incubating-
servicemix-3.0-SNAPSHOT\examples\http-binding\rootDir\install.xml
12:05:40,956 | DEBUG | main | AutoDeploymentService |
ramework.AutoDeploymentService 564 | State file doesn't exist:
C:\incubating-
servicemix-3.0-SNAPSHOT\examples\http-binding\rootDir\deploy.xml
12:05:40,956 | DEBUG | main | ManagementContext |
i.management.ManagementContext 570 | Registering system service:
org.apache.servicemix:ContainerName=ServiceMix
,Type=SystemService,Name=AdminCommandsService
12:05:40,966 | INFO | main | JBIContainer |
mix.jbi.container.JBIContainer 538 | ServiceMix JBI Container
(http://servicemix.org/) name: ServiceMix running version: 3.0-SNAPSHOT
12:05:40,976 | INFO | main | JBIContainer |
mix.jbi.container.JBIContainer 1008 | Activating component for:
[container=ServiceMix,name=httpReceiver] with service:
{http://servicemix.org/demo/}httpBinding component:
[EMAIL PROTECTED]
12:05:40,976 | INFO | main | ComponentMBeanImpl |
i.framework.ComponentMBeanImpl 184 | Initializing component: httpReceiver
12:05:40,976 | DEBUG | main | ComponentContextImpl |
framework.ComponentContextImpl 133 | Component: httpReceiver activated
endpoint: {http://servicemix.org/demo/}httpBinding : httpReceiver
12:05:40,976 | DEBUG | main | EndpointRegistry |
jbi.framework.EndpointRegistry 239 | Endpoint
ServiceEndpoint[service={
http://servicemix.org/demo/}httpBinding,endpoint=httpReceiver]
has no service description
12:05:41,076 | INFO | main | log |
rg.slf4j.impl.JCLLoggerAdapter 216 | Logging to
[EMAIL PROTECTED] via org.mortbay.log.Slf4jLog
12:05:41,096 | INFO | main | JBIContainer |
mix.jbi.container.JBIContainer 1008 | Activating component for:
[container=ServiceMix,name=saajBinding] with service:
{http://servicemix.org/demo/}saajBinding component:
[EMAIL PROTECTED]
12:05:41,106 | INFO | main | ComponentMBeanImpl |
i.framework.ComponentMBeanImpl 184 | Initializing component: saajBinding
12:05:41,146 | DEBUG | main | ComponentContextImpl |
framework.ComponentContextImpl 133 | Component: saajBinding activated
endpoint: {http://servicemix.org/demo/}saajBinding : saajBinding
12:05:41,146 | DEBUG | main | EndpointRegistry |
jbi.framework.EndpointRegistry 239 | Endpoint
ServiceEndpoint[service={
http://servicemix.org/demo/}saajBinding,endpoint=saajBinding]
has no service description
12:05:41,146 | INFO | main | JBIContainer |
mix.jbi.container.JBIContainer 1008 | Activating component for:
[container=ServiceMix,name=provider] with service: null component:
[EMAIL PROTECTED]
12:05:41,146 | INFO | main | ComponentMBeanImpl |
i.framework.ComponentMBeanImpl 184 | Initializing component: provider
12:05:41,146 | DEBUG | main | HttpSpringComponent |
emix.common.AsyncBaseLifeCycle 103 | Initializing component
12:05:41,206 | DEBUG | main | JBIContainer |
mix.jbi.container.JBIContainer 654 | No transaction manager found from
naming context: remaining name: java:appserver/TransactionManager
12:05:41,246 | DEBUG | main | HttpSpringComponent |
emix.common.AsyncBaseLifeCycle 110 | Component initialized
12:05:41,286 | INFO | main | log |
rg.slf4j.impl.JCLLoggerAdapter 216 | jetty 6.0.0beta15
12:05:41,366 | INFO | main | log |
rg.slf4j.impl.JCLLoggerAdapter 216 | Started SocketConnector @
L71037263.us.ray.com:8912
12:05:41,376 | DEBUG | main | HttpSpringComponent |
emix.common.AsyncBaseLifeCycle 195 | Starting component
12:05:41,917 | DEBUG | main | HttpSpringComponent |
e.servicemix.http.HttpEndpoint 134 | Service for targetService could not
be
found
12:05:41,917 | DEBUG | main | ComponentContextImpl |
framework.ComponentContextImpl 133 | Component: provider activated
endpoint: {http://servicemix.org/demo/}CatalogWebService :
catalogWebServiceEP
12:05:41,917 | DEBUG | main | HttpSpringComponent |
ervicemix.common.BaseComponent 72 | Querying service description for
ServiceEndpoint[service={
http://servicemix.org/demo/}CatalogWebService,endpoint=catalogWebServiceEP
]
12:05:41,917 | DEBUG | main | HttpSpringComponent |
ervicemix.common.BaseComponent 80 | No description found for
{http://servicemix.org/demo/}CatalogWebService:catalogWebServiceEP
12:05:41,927 | DEBUG | main | EndpointRegistry |
jbi.framework.EndpointRegistry 239 | Endpoint
ServiceEndpoint[service={
http://servicemix.org/demo/}CatalogWebService,endpoint=catalogWebServiceEP
]
has no service description
12:05:41,967 | DEBUG | main | HttpSpringComponent |
emix.common.AsyncBaseLifeCycle 201 | Component started
12:05:41,967 | DEBUG | Timer-2 | AutoDeploymentService |
ramework.AutoDeploymentService 484 | Monitoring directory
C:\incubating-
servicemix-3.0-SNAPSHOT\examples\http-binding\rootDir\install
for new or modified archives
12:05:41,967 | DEBUG | Timer-2 | AutoDeploymentService |
ramework.AutoDeploymentService 484 | Monitoring directory
C:\incubating-servicemix-3.0-SNAPSHOT\examples\http-binding\rootDir\deploy
for new or modified archives
12:05:47,515 | DEBUG | btpool0-1 | DeliveryChannelImpl |
.messaging.DeliveryChannelImpl 171 | default destination serviceName for
httpReceiver = {http://servicemix.org/demo/}saajBinding
12:05:47,535 | DEBUG | btpool0-1 | DeliveryChannelImpl |
.messaging.DeliveryChannelImpl 437 | SendSync
ID:L71037263-1608-1155053140705-1:0 in DeliveryChannel{httpReceiver}
12:05:47,655 | DEBUG | btpool0-1 | DeliveryChannelImpl |
.messaging.DeliveryChannelImpl 343 | Sent: MessageExchange[
id: ID:L71037263-1608-1155053140705-1:0
status: Active
role: consumer
service: {http://servicemix.org/demo/}saajBinding
in: <?xml version="1.0" encoding="UTF-8"?><m:getSiteNames
xmlns:m="http://mil.dcgs/CatalogWebService">
</m:getSiteNames>
]
12:05:47,655 | DEBUG | btpool0-1 | DefaultBroker |
rvicemix.jbi.nmr.DefaultBroker 390 | Routing exchange MessageExchange[
id: ID:L71037263-1608-1155053140705-1:0
status: Active
role: provider
service: {http://servicemix.org/demo/}saajBinding
endpoint: saajBinding
in: <?xml version="1.0" encoding="UTF-8"?><m:getSiteNames
xmlns:m="http://mil.dcgs/CatalogWebService">
</m:getSiteNames>
] to:
ServiceEndpoint[service={
http://servicemix.org/demo/}saajBinding,endpoint=saajBinding]
12:05:47,655 | DEBUG | btpool0-1 | SedaFlow |
emix.jbi.nmr.flow.AbstractFlow 115 | Called Flow send
12:05:47,675 | DEBUG | btpool0-1 | DeliveryChannelImpl |
.messaging.DeliveryChannelImpl 697 | Waiting for exchange
ID:L71037263-1608-1155053140705-1:0 (5db5ae) to be answered in
DeliveryChannel{httpReceiver} from sendSync
12:05:47,675 | DEBUG | Thread-9 | SedaQueue |
.jbi.nmr.flow.seda.SedaQueue$1 224 |
[EMAIL PROTECTED] dequeued
exchange: MessageExchange[
id: ID:L71037263-1608-1155053140705-1:0
status: Active
role: provider
service: {http://servicemix.org/demo/}saajBinding
endpoint: saajBinding
in: <?xml version="1.0" encoding="UTF-8"?><m:getSiteNames
xmlns:m="http://mil.dcgs/CatalogWebService">
</m:getSiteNames>
]
12:05:47,675 | DEBUG | Thread-9 | DeliveryChannelImpl |
.messaging.DeliveryChannelImpl 577 | Processing inbound exchange:
MessageExchange[
id: ID:L71037263-1608-1155053140705-1:0
status: Active
role: provider
service: {http://servicemix.org/demo/}saajBinding
endpoint: saajBinding
in: <?xml version="1.0" encoding="UTF-8"?><m:getSiteNames
xmlns:m="http://mil.dcgs/CatalogWebService">
</m:getSiteNames>
]
12:05:47,675 | DEBUG | Thread-9 | DeliveryChannelImpl |
.messaging.DeliveryChannelImpl 613 | Received: MessageExchange[
id: ID:L71037263-1608-1155053140705-1:0
status: Active
role: provider
service: {http://servicemix.org/demo/}saajBinding
endpoint: saajBinding
in: <?xml version="1.0" encoding="UTF-8"?><m:getSiteNames
xmlns:m="http://mil.dcgs/CatalogWebService">
</m:getSiteNames>
]
12:05:48,046 | DEBUG | Thread-9 | SaajBinding |
ix.components.saaj.SaajBinding 101 | <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<m:getSiteNames xmlns:m="http://mil.dcgs/CatalogWebService">
</m:getSiteNames>
</soapenv:Body>
</soapenv:Envelope>
12:05:51,971 | DEBUG | Timer-2 | AutoDeploymentService |
ramework.AutoDeploymentService 484 | Monitoring directory
C:\incubating-
servicemix-3.0-SNAPSHOT\examples\http-binding\rootDir\install
for new or modified archives
12:05:51,971 | DEBUG | Timer-2 | AutoDeploymentService |
ramework.AutoDeploymentService 484 | Monitoring directory
C:\incubating-servicemix-3.0-SNAPSHOT\examples\http-binding\rootDir\deploy
for new or modified archives
12:06:01,976 | DEBUG | Timer-2 | AutoDeploymentService |
ramework.AutoDeploymentService 484 | Monitoring directory
C:\incubating-
servicemix-3.0-SNAPSHOT\examples\http-binding\rootDir\install
for new or modified archives
12:06:01,976 | DEBUG | Timer-2 | AutoDeploymentService |
ramework.AutoDeploymentService 484 | Monitoring directory
C:\incubating-servicemix-3.0-SNAPSHOT\examples\http-binding\rootDir\deploy
for new or modified archives
12:06:11,970 | DEBUG | Timer-2 | AutoDeploymentService |
ramework.AutoDeploymentService 484 | Monitoring directory
C:\incubating-
servicemix-3.0-SNAPSHOT\examples\http-binding\rootDir\install
for new or modified archives
12:06:11,970 | DEBUG | Timer-2 | AutoDeploymentService |
ramework.AutoDeploymentService 484 | Monitoring directory
C:\incubating-servicemix-3.0-SNAPSHOT\examples\http-binding\rootDir\deploy
for new or modified archives
12:06:20,032 | DEBUG | Thread-9 | SaajMarshaler |
.components.saaj.SaajMarshaler 65 | <?xml version="1.0"
encoding="UTF-8"?><env:Envelope
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema
"><env:Body><env:Fault><faultcode>Client</faultcode><faultstring>Unable
to parse the incoming request. Please make sure that the request is valid:
javax.xml.soap.SOAPException: Unsupported Content-Type:
application/x-www-form-urlencoded</faultstring></env:Fault></env:Body></env:Envelope>
12:06:20,042 | DEBUG | Thread-9 | SaajMarshaler |
.components.saaj.SaajMarshaler 111 | <?xml version="1.0"
encoding="UTF-8"?><env:Fault
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema
"><faultcode/><faultstring/></env:Fault>
12:06:20,042 | DEBUG | Thread-9 | DeliveryChannelImpl |
.messaging.DeliveryChannelImpl 404 | Send
ID:L71037263-1608-1155053140705-1:0 in DeliveryChannel{saajBinding}
12:06:20,042 | DEBUG | Thread-9 | DeliveryChannelImpl |
.messaging.DeliveryChannelImpl 343 | Sent: MessageExchange[
id: ID:L71037263-1608-1155053140705-1:0
status: Active
role: provider
service: {http://servicemix.org/demo/}saajBinding
endpoint: saajBinding
in: <?xml version="1.0" encoding="UTF-8"?><m:getSiteNames
xmlns:m="http://mil.dcgs/CatalogWebService">
</m:getSiteNames>
out: <?xml version="1.0" encoding="UTF-8"?><env:Fault
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema
"><faultcode/><faultstring/></env:Fault>
]
12:06:20,042 | DEBUG | Thread-9 | SedaFlow |
emix.jbi.nmr.flow.AbstractFlow 115 | Called Flow send
12:06:20,052 | DEBUG | Thread-10 | SedaQueue |
.jbi.nmr.flow.seda.SedaQueue$1 224 |
[EMAIL PROTECTED] dequeued
exchange: MessageExchange[
id: ID:L71037263-1608-1155053140705-1:0
status: Active
role: consumer
service: {http://servicemix.org/demo/}saajBinding
endpoint: saajBinding
in: <?xml version="1.0" encoding="UTF-8"?><m:getSiteNames
xmlns:m="http://mil.dcgs/CatalogWebService">
</m:getSiteNames>
out: <?xml version="1.0" encoding="UTF-8"?><env:Fault
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema
"><faultcode/><faultstring/></env:Fault>
]
12:06:20,052 | DEBUG | Thread-10 | DeliveryChannelImpl |
.messaging.DeliveryChannelImpl 577 | Processing inbound exchange:
MessageExchange[
id: ID:L71037263-1608-1155053140705-1:0
status: Active
role: consumer
service: {http://servicemix.org/demo/}saajBinding
endpoint: saajBinding
in: <?xml version="1.0" encoding="UTF-8"?><m:getSiteNames
xmlns:m="http://mil.dcgs/CatalogWebService">
</m:getSiteNames>
out: <?xml version="1.0" encoding="UTF-8"?><env:Fault
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema
"><faultcode/><faultstring/></env:Fault>
]
12:06:20,052 | DEBUG | Thread-10 | DeliveryChannelImpl |
.messaging.DeliveryChannelImpl 713 | Notifying exchange
ID:L71037263-1608-1155053140705-1:0(5db5ae) in
DeliveryChannel{httpReceiver}
from processInboundSynchronousExchange
12:06:20,052 | DEBUG | btpool0-1 | DeliveryChannelImpl |
.messaging.DeliveryChannelImpl 707 | Notified:
ID:L71037263-1608-1155053140705-1:0(5db5ae) in
DeliveryChannel{httpReceiver}
from sendSync
12:06:20,072 | DEBUG | btpool0-1 | DeliveryChannelImpl |
.messaging.DeliveryChannelImpl 404 | Send
ID:L71037263-1608-1155053140705-1:0 in DeliveryChannel{httpReceiver}
12:06:20,082 | DEBUG | btpool0-1 | DeliveryChannelImpl |
.messaging.DeliveryChannelImpl 343 | Sent: MessageExchange[
id: ID:L71037263-1608-1155053140705-1:0
status: Done
role: consumer
service: {http://servicemix.org/demo/}saajBinding
endpoint: saajBinding
in: <?xml version="1.0" encoding="UTF-8"?><m:getSiteNames
xmlns:m="http://mil.dcgs/CatalogWebService">
</m:getSiteNames>
out: <?xml version="1.0" encoding="UTF-8"?><env:Fault
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema
"><faultcode/><faultstring/></env:Fault>
]
12:06:20,082 | DEBUG | btpool0-1 | SedaFlow |
emix.jbi.nmr.flow.AbstractFlow 115 | Called Flow send
12:06:20,092 | DEBUG | Thread-11 | SedaQueue |
.jbi.nmr.flow.seda.SedaQueue$1 224 |
[EMAIL PROTECTED] dequeued
exchange:
MessageExchange[
id: ID:L71037263-1608-1155053140705-1:0
status: Done
role: provider
service: {http://servicemix.org/demo/}saajBinding
endpoint: saajBinding
in: <?xml version="1.0" encoding="UTF-8"?><m:getSiteNames
xmlns:m="http://mil.dcgs/CatalogWebService">
</m:getSiteNames>
out: <?xml version="1.0" encoding="UTF-8"?><env:Fault
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema
"><faultcode/><faultstring/></env:Fault>
]
12:06:20,092 | DEBUG | Thread-11 | DeliveryChannelImpl |
.messaging.DeliveryChannelImpl 577 | Processing inbound exchange:
MessageExchange[
id: ID:L71037263-1608-1155053140705-1:0
status: Done
role: provider
service: {http://servicemix.org/demo/}saajBinding
endpoint: saajBinding
in: <?xml version="1.0" encoding="UTF-8"?><m:getSiteNames
xmlns:m="http://mil.dcgs/CatalogWebService">
</m:getSiteNames>
out: <?xml version="1.0" encoding="UTF-8"?><env:Fault
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema
"><faultcode/><faultstring/></env:Fault>
]
12:06:20,102 | DEBUG | Thread-11 | DeliveryChannelImpl |
.messaging.DeliveryChannelImpl 613 | Received: MessageExchange[
id: ID:L71037263-1608-1155053140705-1:0
status: Done
role: provider
service: {http://servicemix.org/demo/}saajBinding
endpoint: saajBinding
in: <?xml version="1.0" encoding="UTF-8"?><m:getSiteNames
xmlns:m="http://mil.dcgs/CatalogWebService">
</m:getSiteNames>
out: <?xml version="1.0" encoding="UTF-8"?><env:Fault
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema
"><faultcode/><faultstring/></env:Fault>
]
12:06:21,975 | DEBUG | Timer-2 | AutoDeploymentService |
ramework.AutoDeploymentService 484 | Monitoring directory
C:\incubating-
servicemix-3.0-SNAPSHOT\examples\http-binding\rootDir\install
for new or modified archives
12:06:21,975 | DEBUG | Timer-2 | AutoDeploymentService |
ramework.AutoDeploymentService 484 | Monitoring directory
C:\incubating-servicemix-3.0-SNAPSHOT\examples\http-binding\rootDir\deploy
for new or modified archives
12:06:31,969 | DEBUG | Timer-2 | AutoDeploymentService |
ramework.AutoDeploymentService 484 | Monitoring directory
C:\incubating-
servicemix-3.0-SNAPSHOT\examples\http-binding\rootDir\install
for new or modified archives
12:06:31,969 | DEBUG | Timer-2 | AutoDeploymentService |
ramework.AutoDeploymentService 484 | Monitoring directory
C:\incubating-servicemix-3.0-SNAPSHOT\examples\http-binding\rootDir\deploy
for new or modified archives
====
Thanks in advance
-yangf
--
View this message in context:
http://www.nabble.com/External-Webservices-binding-%28the-answer%29-tf1971463.html#a5709719
Sent from the ServiceMix - User forum at Nabble.com.