[commons-dev] AXIS2 client accessing .NET web service

soundt's picture
I had generated AXIS2 client stubs for .NET web services using wsdl2java utility. When I'm trying to access the web service method, getting following exception: org.apache.axis2.AxisFault: Connection reset at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:221) ............................... ............................... Here is the code : try { LoginWebServiceStub loginStub = new LoginWebServiceStub(); LoginWebServiceStub.Login param4 = new LoginWebServiceStub.Login(); param4.setUsername("abc"); param4.setPassword("abc"); LoginWebServiceStub.LoginResponse response = loginStub.Login(param4); System.out.println("***"+response.localLoginResult); } catch (org.apache.axis2.AxisFault axisFault) { System.out.println(axisFault.getMessage()); axisFault.printStackTrace(); } catch (RemoteException e) { e.printStackTrace(); } I also tried simple exercise on my local box getting same problem. I had seen similar problem reported at different forums but no solution. I have tight schedule to move this code into production. Any help is appreciated. Thanks, soundt _______________________________________________ Commons-dev mailing list Commons-dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/commons-dev
library project main code
Learn Cloud
Learn
Cloud

The WSO2 Application Server is a reliable application server that can host your enterprise web applications. The WSO2 Application Server as a Service is offered in StratosLive, the WSO2 Platform as a Service. This article explains how a simple web application can be developed and deployed from Carbon Studio to the WSO2 Application Server...

Latest Webinar
Different groups within an organization need to monitor different Key Performance Indicators (KPIs) - An operations team will be interested in the response times of business services and loads of each service,..
Thursday, February 9th 2012, 09.00 AM (PST)

Thursday, February 9th 2012, 10.00 AM (GMT)