Problem NWDS 7.3 - Adaptive WebService Model
Hello everybody !
I would like to post one problem concerning the implement of a new WSDL file in my NWDS 7.3 and have your feeling or your tips if you had already encountered this kind of error.
What i have done :
- I have tried to import a WSDL file in my NWDS 7.3 in order to create a new Adaptive webService Model.
I have already tested this WSDL file in SOAP UI and webMethods with a proxy filled and the webService is working correctly.
Once i have created my new Model (Name : DBI1Model), i have linked my Model with my component controller (AsegmentCust) in which i want to call the webService. (see screenshot below) :
You can see below in my Component controller context the model node linked with my Model :
In order to call the webService, i need to fill the following fields : CodigoConsulta, Senha, Usuario and Valor1.
Normally, i should receive a XML string in the field Return.
In my controller, you can find below the code that i have implement in order to call the WS :
//Creation of the model
DBI1Model dbi1Model = new DBI1Model();
// Instanciation of the model node
Request_ConsultaOnLine input = new Request_ConsultaOnLine(dbi1Model);
When i execute the application and try to call this WS, i have the result below :
|java.lang.IndexOutOfBoundsException: Index: 0, Size: 0|
Do you have an idea of the problem ?