common flow service to accept xml via webservices and mq adapter

Is there any common flow service to accept xml via webservices and mq adapter ?

The way to do this is have 2 “front-end” services that address the specific transport protocol. Then those call a service that processes the XML in a protocol independent manner.

Thanks Reamon.
I have one more doubt w.r t webservices.
I created a provider webservices ,generated the wsdl .
soap response data is coming fine on running the provider service individually in is.

I created one consumer webservice in same IS ,tried to invoke the webservice using connectors,but getting a soap exception 900 as nullpointer exception.

Do we need to host my provider webservice any where before consumer consumes it from IS?

Anjana