简体   繁体   中英

Response code is null while executing Axis2 webservice client in java but webservice executed successfully at the server end

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM