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]<javascript:> > > 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] <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://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.
