I have a service assembly made up of 2 service unit, a CXF-BC and a CXF-SE.
The deployment seems to work fine, the WSDL is published and the SA is
visible from the jconsole.

Then I've built a client using CXF wsdl2java starting from my WSDL.

when I invoke an operation from an external client here's what I get on the
server side:

java.lang.NullPointerException: MEP not found
at
org.apache.servicemix.cxfbc.interceptors.JbiInInterceptor.createExchange(JbiInInterceptor.java:121)
at
org.apache.servicemix.cxfbc.interceptors.JbiInInterceptor.handleMessage(JbiInInterceptor.java:63)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:77)
atorg.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:278)
at
org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:252)
at
org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:70)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:757)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
at org.mortbay.jetty.handler.HandlerList.handle(HandlerList.java:49)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)
at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:840)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:657)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:377)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:497)

any idea of what I may miss? I paste you here my configuration files:


ConfigurationService.wsdl:
<?xml version="1.0" encoding="UTF-8"?>
<!-- TMF854 Version 1.1 - Copyright TeleManagement Forum 2005, 2006 -->
<wsdl:definitions xmlns:tmf854WS="tmf854.v1.ws"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; targetNamespace="tmf854.v1.ws"
name="TMF854-ConfigurationService">
  <!-- ================ -->
  <wsdl:import namespace="tmf854.v1.ws"
location="../binding/soap_http/ManagedElementMgrSOAP.wsdl"/>
  <!-- ================ -->
  <wsdl:service name="ConfigurationService">
   
    <!-- ================ -->
    <wsdl:port name="ManagedElementMgrHttp"
binding="tmf854WS:ManagedElementMgrSoapHTTPBinding">
      <soap:address
location="http://localhost:8080/mtosi/v1/ManagedElementMgr"/>
    </wsdl:port>   
  </wsdl:service>
</wsdl:definitions>


CXF-SE xbean.xml:
<beans xmlns:cxfse="http://servicemix.apache.org/cxfse/1.0";
       xmlns="http://www.springframework.org/schema/beans";
       xmlns:xsi="http://http://www.w3.org/2001/XMLSchema-instance";
       xsi:schemaLocation="http://servicemix.apache.org/cxfse/1.0
http://servicemix.apache.org/schema/servicemix-cxfse-3.2.2.xsd
       http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd";>

    <cxfse:endpoint>
        <cxfse:pojo>
          <bean class="com.ericsson.mtosi.impl.ManagedElementMgrImpl" />
        </cxfse:pojo>
    </cxfse:endpoint>
</beans>


CXF-BC xbean.xml:
<beans xmlns="http://www.springframework.org/schema/beans";
       xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0";
       xmlns:xsi="http://http://www.w3.org/2001/XMLSchema-instance";
         xmlns:mtosi="tmf854.v1.ws"
       xsi:schemaLocation="http://servicemix.apache.org/cxfbc/1.0
http://servicemix.apache.org/schema/servicemix-cxfbc-3.2.2.xsd
       http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd";>

  <cxfbc:consumer
wsdl="classpath:mtosi/wsdl/services/ConfigurationService.wsdl"
                            targetService="mtosi:ConfigurationService"
                            endpoint="mtosi:ManagedElementMgrHttp"      
                      targetInterface="mtosi:ManagedElementMgr"/>
</beans>
-- 
View this message in context: 
http://www.nabble.com/MEP-not-found%3A-NullPointerException-tp21599774p21599774.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to