Forum Discussion

joaodinis's avatar
New Contributor
4 years ago

java consume webservice

I have a problem trying to consume a webservice using java that is running on my iseries/as400.


i am not a skilled java programmer and my dificulty here is that i must "pass" an article code string to an object type i believe it is xml but cannot figure how in the hell am i going to achieve this.


I send a text file that is my simpe java program to consume the webservice and includes the class types used.


As the code is i get answer from the webservice but of course as i cannot send the article string it gives me what should be expected, that is 'wrong article'.


Anyone to help me?


Dinis, João