Hello,
I want to expose a webservice to a partner and this should be done via the WSDL of the webservice, but I got some issues with that. The WSDL created by TOS does not specify what kind of input is required and what the response will be.
I checked
http://talendforge.org/wiki/doku.php?id=doc:export_as_webservice but this example does not use the WSDL to call the webservice, it uses the URL with some parameters. This is not how webservices should work. And If I look as the WSDL of this example is does not have any input or output defined and my webService testtool raises an alert because the result of the webService is not valid.
Any idea how to make a proper WSDL (with input and output defined) , which than could be tested for example in SoapUI.
Also, the soapbinding:address field in the WSDL is not the same as the URL to call the webService, any idea how to fix this? I found several threads in the Forum but non gave an answer.
Thanks,
Stefan
I have been trying to do this also, but required multiple return fields i.e. a set of address lines to load into a forms package. The package couldn't handle the array of strings, so I needed individual fields to be named.
I have been investigating the different types of return values from TIS, and I can see how a single return value can be achieved as shown in the thread, however I can't find any way to return multiple "named" values.
So to take slenke's example a step further, I'd like to return say the sum and the subtracted value.
So my returned soap message would contain two individual fields:
<sum>9</sum>
<subtract>1</subtract>
So what I would like to understand is, is there a way to convert a pre-defined schema into a wsdl with named fields or use a custom wsdl instead of the talend generated wsdl.