Hello, I am developing a Web Service client for a web service on xmethods.com. The client is able to connect and invoke the web service perfectly. I am using Axis2-1.1.1
I get an error when I configure tcpmon to monitor the messages. Configuration: local post: 8888 target host: 62.177.194.231 target port: 80 The sent message as shown in tcpmon -> POST /websamples.countryinfo/CountryInfoService.wso HTTP/1.1 SOAPAction: "urn:ListOfContinentsByName" User-Agent: Axis2 Host: 62.177.194.231:8888 Transfer-Encoding: chunked Content-Type: text/xml; charset=UTF-8 106 <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header /><soapenv:Body><ListOfContinentsByName xmlns="http://www.oorsprong.org/websamples.countryinfo" /></soapenv:Body></soapenv:Envelope> 0 The received message as shown by tcpmon -> HTTP/1.1 100 Continue Server: Microsoft-IIS/5.0 Date: Wed, 28 Mar 2007 12:57:20 GMT X-Powered-By: ASP.NET HTTP/1.1 405 Method not allowed Server: Microsoft-IIS/5.0 Date: Wed, 28 Mar 2007 12:57:20 GMT Connection: close Allow: OPTIONS, TRACE, GET, HEAD Content-Length: 3923 Content-Type: text/html <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <html dir=ltr> <head> <style> a:link {font:8pt/11pt verdana; color:FF0000} a:visited {font:8pt/11pt verdana; color:#4e4e4e} </style> ... plus lot of html The error message on my console -> entered client Mar 28, 2007 8:57:25 AM org.apache.commons.httpclient.HttpMethodBase readResponse INFO: Discarding unexpected response: HTTP/1.1 100 Continue 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.client.country.CountryInfoServiceStub.ListOfContinentsByName(CountryInfoServiceStub.java:773) at com.client.country.CountryClient.ListOfContinentsByName(CountryClient.java:28) at com.client.country.CountryClient.main(CountryClient.java:16) 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:144) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:335) ... 7 more requestDocument: <ListOfContinentsByName xmlns="http://www.oorsprong.org/websamples.countryinfo"/> responseDocument: null Exception in thread "main" java.lang.NullPointerException at com.client.country.CountryClient.ListOfContinentsByName(CountryClient.java:35) at com.client.country.CountryClient.main(CountryClient.java:16) Please help. Thanks Ravi -- View this message in context: http://www.nabble.com/Unable-to-configure-tcpmon-for-remote-web-service-tf3480198.html#a9713268 Sent from the Axis - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]