Right! When the JSR-181 annotated POJO is deployed, it creates an
internal endpoint (available from within the ESB). The HTTP consumer
endpoint is an external endpoint (available to the outside world). You
can have a look at this yourself if you connect to ServiceMix using JMX.
Cfr.
http://incubator.apache.org/servicemix/15-tutorial-using-jmx-to-look-inside-the-esb.html
Gert
kumar k wrote:
Does it mean in wsdl-first example jsr181-su exposes a pojo as webservice on ESB and http-su makes this webservice available to world outside this ESB? If we create a webservice from pojo/ejb using jsr181 , alone it can not make this webservice accessible to outside world?
Gert Vanthienen <[EMAIL PROTECTED]> wrote: Kumar,
With an HTTP consumer endpoint, you can make a service that is 'living'
on the ESB available to the outside world as a web service. In this
case, you're exposing the person:PersonService using HTTP/SOAP. The web
service will be available on the URI specified with locationURI. By the
way, if you specify the locationURI with 127.0.0.1 as IP address, the
service will only be available on the loopback interface, so you can't
reach from another machine. You usually will want to specify the IP
address from one of the network interfaces or you can use 0.0.0.0 to
bind a service to all IP addresses on your machine (this is probably the
most convenient solution).
Gert
kumar k wrote:
What is the use case for wsdl-first example?Is a post request submitted to http
server is passed to a web service as soap message?
Does Location URI tells the address at which http server is listening?
How it tells which web service should be invoked?
endpoint="soap"
targetService="person:PersonService"
role="consumer"
locationURI="http://127.0.0.1:8192/PersonService/"
soap="true" />
---------------------------------
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
---------------------------------
Luggage? GPS? Comic books?
Check out fitting gifts for grads at Yahoo! Search.
---------------------------------
Building a website is a piece of cake.
Yahoo! Small Business gives you all the tools to get online.
---------------------------------
Looking for a deal? Find great prices on flights and hotels with Yahoo!
FareChase.