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)
Could you please show us your job setting screenshot on forum which will be helpful for us to address your issue quickly?
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.
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.