Yes I do

April 5th, 2013 by Terrence Miao No comments »

Apple iRing: Could This Wearable Remote Control Accompany The 'iTV'? 

Read more: http://www.huffingtonpost.co.uk/2013/04/05/apple-iring-itv-appletv-tv_n_3018910.html

Google+: View post on Google+

Mixed Souvlaki – a fatty, unhealthy meal for lunch

April 5th, 2013 by Terrence Miao 3 comments »

Mixed Souvlaki – a fatty, unhealthy meal for lunch

Google+: View post on Google+

Farewell lunch for our test lead Lisa at Stalactites Greek style restaurant.

April 5th, 2013 by Terrence Miao No comments »

Farewell lunch for our test lead Lisa at Stalactites Greek style restaurant.

Embedded Link

stalactites – Google Search
Oh, cool. I can take my Google stuff anywhere. Sign in to access your docs, photos, music, and more across all your devices. Oh, cool. I can take my Google stuff anywhere. Sign in to access your docs,…

Google+: View post on Google+

Super cheap made in China,the new female bag just $15

April 4th, 2013 by admin No comments »

Super cheap made in China, the new female bag just $15, with the freight total $30, if they are interested in buying can leave a message to me, I can help you to buy.
20121191675135868
» Read more: Super cheap made in China,the new female bag just $15

Being agile is all about instilling a culture rather than a method

April 4th, 2013 by Terrence Miao No comments »

Listen how big bosses CIOs read Agile.

Embedded Link

Agile: the next big IT buzzword?
The term ‘agile’ is at risk of losing its meaning as companies both big and small rush to coin themselves as agile entities.

Google+: View post on Google+

Ratings agency Fitch has confirmed Australia's AAA economic rating, coupled with…

April 1st, 2013 by Terrence Miao 1 comment »

Ratings agency Fitch has confirmed Australia's AAA economic rating, coupled with a "stable" outlook.

Fitch said the high rating reflected the fact Australia had built up the capacity to absorb shocks through a combination of low public debt and liberal trade and labour markets, which allowed the economy to adjust during downturns.

"Australia has remained one of the strongest performing economies in the AAA universe since the global financial crisis began," the ratings agency said.

Google+: View post on Google+

How to log SOAP web service call message in Java application

March 31st, 2013 by admin No comments »
  • Enable Spring web service tracing in log4j.xml, i.e., WebServiceTemplate for client-side Web service access in Spring-WS:
<category name="org.springframework.ws.client.MessageTracing" additivity="false">
        <priority value="trace" />
        <appender-ref ref="INTERFACES_LOG" />
</category>

In the log file:

TRACE 2013-03-27 15:54:16,440 [TP-Processor7] org.springframework.ws.client.MessageTracing.sent - Sent request [<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header>
......
TRACE 2013-03-27 15:54:55,409 [TP-Processor48] org.springframework.ws.client.MessageTracing.received - Received response [<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
  • for other web service clients don’t use Spring WebServiceTemplate, enable HttpTransportPipe dump in JVM:
export CATALINA_OPTS="-Xmx512m -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -Djavax.net.ssl.trustStore=keystore.jks -Djavax.net.ssl.trustStorePassword=password -Djavax.net.ssl.keyStore=keystore.jks -Djavax.net.ssl.keyStorePassword=password -Ddce.env=sit -Dcom.sun.xml.ws.transport.http.client.HttpTransportPipe.dump=true"

so you can see in log SOAP message like:

SOAPAction: "http://sap.com/xi/WebService/soap1.1"
Accept: text/xml, multipart/related, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Content-Type: text/xml;charset="utf-8"

 » Read more: How to log SOAP web service call message in Java application

Chrome As An IDE

March 29th, 2013 by Terrence Miao 3 comments »

One thing, only one thing, I couldn't give up Firefox is Firebug. However, after I see this presentation, I reckon it's time to move on. Chrome becomes my development browser.

Embedded Link

Chrome: A Developer’s Best Friend

Google+: View post on Google+