Question

Web Services

  • 27 June 2013
  • 7 replies
  • 13 views

How can I send a query to a webservice from FME Workbench?

7 replies

Userlevel 4
Hi,

 

 

that depends on the webservice, but the HTTPRequestor works for many scenarios, in particular REST-based services.

 

 

For SOAP-based services you will probably have to construct the request XML first, e.g. using an XMLTemplator. You can then parse the response XML using 

 

an XMLFlattener.

 

 

David
Badge +21
There is a very nice CustomTransformer available in FMEStore called SOAPSender which might help!
Hi

 

 

I can't found SOAPSender in FMEStore.

 

 

faryou
Userlevel 4
Hi,

 

 

have a look here: http://fmestore.safe.com/transformers/SOAPSender.htm

 

 

David
Badge +21
Sorry. Not in FMEStore - but downloaded from the example from David.
Badge +3
Hi,

 

 

do you have an example workspace using the soapsender accessing a webservice?

 

 

Bjarne
Hi

 

 

I'm also trying to get data by using the SOAPSender-Transformer in FME. Since I'm not familiar with SOAP the very sparse description of the transformer can't help me.

 

 

How should the SOAP header and body be inserted? I've been trying so far to use the XMLTemplater (load the xml-files containing the header and the body). What about the HTTP Request Headers? Can anyone give an example of what exactely should be inserted into these three parameters? The workbench containing the SOAPSender doesn't need a reader, right?

 

 

Thanks

 

André

 

Reply