Project and Portfolio Management Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Updating time sheet using webservices but throwing below error

Highlighted
Nagaraj1
Acclaimed Contributor

Updating time sheet using webservices but throwing below error

Starting Time Service tests...
testUpdateTimeSheet started ...
Running before stub...
Running after stub...
Running after WSsecurity...
Running after updateTimeSheetDocument...
Running after updateTimeSheetBean...
Running after status set up...
org.apache.axis2.AxisFault: HTTP Transport error : '405' - 'Method Not Allowed'; nested exception is:
org.apache.axis2.AxisFault: HTTP Transport error : '405' - 'Method Not Allowed'; nested exception is:
org.apache.axis2.AxisFault: HTTP Transport error : '405' - 'Method Not Allowed'; nested exception is:
org.apache.axis2.AxisFault: HTTP Transport error : '405' - 'Method Not Allowed'
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:227)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:674)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:237)
at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:202)
at com.mercury.itg.ws.tm.client.TimeServiceStub.updateTimeSheet(TimeServiceStub.java:2547)
at pm.TimeServiceClient.testUpdateTimeSheet(TimeServiceClient.java:174)
at pm.TimeServiceClient.main(TimeServiceClient.java:98)
Caused by: org.apache.axis2.AxisFault: HTTP Transport error : '405' - 'Method Not Allowed'; nested exception is:
org.apache.axis2.AxisFault: HTTP Transport error : '405' - 'Method Not Allowed'
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:344)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:204)
... 6 more
Caused by: org.apache.axis2.AxisFault: HTTP Transport error : '405' - 'Method Not Allowed'
at org.apache.axis2.transport.http.SOAPOverHTTPSender.send(SOAPOverHTTPSender.java:149)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:335)
... 7 more
testUpdateTimeSheet completed
Time Service tests complete.

 please do let me know your suggesations

Thanks in advance

1 REPLY
changl
Super Collector

Re: Updating time sheet using webservices but throwing below error

Hi,

Typically, this is an incorrect URL referenced in code or config.  Best way to isolate, is use the OOTB web service toolkit as an example, when all else fails.

Best regards,

Chris

//Add this to "OnDomLoad" event