Nagaraj1 Absent Member.
Absent Member.
931 views

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

0 Likes
1 Reply
Community Manager changl Community Manager
Community Manager

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

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.