I finally resolved the issue. I had to add the stub code to the lib folder so that it gets copied when the comilation happens. Although in future i want this to dynamically get compiled. I could recognize the problem by reading this thread
http://stackoverflow.com/questions/16959414/how-to-resolve-a-camel-cxf-web-service-client-classnotfoundexception Now I am stuck with other problem of not able to send messages from Akka Actor to a Producer. [INFO] [03/06/2014 10:31:11.296] [mySystem-akka.actor.default-dispatcher-2] [akka://mySystem/user/greeter/forwarder] Message [java.lang.String] from Actor[akka://mySystem/user/greeter#912885476] to Actor[akka://mySystem/user/greeter/forwarder#-1336831978] was not delivered. [1] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [03/06/2014 10:31:12.839] [mySystem-akka.actor.default-dispatcher-3] [akka://mySystem/user/greeter/forwarder] Message [akka.camel.internal.CamelSupervisor$CamelProducerObjects] from Actor[akka://mySystem/user/camel-supervisor/registry/producerRegistrar#-777573466] to Actor[akka://mySystem/user/greeter/forwarder#-1336831978] was not delivered. [2] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. thanks Srikanth On Wednesday, March 5, 2014 3:25:08 PM UTC-8, √ wrote: > > What does the CXF component say about ClassLoaders? > > > On Wed, Mar 5, 2014 at 11:02 PM, Srikanth Jandhyala > <[email protected]<javascript:> > > wrote: > >> I have gone through the CXF component documentation. I tried to make the >> changes and added the header with the operation name and the body with the >> values of parameters to be sent to that operation. I changed the dat format >> to POJO which means I need to now use serviceClass according to the >> documentation. I am still facing that challenge of classNotFoundException. >> It is confusing to me that it expect the server classes to be on the client >> side. I might be doing somethign wrong with setup and it would be >> appreciated if it can be pointed. >> >> thanks >> Srikanth >> >> >> On Wednesday, March 5, 2014 2:05:13 AM UTC-8, √ wrote: >> >>> Have you read the documentation for the cxf component? >>> >>> >>> On Wed, Mar 5, 2014 at 6:36 AM, Srikanth Jandhyala <[email protected] >>> > wrote: >>> >>>> Hi, >>>> >>>> I am trying to create a web application which can be used to integrate >>>> other applications. I am not able to figure out how to define a producer >>>> endpoint which can talk to a webservice using soap. >>>> >>>> I currently have an example webservice which prints a string sent to it >>>> (to the console). I am able to call the web service method using a regular >>>> client. I want to do the same using akka-camel. >>>> >>>> My current endpointuri is of this form >>>> >>>> def endpointUri = "cxf:http://localhost:9998/HelloWorld?" + >>>> "wsdlURL=http://localhost:9998/HelloWorld?wsdl&" >>>> + >>>> "serviceClass=com.mycompany.service.HelloWorld&" >>>> + >>>> "dataFormat=PAYLOAD" >>>> >>>> >>>> I had to provide the serviceClass. But now the application is raising a >>>> classNotFoundException (com.mycompany.service.HelloWork). I am not >>>> sure how exactly this endpoint work (if it auto generates the client stub >>>> code). Also how do I express when using akka camel to calla specific >>>> operation (webmethod) in a web service. >>>> >>>> thanks >>>> Srikanth >>>> >>>> -- >>>> >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>> >>>>>>>>>> Check the FAQ: http://akka.io/faq/ >>>> >>>>>>>>>> Search the archives: https://groups.google.com/ >>>> group/akka-user >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "Akka User List" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To post to this group, send email to [email protected]. >>>> >>>> Visit this group at http://groups.google.com/group/akka-user. >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>> >>> >>> >>> -- >>> Cheers, >>> √ >>> >>> * ——————— **Viktor Klang* >>> *Chief Architect - **Typesafe <http://www.typesafe.com/>* >>> >>> Twitter: @viktorklang >>> >> -- >> >>>>>>>>>> Read the docs: http://akka.io/docs/ >> >>>>>>>>>> Check the FAQ: http://akka.io/faq/ >> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user >> --- >> You received this message because you are subscribed to the Google Groups >> "Akka User List" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected]<javascript:> >> . >> Visit this group at http://groups.google.com/group/akka-user. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > Cheers, > √ > > * ——————— **Viktor Klang* > *Chief Architect - **Typesafe <http://www.typesafe.com/>* > > Twitter: @viktorklang > -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/groups/opt_out.
