I have a pub/sub mechanism that toying around with and I was wondering if there was some mechanism for firing up an instance of a web service that listens on http. Sort of a light weight web server that I can embed from a console app. This is primarily for doing some smoke testing.
So basically the flow is this.
console app fires up a web service that implements the subscriber interface
console app tells the publisher that i want stuff matching a given topic and gives it a callback for the subscriber interface instance url
console app sends a few messages (publish)
console app waits for the messages to come back in from the subscriber instance
I know cxf and microsoft's stack have something similar
http://jee-bpel-soa.blogspot.com/2009/04/jax-ws-web-services-in-standalone.html
solved my own problem
make an Endpoint object