Hi Xue-Feng,

As azeez has already pointed out, Try-It can't be used to invoke JAX-WS
services at the moment. We are already working on it.

But the sample should work fine when you use "ant run-client". Are you
testing on trunk or any released version of AppServer?

Thanks,
~Isuru

On Mon, Feb 28, 2011 at 12:05 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
>
>


-- 
Isuru Suriarachchi
Technical Lead & Product Manager, WSO2 Application Server
WSO2 Inc. http://wso2.com
email : [email protected]
blog : http://isurues.wordpress.com/

lean . enterprise . middleware
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to