TryIt does not work for JAXWS services due to WSDL imports being present. This is something Ruchira is fixing for the next release. The sample was designed & tested to run with the corresponding .sh/.bat files.
On Mon, Feb 28, 2011 at 4:35 AM, Xue-Feng Yang <[email protected]> wrote: > Hi, > > Again sample JAXWS in appserver failed in my testing. > > I checked the service at > > http://192.168.1.56:9764/services/Calculator.CalculatorSOAP?tryit# > > The result is > > Using endpoint CalculatorSOAP > (expand to change...) > Note: Private proxy protocol will be attempted as cross-domain browser > restrictions might be enforced for this endpoint. More info... > > add > value1 2 > value2 3 > > Fault: SOAP envelope error > org.apache.axis2.AxisFault'>http://wso2.org/ns/WSRequestXSS'>org.apache.axis2.AxisFault: > Connection refused: connect > > I tried > > wso2appserver-4.0.0\samples\JAXWS>ant run-client > > The error message confirms the tryit result: > > adb.client.run: > [java] log4j:WARN No appenders could be found for logger > (org.apache.axis2.description.AxisOperation). > [java] log4j:WARN Please initialize the log4j system properly. > [java] org.apache.axis2.AxisFault: Connection refused: connect > [java] at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) > [java] at > org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:197) > [java] at > org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75) > [java] at > org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:444) > [java] at > org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:271) > [java] at > org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443) > [java] at > org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406) > [java] at > org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229) > [java] at > org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) > [java] at > org.wso2.appserver.sample.jaxws.calculator.CalculatorStub.add(CalculatorStub.java:181) > > Thanks, > > Xue-Feng > > > _______________________________________________ > Carbon-dev mailing list > [email protected] > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- *Afkham Azeez* Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, * * *Member; Apache Software Foundation; **http://www.apache.org/*<http://www.apache.org/> * email: **[email protected]* <[email protected]>* cell: +94 77 3320919 blog: **http://blog.afkham.org* <http://blog.afkham.org>* twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware*
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
