Sunday, June 12, 2011

Peoplesoft : Issue in consuming web service in tool 8.46

This week end was quite a hectic one . One team in my company is working on webservice calls and worst part is that it is using tool 8.46 . When working with web service , not many developer prefer that tool  . While calling  a web service , We came across this error :

 "Server did not recognize the value of HTTP Header SOAPAction"

We tried to check the input message from message monitor , the message look perfect . When I tested this SOAPtoUI , I even got response back from webservice call . Then I looked in web server errormsg log , even that was fine . We have user id and password in our soap envelope and both were missing from our message in errorlog.html . Initially I thought this is the reason and that is causing problems . After some research , I came to know that webserver purposefully removes user id and password from log file .
Then I realized my mistake , in people code we have defined Soap action through code not through soap action property in Peoplesoft Node . Fixed that and it worked like charm :-)