Wednesday 30 May 2007

webservice build XML

<project name="buildWebservice" default="ear">

<property name="server.classpath" value="C:/bea/weblogic81/server/lib/weblogic.jar"/>

<path id="classpath">

<pathelement location="C:/bea/weblogic81/server/lib/weblogic.jar"/>
<pathelement location="C:/bea/weblogic81/server/lib/webservices.jar"/>
<pathelement location="C:/bea/jdk141_05/lib/tools.jar"/>
<pathelement location="C:/bea/weblogic81/server/lib/weblogic_sp.jar"/>
<pathelement location="C:/bea/weblogic81/server/lib/ojdbc14.jar"/>
<pathelement location="C:/bea/jdk141_05/lib/tools.jar"/>
<pathelement location="C:/bea/weblogic81/server/lib/ojdbc14.jar"/>
<pathelement location="C:/bea/weblogic81/common/pointbase/lib/pbserver44.jar"/>
<pathelement location="C:/bea/jdk141_05/jre/lib/rt.jar"/>
<pathelement location="D:/CT_doc/docs/webservicesample/bin"/>
</path>

<taskdef name="servicegen"
classname="weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask"
classpath="${server.classpath}" />

<taskdef name="clientgen"
classname="weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask"
classpath="${server.classpath}" />

<target name="ear">
<servicegen
destEar="ws_basic_helloWorld.ear"
contextURI="WebServices" >
<classpath refid="classpath"/>

<service
javaClassComponents="it.sella.ssilx54.webservice.HelloWorld"
targetNamespace="http://www.aaa.com/webservices/basic/helloWorld"
serviceName="HelloWorld"
serviceURI="/HelloWorld"
generateTypes="True"
expandMethods="True"
style="rpc" >
</service>

</servicegen>
</target>




<target name="generateclient">


<clientgen wsdl="http://localhost:7001/web-services/HelloWorld?WSDL"
packageName="webserapp.client"
clientJar="clientService.jar">
<classpath refid="classpath"/>

</clientgen>

</target>

</project>

Friday 11 May 2007

useful ALT +TAB replacement




Hi, For those of you who use the Alt+Tab key combination to switch between open windows on your desktop, I am sure you have encountered times when you cannot distinguish one window from the other due to having more than one instance of the same program open.


Microsoft became aware of this draw-back after releasing the XP operating system and subsequently released a "Power Toy" to resolve this issue. The Power Toy resolves this issue by replacing the program icons with actual screenshots of your open windows.


This way you can locate exactly which window you wish to switch to, which is immensely useful when navigating between several SAP windows at one time.


Here are pictures of using the Alt+Tab key combination both pre- and post- installation of the Power Toy: As you can see in the first example above, it is impossible to differentiate between the IE instances and the SAP instances by looking at the icons. In the subsequent example, the screenshot clearly differentiates the windows.





-Choose "Run" from pop-up dialog box

-Choose "Run" a second time,

this will kick-off the installation of the Power Toy

-Once you get the "Installation Complete" dialog, the toy is successfully installed.

No need to reboot your PC.