Skip to main content
Announcements
A fresh, new look for the Data Integration & Quality forums and navigation! Read more about what's changed.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Creating a WSDL client for a SOAP API call

I am stuck in a SOAP API call, I have a SOAP service endpoint  - https://services.neatstreets.com.au/NST_API_20160101.Authority_Service.svc

The WSDL is https://services.neatstreets.com.au/NST_API_20160101.Authority_Service.svc?singleWsdl. 

I have to call the service – ReportLastUpdate, SOAPAction: https://neatstreets.com.au/IAuthority_Service/ReportLastUpdated


Sample payload is  <T1>[Start Time]</T1>

            <T2>[End Time]</T2>

            <CategoryName>[Category]</CategoryName>

            <ApplicationName>[Application]</ApplicationName>

I tried using turstkey store, and using basic authentication as well. 

I tried all possible component like tSOAP, tESBConsumer, tHttpRequest and tWebServiceInput. I also tried creating a WSDL client but nothing is working.

Please suggest how to interact with this SOAP endpoint.

Labels (4)
4 Replies
Anonymous
Not applicable
Author

First of all I think you have sent the wrong WSDL. This is the actual WSDL of your service....

https://services.neatstreets.com.au/NST_API_20160101.Authority_Service.svc?wsdl

You will need to try to configure your component using that WSDL. Let me know what happens you use the above WSDL

Anonymous
Not applicable
Author

Hi Richard, 

 

Please find the attached details of what I tried and what error I got. 

 

Looking for your review feedback.

 

 


job_SOAPCALL.docx
Anonymous
Not applicable
Author

This looks like the cause of your issue.....http://cxf.547215.n5.nabble.com/NullPointerException-on-Policy-merge-td5740289.html

If you had this working using other tools, you will have been through the process of acquiring a secure token. You will also need to do this with Talend

Anonymous
Not applicable
Author

I tried all possible ways I can. As per my understanding Talend is using JAX libraries but this WSDL will need apache cxf library. I sucessfully did a call to the SOAP API in a java application using  https://help.eclipse.org/2019-12/index.jsp?topic=%2Forg.eclipse.jst.ws.cxf.doc.user%2Ftasks%2Fcreate...

I created a jar and used that in talend routine to get the response from the SOAP service. 

 

But I want to do it using Talend components, I tried using tESBConsumer but it is not using Apache CXF libraries, I suppose. I explicitly added cxf libraries using tLoadLibraries but I am not sure is it a right approach? I don't know what mechanism I use to get token and send it to web service call.

 

Looking forward to resolve this log pending thread.