Skip to main content

Axis Fault - Not implemented

1 reply [Last post]
schwester
Offline
Joined: 2008-08-14
Points: 0

HI ,

I want to connect to a WebService via Axis2.
But when i try to establish the connection the following error occurs:

org.apache.axis2.AxisFault: Transport error: 501 Error: Not Implemented
at
org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:
296)
at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:
190)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:
75)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:
364)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:
208)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:448)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:
401)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:
228)
at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:
163)

I am using a proxy to connect to the Web Service.
The following Code sets the Settings for the Proxy:

ProxyProperties httpProxyProperties = new ProxyProperties();
httpProxyProperties.setProxyName("proxy");
httpProxyProperties.setProxyPort(81);
httpProxyProperties.setUserName("");
httpProxyProperties.setPassWord ("");
Options options = new Options();
options.setProperty(HTTPConstants.PROXY, httpProxyProperties);

I also tried it with changing the HTTP version from 1.1 to 1.0, but the error also occurs.

Can anybody help me?

Thanks and Greetings

Schwester

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
utteshkumar
Offline
Joined: 2008-08-26
Points: 0

Did you generated the proxy classes for that webservice by using Axis2 ?

i did not get actually what your trying ?

generate the proxy classes by using the Axis2 plugin in the eclipse and then try to access the webservice .... or u can genrate the proxy classes by using wsdl2java command .....