Hi,

Use cxf bc endpoint, you must specify a wsdl for it, which clearly define the interface.

For your case, I think you can use a wsdl with one operation provideRequest, and then in your cxf-se endpoint(or POJO) you can do anything you want(add, delete, update) for the incoming message.

Freeman
On 2010-5-11, at 上午12:00, gnanda wrote:


Anyone please let me know if have any suggestion how to publish a wsdl from a http (or cxf bc?) endpoint where the associated cxf-se would just have a generic method accpeting messages for any operation defined in the wsdl

For example: My wsdl has operations as addRequest(String xml),
deleteRequest(String xml), updateRequest(String xml). This wsdl will be
published on the http (cxf-bc?) endpoint

But the service(cxf-se? or POJO class?) associated with my http (or cxf-bc) will have only one method provideRequest(String xml) accepting message for
addRequest(),deleteRequest() and updateRequest()

How would I proceed doing this?


gnanda wrote:

Hi All, I have an interesting design issue related to my http component
and wsdl publishing
currently I have below scenario

smx:http consumer(no wsdl, accep any well formed soap message) -> camel
router-> external web service

I need to publish wsdl with my http component but would need to accept any well formed soap message then route to a pojo class to do few validation
on my own then route to a camel router then to external web service

here is the new flow
smx:http consumer(could be cxf bc? , publishing wsdl) -> pojo class with
doListen()->camel router->external web service
Important  point to be noted here are
** the pojo class will not have any operation defined for the operations
declared in the wsdl
** doListen() method in the pojo class will receive any incoming soap
message for all operations declared in the wsdl and do a few validation
and send to camel router.

How would I proceed doing this? Any suggestion will be very helpful


--
View this message in context: 
http://old.nabble.com/publishing-wsdl-with-no-autovalidation-and-with-no-webservice-associated-with-it-tp28489180p28512285.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.



--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com

Reply via email to