2

I am working on axis2 webservice in java for insertion of records into database. i am testing the webservice client, it return null response code, actually i return integer value in webservice but i inserted the records in database successfully, i can able to see in my databnase while executing the client but it return null instead of integer response code 100.whenever i see the log file in server side, no exception rises.

Cœur
  • 37,241
  • 25
  • 195
  • 267
Madhuri
  • 187
  • 1
  • 4
  • 10

1 Answers1

1

I have faced similar issue, i resolved it through message inspector.

Implement message inspector IClientMessageInspector capture and correct your response at AfterReceiveReply

Please provide your response to help you.

  • Thank you, your suggestion pointed me to the right direction. I have captured the request and clean it before de-serializing. – Esen Aug 06 '13 at 14:43