Implementing a Web service in Sonic 7.6

Posted by satadru.roy on 19-Nov-2010 01:15

I'm new to Sonic and any help is appreciated.

I'm trying to stand up a SOAP/HTTP(S) Web service on Sonic 7.6. From what I've gathered so far one option seems to be implementing an ESB process and then wrapping it up as a Web service.

The challenge is I already have a bunch of Java classes that deal with JAXB objects, extract various pieces of information and perform the service logic. I'd like to be able to reuse those classes.

How can I do this? I am thinking I can plug in a custom Java service that unmarshals the incoming payload into a JAXB graph but what I'm not clear on is how I can grab the incoming document in a suitable form

(a DOM node, an InputSource etc.) the JAXB Unmarshaller can work on.

Is this even the right approach? Thanks for any pointers.

All Replies

Posted by satadru.roy on 22-Nov-2010 12:54

I will rephrase the question.

Is there any documentation/webinar on how to implement a Web service for which a WSDL and the schemas already exist? We need to build and expose this Web service on Sonic 7.6.

Thanks for any pointers.

Posted by jerem on 23-Nov-2010 08:24

Hello,

look at this link to expose a process as a webservice.

http://communities.progress.com/pcom/docs/DOC-53118

You should first make a complete analysis of what the jax WS does. You can then convert it as an ESBProcess.

(tranform, call database, read a file etc...)

After that you can create a process (as described in the link).

Set the process interface with your schemas and construct your process to act has your jax webservice.

You should avoid to develop specific custom service. Custom service should be like emailSVC httpSVC LDAP etc.

Regards

Chan Jeremy

This thread is closed