On Sun, Feb 27, 2011 at 11:53 PM, Xue-Feng Yang <[email protected]> wrote:

> Hi Sumedha,
>
> Ooops, you should be a person told me the reason. It's impossible for me to
> test behind apache. ^=^.
>
> However, I can tell you my search on the code for answering your question:
>
>
> wso2appserver4.0.0\samples\CommodityQuote\target\generated\src\org\wso2\appserver\sample\commodityquote\client\CommodityQuoteStub.java
>  Line 118: this(configurationContext,"
> http://nagoya.apache.org:5049/axis/services/echo"; );
>  Line 127: this("http://nagoya.apache.org:5049/axis/services/echo"; );
>  Line 694: //http://nagoya.apache.org:5049/axis/services/echo
>
> You should believe now. I am not so happy with those samples so far. ^=^.
>


This sample was designed to run with the run-client.sh/bat. Read the README
file or sample guide first. It demonstrates advanced security scenarios,
WSRM and also secure-RM.


>
> Thanks,
>
> Xue-Feng
>
>
> ------------------------------
> *From:* Sumedha Rubasinghe <[email protected]>
> *To:* [email protected]
> *Cc:* Xue-Feng Yang <[email protected]>
> *Sent:* Mon, February 28, 2011 1:45:08 AM
> *Subject:* Re: [Carbon-dev] Sample CommodityQuote in appserver
>
> What is 'nagoya.apache.org'? I am sure we do not have anything as such
> hard coded in sample. Are you behind a proxy server?
> /sumedha
>
>
> On Sun, Feb 27, 2011 at 10:50 PM, Xue-Feng Yang <[email protected]>wrote:
>
>> Hi,
>>
>> Here is my testing result for CommodityQuote:
>>
>> I built CommodityQuote and tested the service from
>> http://192.168.1.56:9764/services/CommodityQuote?tryit#
>>
>> The messages in browser are
>>
>> getQuote
>>  symbol CORN
>> Fault: SOAP envelope error
>> org.apache.axis2.AxisFault'>http://wso2.org/ns/WSRequestXSS'>org.apache.axis2.AxisFault:
>> nagoya.apache.org
>>
>> getSymbols
>>
>> Fault: SOAP envelope error
>> org.apache.axis2.AxisFault'>http://wso2.org/ns/WSRequestXSS'>org.apache.axis2.AxisFault:
>> nagoya.apache.org
>>
>> The message in appserver are
>>
>> [2011-02-28 01:17:47,593]  INFO
>> {org.apache.axis2.transport.http.HTTPSender} -  Unable to sendViaPost to
>> url[http://nagoya.apache.org:5049/axis/services/echo]
>> java.net.UnknownHostException: nagoya.apache.org
>>         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
>>         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
>>         at java.net.Socket.connect(Socket.java:519)
>>         at java.net.Socket.connect(Socket.java:469)
>>         at java.net.Socket.<init>(Socket.java:366)
>>         at java.net.Socket.<init>(Socket.java:240)
>>         at
>> org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
>>         at
>> org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(ControllerThreadSocketFactory.java:91)
>>         at
>> org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$SocketTask.run(ControllerThreadSocketFactory.java:158)
>>          at java.lang.Thread.run(Thread.java:619)
>> [2011-02-28 01:17:50,937]  INFO
>> {org.apache.axis2.transport.http.HTTPSender} -  Unable to sendViaPost to
>> url[http://nagoya.apache.org:5049/axis/services/echo]
>> java.net.UnknownHostException: nagoya.apache.org
>>         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
>>         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
>>         at java.net.Socket.connect(Socket.java:519)
>>         at java.net.Socket.connect(Socket.java:469)
>>         at java.net.Socket.<init>(Socket.java:366)
>>         at java.net.Socket.<init>(Socket.java:240)
>>         at
>> org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
>>          at
>> org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(ControllerThreadSocketFactory.java:91)
>>         at
>> org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$SocketTask.run(ControllerThreadSocketFactory.java:158)
>>         at java.lang.Thread.run(Thread.java:619)
>>
>> 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

Reply via email to