Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
http://localhost:8080/ws01_0.1/services/ws01?wsdl
<?php
$wsdl="http://localhost:8080/ws01_0.1/services/ws01?wsdl";
$service = new soapClient($wsql); // with soap php extension
print_r($services->__getFunctions ()); // get function service can use
print_r($service -> runJob()); // to run default talend method
?>
Hi,
Thanks for the input. this is not really what I am looking for.
Lets say you create a Axis export of your job. If you unzip the .war you will find a wsdl dir and inside this dir a wsdl file describing your job.
if you open this WSDL you will find a wsdlsoap:address in the there. The value for this is not identical to what the location of the webservice is when you deploy it.
In other words if you want to use this WSDL in, lets say SoapUI, it wont work as the endpoint is not right.
The second issue is, that the WSDL does not contain the correct definition for the input and also not for the reply. Therefore my partners are not able to develop against this WSDL in order to consume my webservice. So how can I create a proper WSDL or how can I define an input/ouptut to my job, so t hat the WSDL is created correctly.
Right now my WSDl contains an input args, but nowhere in the WSDL is defined what args should be.
lets assume i want have a webservice adding up 2 numbers. the Input for the WSDl should state
- numA
- numB
and the Output should state:
- sum
How can I get more than args and runjobReturn in my WSDL?
Stefan