2018-06-14 11:53:57 UTC
I am new to IBM TDI and Adapter Development. I was working on a requirement of HTTP Client connector which is of REST type.
we have created our own REST Web Service for Testing purpose. The Web service is consuming XML from request body and producing XML response. The purpose of the web service is to create account in Active Directory. we have tested our Web Service using REST CLIENT(POST MAN) and passing XML body, this is working fine and we are getting response 200 with XML.
Unfortunately, we are using the same URL in IBM TDI(HTTP Client connector) i am getting the below error.
17:08:03,464 INFO - [UserRead] CTGDJW003I Parser will use first input line for column names.
17:08:03,465 INFO - CTGDIS087I Iterating.
17:08:03,479 INFO - <UserDetails>
17:08:03,486 ERROR - [Create New Account] CTGDIS810E handleException - cannot handle exception , callreply
17:08:03,488 ERROR - CTGDIS266E Error in NextConnectorOperation. Exception occurred: java.util.NoSuchElementException: No more tokens in String
17:08:03,489 INFO - CTGDIS100I Printing the Connector statistics.
17:08:03,490 INFO - [UserRead] Get:1
17:08:03,490 INFO - [EmptyScript] Calls: 1
17:08:03,491 INFO - [Create New Account] Errors:1
17:08:03,491 INFO - [ParseXML] Calls: 0
17:08:03,492 INFO - CTGDIS104I Total: Get:1, Errors:2.
17:08:03,492 INFO - CTGDIS101I Finished printing the Connector statistics.
17:08:03,493 ERROR - CTGDIS077I Failed with error: No more tokens in String.
Please Suggest where i am going wrong. Do i need to change my REST Web service code for TDI integration.