« Return to Thread: Expose a JBI service as Web Service

Re: Re: Expose a JBI service as Web Service

by Mohammed Eljai :: Rate this Message:

Reply to Author | View in Thread

Hi,
 
That's normal, there is no service unit working with the SOAP BC.
The service {http://petals.ow2.org/helloworld}Helloworld is accesible only through PEtALS. To expose it as a Web service, you have to install a service unit in consume mode to configure the SOAP-BC.
To achieve that, you can use the Eclipse plug-ins (http://petals.ebmwebsourcing.com/forum/topic30.html)

In the attachement, you will find the service unit that permits to expose the service {http://petals.ow2.org/helloworld}Helloworld as a web service.

Mohammed

Roland Naudin - EBM WebSourcing a écrit :
Hi,

Do you have access to the HTML page at
http://127.0.0.1:8084/petals/services/listServices?

If not, try:
http://localhost:8084/petals/services/listServices?

By default, the SOAP component should use the localhost bound interface,
which is not always configured to be 127.0.0.1

Le jeudi 29 janvier 2009 à 14:52 +0100, bao.leduc@... a
écrit :
  
I want to access an JBI endpoint as a Web service (e.g. by axis2). 
I try to expose a JBI servive as Web service following the tutorial
"PEtALS SOAP Use Cases User's
Guide" (http://download.forge.objectweb.org/petals/petals-soap-usecases-080804.pdf) as below:

- start Petals (petals-quickstart-2.2 distribution); 
- deploy SOAP binding component (PETALS_HOME\components
\petals-bc-soap-3.1.zip) 
- deploy hello world sample (PETALS_HOME\samples
\petals-sample-helloworld-3.1.zip) 
- deploy service assembly associating to hello world service
(PETALS_HOME\usecases\petals-simplehelloworld.zip) 

In the webconsole monitoring tab, I see "petals-bc-soap" in binding
components and "petals-sample-helloworld" in service engines, and
HelloworldEndpoint listed in endpoint. 

The following are the properties of HelloWorld Endpoint:

Interface: {http://petals.ow2.org/helloworld}Helloworld 
Service: {http://petals.ow2.org/helloworld}HelloworldService 
Endpoint: HelloworldEndpoint

But I don't see any service in the
http://127.0.0.1:8084/petals/services/listServices. 

Where is the WS endpoint associated with an JBI endpoint exposed in
Petals/SOAP binding component?

Thank you, 
Bao Le Duc

pièce jointe document texte brut (message-footer.txt)
--
You receive this message as a subscriber of the petals-users@... mailing list.
To unsubscribe: petals-users-unsubscribe@...
For general help: sympa@...
OW2 mailing lists service home page: http://www.ow2.org/wws
    




--
You receive this message as a subscriber of the petals-users@... mailing list.
To unsubscribe: mailto:petals-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

sa-SOAP-Helloworld-consume.zip (1K) Download Attachment

 « Return to Thread: Expose a JBI service as Web Service