I am using a JWSDP(JAX-RPC) to access WebService Method.
My Program compiles without error,but gives run-time error as Method Not allowed,as shown below.
java.rmi.RemoteException: HTTP Status-Code 405: Method not allowed; nested exception is:
HTTP Status-Code 405: Method not allowed at sstub.MapViewerSoap_Stub.getNDrawMap(MapViewerSoap_Stub.java:90)
at sstub.MathClient.main(MathClient.java:26)
Caused by: HTTP Status-Code 405: Method not allowed
at com.sun.xml.rpc.client.http.HttpClientTransport.checkResponseCode(HttpClientTransport.java:319)
at com.sun.xml.rpc.client.http.HttpClientTransport.connectForResponse(HttpClientTransport.java:252)
at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpClientTran
sport.java:88)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:96)
at sstub.MapViewerSoap_Stub.getNDrawMap(MapViewerSoap_Stub.java:74)
... 1 more