Thanks Guillaume.

I still could not get my consumer work even removing soap=true. I got
different error
====
12:59:47,241 | DEBUG | main       | ManagementContext        |
i.management.ManagementContext  570 | Registering system service:
org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=ManagementContext
12:59:47,281 | DEBUG | main       | ManagementContext        |
i.management.ManagementContext  570 | Registering system service:
org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=EnvironmentContext
12:59:47,291 | DEBUG | main       | ManagementContext        |
i.management.ManagementContext  570 | Registering system service:
org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=Registry
12:59:47,391 | DEBUG | main       | ManagementContext        |
i.management.ManagementContext  570 | Registering system service:
org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=DefaultBroker
12:59:47,461 | INFO  | main       | JBIContainer             |
mix.jbi.container.JBIContainer 1008 | Activating component for:
[container=ServiceMix,name=#SubscriptionManager#] with service: null
component: [EMAIL PROTECTED]
12:59:47,471 | INFO  | main       | ComponentMBeanImpl       |
i.framework.ComponentMBeanImpl  184 | Initializing component:
#SubscriptionManager#
12:59:47,671 | DEBUG | main       | ManagementContext        |
i.management.ManagementContext  570 | Registering system service:
org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=InstallationService
12:59:47,681 | DEBUG | main       | ManagementContext        |
i.management.ManagementContext  570 | Registering system service:
org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=DeploymentService
12:59:47,681 | INFO  | main       | DeploymentService        |
bi.framework.DeploymentService  683 | Restoring service assemblies
12:59:47,691 | DEBUG | main       | ManagementContext        |
i.management.ManagementContext  570 | Registering system service:
org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=AutoDeploymentService
12:59:47,711 | DEBUG | main       | AutoDeploymentService    |
ramework.AutoDeploymentService  564 | State file doesn't exist:
C:\incubating-servicemix-3.0-SNAPSHOT\examples\http-binding\rootDir\install.xml
12:59:47,711 | DEBUG | main       | AutoDeploymentService    |
ramework.AutoDeploymentService  564 | State file doesn't exist:
C:\incubating-servicemix-3.0-SNAPSHOT\examples\http-binding\rootDir\deploy.xml
12:59:47,711 | DEBUG | main       | ManagementContext        |
i.management.ManagementContext  570 | Registering system service:
org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=AdminCommandsService
12:59:47,731 | INFO  | main       | JBIContainer             |
mix.jbi.container.JBIContainer  538 | ServiceMix JBI Container
(http://servicemix.org/) name: ServiceMix running version: 3.0-SNAPSHOT
12:59:47,731 | INFO  | main       | JBIContainer             |
mix.jbi.container.JBIContainer 1008 | Activating component for:
[container=ServiceMix,name=ID:L71037263-4052-1155142786660-0:0] with
service: null component:
[EMAIL PROTECTED]
12:59:47,731 | INFO  | main       | ComponentMBeanImpl       |
i.framework.ComponentMBeanImpl  184 | Initializing component:
ID:L71037263-4052-1155142786660-0:0
12:59:47,731 | DEBUG | main       | HttpSpringComponent      |
emix.common.AsyncBaseLifeCycle  103 | Initializing component
12:59:47,781 | DEBUG | main       | JBIContainer             |
mix.jbi.container.JBIContainer  654 | No transaction manager found from
naming context: remaining name: java:appserver/TransactionManager
12:59:47,892 | DEBUG | main       | HttpSpringComponent      |
emix.common.AsyncBaseLifeCycle  110 | Component initialized
12:59:47,892 | DEBUG | main       | HttpSpringComponent      |
emix.common.AsyncBaseLifeCycle  195 | Starting component
12:59:47,942 | INFO  | main       | log                      |
rg.slf4j.impl.JCLLoggerAdapter  216 | Logging to
[EMAIL PROTECTED] via org.mortbay.log.Slf4jLog
12:59:47,942 | DEBUG | main       | HttpSpringComponent      |
e.servicemix.soap.SoapEndpoint  240 | Retrieving proxied endpoint definition
12:59:47,942 | DEBUG | main       | HttpSpringComponent      |
e.servicemix.soap.SoapEndpoint  257 | Could not retrieve endpoint for
targetService
12:59:47,942 | DEBUG | main       | HttpSpringComponent      |
e.servicemix.soap.SoapEndpoint  272 | Could not retrieve endpoint for
service/endpoint
12:59:48,032 | INFO  | main       | log                      |
rg.slf4j.impl.JCLLoggerAdapter  216 | jetty 6.0.0beta15
12:59:48,052 | DEBUG | main       | ServerManager            |
erverManager$ThreadPoolWrapper  369 | Dispatching job:
[EMAIL PROTECTED]
12:59:48,062 | INFO  | main       | log                      |
rg.slf4j.impl.JCLLoggerAdapter  216 | Started SelectChannelConnector @
L71037263.us.ray.com:8912
12:59:53,620 | DEBUG | btpool0-0 - Acceptor0 SelectChannelConnector @
L71037263.us.ray.com:8912 | ServerManager            |
erverManager$ThreadPoolWrapper  369 | Dispatching job:
[EMAIL PROTECTED],io=0,w=true,b=0|0]
12:59:53,720 | WARN  | btpool0-1  | log                      |
rg.slf4j.impl.JCLLoggerAdapter  346 | EXCEPTION 
javax.servlet.ServletException: Failed to process request:
javax.jbi.messaging.MessagingException: Do not understand pattern: null
        at
org.apache.servicemix.http.HttpBridgeServlet.doPost(HttpBridgeServlet.java:78)
        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.ContextHandlerCollection.handle(ContextHandlerCollection.java:145)
        at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:126)
        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.nio.SelectChannelConnector$HttpEndPoint.run(SelectChannelConnector.java:740)
        at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:435)
12:59:53,730 | WARN  | btpool0-1  | log                      |
rg.slf4j.impl.JCLLoggerAdapter  346 | Nested in
javax.servlet.ServletException: Failed to process request:
javax.jbi.messaging.MessagingException: Do not understand pattern: null:
javax.jbi.messaging.MessagingException: Do not understand pattern: null
        at
org.apache.servicemix.jbi.messaging.MessageExchangeFactoryImpl.createExchange(MessageExchangeFactoryImpl.java:92)
        at
org.apache.servicemix.soap.SoapHelper.createExchange(SoapHelper.java:167)
        at org.apache.servicemix.soap.SoapHelper.onReceive(SoapHelper.java:86)
        at
org.apache.servicemix.http.processors.ConsumerProcessor.process(ConsumerProcessor.java:161)
        at
org.apache.servicemix.http.HttpBridgeServlet.doPost(HttpBridgeServlet.java:70)
        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.ContextHandlerCollection.handle(ContextHandlerCollection.java:145)
        at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:126)
        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.nio.SelectChannelConnector$HttpEndPoint.run(SelectChannelConnector.java:740)
        at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:435)


===

not sure what I did wrong in consumer. any idea on it?? my updated
configuration
===
 <sm:activationSpecs> 
  
                

                
            <sm:activationSpec> 
                                <sm:component> 
                                        <http:component> 
                                        <http:endpoints>        
                                        <http:endpoint
service="foo:CatalogWebService" 
                                                               
endpoint="catalogWebServiceEP" 
                                                               
role="provider" 
                                                                                
   
soap="true" 
                                                               
locationURI="http://138.125.32.77:7001/mdf/CatalogWebService"; 
                                                               
wsdlResource="http://138.125.32.77:7001/mdf/CatalogWebService?WSDL"; /> 

  
                                        <http:endpoint
service="foo:CatalogWebServiceReceiver"
endpoint="catalogWebServiceReceiverEP" 
                                               
targetService="foo:CatalogWebService" 
                                                role="consumer" 

      locationURI="http://L71037263.us.ray.com:8912"; />

                                </http:endpoints> 
                                        </http:component> 
                                </sm:component> 
                        </sm:activationSpec> 

  
  </sm:activationSpecs> 

-- 
View this message in context: 
http://www.nabble.com/External-Webservices-binding-%28the-answer%29-tf1971463.html#a5730251
Sent from the ServiceMix - User forum at Nabble.com.

Reply via email to