Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have a simple webservice whihc gives me an xml output .There are 7 INPUTSto be given to the webservice input along with username password also ,where i had used tfixedflowinput component,connected tfolwtoiterate component and then conncted twebserviceinput given the WSDL and called the 7 inputs in parameters section.The menthod which request to be raised is also given and also the proxy setting are given.When i run i am nullpointer exception though i had hardcoded the values.testes the values by displaying using java component.Request you to please help in this regard what would had went wrong.
ERROR:
Exception in component tWebServiceInput_1
java.lang.NullPointerException
at org.talend.DynamicInvoker.main(DynamicInvoker.java:129)
at demo.j_webservice_0_1.j_webservice.tFixedFlowInput_1Process(j_webservice.java:990)
at demo.j_webservice_0_1.j_webservice.runJobInTOS(j_webservice.java:1486)
at demo.j_webservice_0_1.j_webservice.main(j_webservice.java:1343)
ScreWebservice conponent properties
Job design
I had tried the same web service through SOAPUI which is giving me the response ..Also the same job works with some public Web-service .
Hi,
tWebServiceInput component is generally used as a Start component. Could you please use tWebService component in your work flow instead to see if it works?
Best regards
Sabrina
We tried using twebservice also ,we are getting the same error.
first run it debug mode and check all 7 variables
if debug mode will not print variables - add second FixedFlowInput component and print (tLogRow) them manually
Screenshot attached for debug mode run
and sorry - where on this screenshot NullPointer exception? 🙂
Hi, What changes you had done to resolve the Null pointer exception