Thursday, August 2, 2007

Calling XML over HTTP Service from OWSM

You can send the XML over HTTP through OWSM. OWSM supports both SOAP & plain XML over HTTP. If you would like to register a service which expects XML over HTTP with GateWay do the following

1. On the first page of service registration screen , don't eneter the WSDL URL leave it blank.Pick the HTTP(S) as the protocol

2. On the second page Enter the URL of the end point , which might be a servlet expecting XML over HTTP.

3. make the isSoapService flag to false. This will indicate the service expects XML.

4. After you register the service you get the URL for the service like http:/host:port/gateway/service/sid..

Please note that for this type of service (XML over HTTP ) , the actual URL will be
http://host:port/gateway/xml/sid030...

SO if you use the default URL provided at the end of the registration that will not work with the XML over HTTP service.

No comments: