Four Stars

Error calling SOAP web service

Hi,
I am having issues in calling web service using ESBConsumer component. The example provided in the Talend documentation to call a simple WS works fine but not the one am trying for a packaged application.The WS has multiple methods and require authentication.
I am also unable to save the schema to the repository for the wsdl for the WS. And then while trying to assign values to the parameters in the SOAP body am getting the error:
Exception in component tESBConsumer_2 java.lang.IllegalStateException: The prefix ns0 is not bound.  at org.apache.ws.commons.schema.SchemaBuilder.getRefQName(SchemaBuilder.java:823)

 

4 REPLIES
Moderator

Re: Error calling SOAP web service

Hello,

Could you please show us your job setting screenshot on forum which will be helpful for us to address your issue quickly?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Four Stars

Re: Error calling SOAP web service

2018-02-27_21-50-20.jpg

Tags (1)
Moderator

Re: Error calling SOAP web service

Hello,

Could you please provide WSDL you are using for tESBConsumer configuration?

Here is a related jira issue:https://jira.talendforge.org/browse/TESB-14420

Hope it will help.

Best regards

Sabrina

 

 

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Four Stars

Re: Error calling SOAP web service

Attached is the wsdl file for reference.The component is able to build the xsd files from the wsdl and then defaults to the first operation.