Profile as Web Service (without response)

As you know, Lobster_data is capable of receiving data via an HTTP(S) Input Agent. Now, we want to receive data via SOAP XML (over HTTP), process it with a profile, and additionally, provide the caller of the web service with the SOAP request structure via WSDL file.

Please create a new profile Act_As_Web_Service and choose the event-driven Input Agent of type HTTP(S).


images/download/attachments/73600312/Input_Agent_EN-version-1-modificationdate-1620116985996-api-v2.png



(1) Enter /myWebService.

(2) Set this checkbox.


Creating Source Structure


images/download/thumbnails/73600312/Quellstruktur_2_EN-version-1-modificationdate-1620116986001-api-v2.png


Create a new profile, set the document type to XML, since will have to process an XML SOAP file. The source structure is based on the following XML. See also section XML to XSD (to Structure).


<?xml version="1.0" encoding="UTF-8"?>
<Data>
<Article name="Jacket" group="Clothing">
<Number ean="4711">123</Number>
<Description>Waterproof</Description>
</Article>
</Data>


Click button 1:1 Mapping and save the profile. Now we are almost done.


Calling the Web Service


Open a web browser and type in the following URL (unless you modified the setting in configuration file ./etc/startup.xml):
http://<IP or URL of Integration Server>/dw/Request/myWebService (consider upper/lower case and fill in the IP or URL of your Integration Server).

The following error message appears.


Your request could not be processed due to unknown/mismatched parameters


This error message is ok as far as it goes, because we have not sent any data (with parameters). But it is already a partial success.

WSDL File


To get the WSDL file displayed in your browser, use the same URL and add the suffix ?wsdl, so http://<IP or URL of Integration Server>/dw/Request/myWebService?wsdl

The WSDL file is automatically created by Lobster_data.

Calling the Web Service Without Error Response

So how can we test our web service profile? Please refer to section Call Web Service with Profile in Input Agent for that.