[prev in list] [next in list] [prev in thread] [next in thread] 

List:       esb-java-dev
Subject:    [Carbon-dev]    Sample CommodityQuote in appserver
From:       Xue-Feng Yang <just4look () yahoo ! com>
Date:       2011-02-27 17:20:34
Message-ID: 100005.80534.qm () web110416 ! mail ! gq1 ! yahoo ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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


[Attachment #5 (text/html)]

<html><head><style type="text/css"><!-- DIV {margin:0px;} \
--></style></head><body><div style="font-family:'times new roman', 'new york', times, \
serif;font-size:12pt"><div style="color: black; font-family: 'times new roman', 'new \
york', times, serif; font-size: 12pt; ">Hi,</div><div style="color: black; \
font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; \
"><br></div><div style="color: black; font-family: 'times new roman', 'new york', \
times, serif; font-size: 12pt; ">Here is my testing result \
for&nbsp;CommodityQuote:</div><div style="color: black; font-family: 'times new \
roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="color: \
black; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">I \
built&nbsp;CommodityQuote and tested the service from&nbsp;<a \
href="http://192.168.1.56:9764/services/CommodityQuote?tryit#">http://192.168.1.56:9764/services/CommodityQuote?tryit#</a></div><div
  style="color: black; font-family: 'times new roman', 'new york', times, serif; \
font-size: 12pt; "><br></div><div style="color: black; font-family: 'times new \
roman', 'new york', times, serif; font-size: 12pt; ">The messages in browser \
are</div><div style="color: black; font-family: 'times new roman', 'new york', times, \
serif; font-size: 12pt; "><br></div><div><div><font class="Apple-style-span" \
face="'times new roman', 'new york', times, serif">getQuote<span \
class="Apple-tab-span" style="white-space: pre; ">	</span></font></div><div><span \
class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" \
face="'times new roman', 'new york', times, serif">	</font></span></div><div><font \
class="Apple-style-span" face="'times new roman', 'new york', times, serif">symbol \
CORN</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font \
class="Apple-style-span" face="'times new roman', 'new york', times, serif">  \
</font></span></div><div><font class="Apple-style-span" face="'times new roman', 'new \
york', times, serif">Fault: SOAP envelope error</font></div><div><font \
class="Apple-style-span" face="'times new roman', 'new york', times, \
serif"><span><wsrequestxssproxyerror h:status="SOAP envelope error" xmlns:h="&lt;a \
target=" _blank'="" href="http://wso2.org/ns/WSRequestXSS">org.apache.axis2.AxisFault'&gt;http://wso2.org/ns/WSRequestXSS'&gt;org.apache.axis2.AxisFault: \
nagoya.apache.org</wsrequestxssproxyerror></span></font></div></div><div><font \
class="Apple-style-span" face="'times new roman', 'new york', times, \
serif"><br></font></div><div><font class="Apple-style-span" face="'times new roman', \
'new york', times, serif">getSymbols<span class="Apple-tab-span" style="white-space: \
pre; ">	</span></font></div><div><font class="Apple-style-span" face="'times new \
roman', 'new york', times, serif"><span class="Apple-style-span" style="white-space: \
pre;  "><br></span></font></div><div><font class="Apple-style-span" face="'times new \
roman', 'new york', times, serif">Fault: SOAP envelope error</font></div><div><font \
class="Apple-style-span" face="'times new roman', 'new york', times, \
serif"><span><wsrequestxssproxyerror h:status="SOAP envelope error" xmlns:h="&lt;a \
target=" _blank'="" href="http://wso2.org/ns/WSRequestXSS">org.apache.axis2.AxisFault'&gt;http://wso2.org/ns/WSRequestXSS'&gt;org.apache.axis2.AxisFault: \
nagoya.apache.org</wsrequestxssproxyerror></span></font><font \
class="Apple-style-span" face="'times new roman', 'new york', times, serif" \
size="3">&nbsp;</font></div><div style="color: black; font-family: 'times new roman', \
'new york', times, serif; font-size: 12pt; "><br></div><div style="color: black; \
font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">The \
message in appserver are</div><div style="color: black; font-family: 'times new \
roman', 'new york', times,  serif; font-size: 12pt; "><br></div><div><div><font \
class="Apple-style-span" face="'times new roman', 'new york', times, \
serif"><span>[2011-02-28 01:17:47,593] &nbsp;INFO \
{org.apache.axis2.transport.http.HTTPSender} - &nbsp;Unable to sendViaPost to url[<a \
target="_blank" href="http://nagoya.apache.org:5049/axis/services/echo">http://nagoya.apache.org:5049/axis/services/echo</a>]</span></font></div><div><font \
class="Apple-style-span" face="'times new roman', 'new york', times, \
serif">java.net.UnknownHostException: nagoya.apache.org</font></div><div><font \
class="Apple-style-span" face="'times new roman', 'new york', times, \
serif">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;at \
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)</font></div><div><font \
class="Apple-style-span" face="'times new roman', 'new york', times, \
serif">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;at \
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)</font></div><div><font  \
class="Apple-style-span" face="'times new roman', 'new york', times, \
serif">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;at \
java.net.Socket.connect(Socket.java:519)</font></div><div><font \
class="Apple-style-span" face="'times new roman', 'new york', times, \
serif">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;at \
java.net.Socket.connect(Socket.java:469)</font></div><div><font \
class="Apple-style-span" face="'times new roman', 'new york', times, \
serif">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;at \
java.net.Socket.&lt;init&gt;(Socket.java:366)</font></div><div><font \
class="Apple-style-span" face="'times new roman', 'new york', times, \
serif">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;at \
java.net.Socket.&lt;init&gt;(Socket.java:240)</font></div><div><font \
class="Apple-style-span" face="'times new roman', 'new york', times, \
serif">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;at \
org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)</font></div><div><font
  class="Apple-style-span" face="'times new roman', 'new york', times, \
serif">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;at \
org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(ControllerThreadSocketFactory.java:91)</font></div><div><font \
class="Apple-style-span" face="'times new roman', 'new york', times, \
serif">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;at \
org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$SocketTask.run(ControllerThreadSocketFactory.java:158)</font></div><div><font \
class="Apple-style-span" face="'times new roman', 'new york', times, \
serif">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;at \
java.lang.Thread.run(Thread.java:619)</font></div><div><font class="Apple-style-span" \
face="'times new roman', 'new york', times, serif"><span>[2011-02-28 01:17:50,937] \
&nbsp;INFO {org.apache.axis2.transport.http.HTTPSender} - &nbsp;Unable to sendViaPost \
to url[<a target="_blank"  \
href="http://nagoya.apache.org:5049/axis/services/echo">http://nagoya.apache.org:5049/axis/services/echo</a>]</span></font></div><div><font \
class="Apple-style-span" face="'times new roman', 'new york', times, \
serif">java.net.UnknownHostException: nagoya.apache.org</font></div><div><font \
class="Apple-style-span" face="'times new roman', 'new york', times, \
serif">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;at \
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)</font></div><div><font \
class="Apple-style-span" face="'times new roman', 'new york', times, \
serif">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;at \
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)</font></div><div><font \
class="Apple-style-span" face="'times new roman', 'new york', times, \
serif">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;at \
java.net.Socket.connect(Socket.java:519)</font></div><div><font \
class="Apple-style-span" face="'times new roman', 'new york', times, \
serif">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;at  \
java.net.Socket.connect(Socket.java:469)</font></div><div><font \
class="Apple-style-span" face="'times new roman', 'new york', times, \
serif">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;at \
java.net.Socket.&lt;init&gt;(Socket.java:366)</font></div><div><font \
class="Apple-style-span" face="'times new roman', 'new york', times, \
serif">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;at \
java.net.Socket.&lt;init&gt;(Socket.java:240)</font></div><div><font \
class="Apple-style-span" face="'times new roman', 'new york', times, \
serif">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;at \
org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)</font></div><div><font \
class="Apple-style-span" face="'times new roman', 'new york', times, \
serif">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;at \
org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(ControllerThreadSocketFactory.java:91)</font></div><div><font \
class="Apple-style-span" face="'times  new roman', 'new york', times, \
serif">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;at \
org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$SocketTask.run(ControllerThreadSocketFactory.java:158)</font></div><div><font \
class="Apple-style-span" face="'times new roman', 'new york', times, \
serif">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;at \
java.lang.Thread.run(Thread.java:619)</font></div><div style="color: black; \
font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; \
"><br></div></div><div style="color: black; font-family: 'times new roman', 'new \
york', times, serif; font-size: 12pt; ">Thanks,</div><div style="color: black; \
font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; \
"><br></div><div style="color: black; font-family: 'times new roman', 'new york', \
times, serif; font-size: 12pt; ">Xue-Feng</div><div style="color: black; font-family: \
'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div  \
style="position: fixed; color: black; font-family: 'times new roman', 'new york', \
times, serif; font-size: 12pt; "></div>


</div><br></body></html>



_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic