June 2009 - Posts

Blueprint css framework

After finding here and there for the explanation finally i found a Great tutorial Here .

For every web application project , you normally would start converting psd to html tag.

What does this framework do for you is providing a solid Grid Framework for you. the motto is "Spend your time innovating, not replicating."

so instead of doing those silly thing arranging div here and there,

this framework already divide the column into 24 column for you,the default width is 950px

You can use the Generator if you want to generate  less or more column with different width.

So than how to use it? the generated css . provide you with classes : span-1 to span-24

span means , you want to span n columns  , imagine that your page already centralized 950px divided into 24 columns evenly.

if span-16 means , span 16 column to right. the css to float right already there, prepend means paddingleft, appaend means padding right.pull means go more left, push means go more right.

  • Provide you with ie.css which reset and fix haslayout giving 1% height
  • Print friendly page css
  • Easy to Extend
  • Provide some plugin

This is a very easy to use and helpfull framework , You should follow the above tutorial and you will know what i mean...


Share this post: | | | |
Posted by cipto with no comments
Filed under:

how to call .net WebServices From Java Application

  1. Download to local the WDSL of your webservices
  2. Add namespace to local WDSL,  <s:import namespace="http:// ... SchemaLocation> on  Right before the  soapenc:array and under schema Ex: <s:schema targetNamespace="somurl">
          <s:import namespace="http://schemas.xmlsoap.org/soap/encoding/" schemaLocation="http://schemas.xmlsoap.org/soap/encoding/" />
          <s:complexType name="StringArray">
            <s:complexContent mixed="false">
              <s:restriction base="soapenc:Array">, the reason for this is because soapenc array datatype is not supported there for has to have valid namespace , xml behaviour. else it throws error
  3. Generate it whether through Soap Ui Plugin or Through Console of your Mapper Ex: wsimport -p mypackage -keep -d ToSOMEFolder C:\some.wsdl
  4. Add the Mypackage/whatever you named it To your java appliation src type Folder.
  5. Use it, Ex:

public static void main(String[] args) {
        // TODO Auto-generated method stub
        BACX0020WebX0020Service services=new BACX0020WebX0020Service();
        BACX0020WebX0020ServiceSoap proxy=services.getBACX0020WebX0020ServiceSoap();
        try {
            SomeMethodResultResult result=proxy.somemethod(test1234", "test", utility.getBytesFromFile(new File("c:\\intro.wmv")));
        } catch (IOException e) {
            // TODO Auto-generated catch block

There are numerous of Mapper as seen on SoapUIplugin

JBossWS wstools

Axis 1.x

Axis 2

Jax-RPC Wscopmile

Jax-WS WSImport

CXF 2.x

XFire 1.x

XmlBeans 2.X

JAXB xjc

Apache TcpMon

Oracle Was.jar



I'm using the JAX-WS 2.1.7

Share this post: | | | |
Posted by cipto with 3 comment(s)
Filed under:

Oprek2 comment on jtemplate,Elmah


Guys, if you think that only templating from serverside Control(Itemplate,literalcontrol and so on),

Clientside using xslt combine with xml,

Check this out. Another way approach , which i think also clean and neat.

Origin Comes From
JQuery Plugin



Elmah is very easy to install i've tried it. and it just works, simple and do what it suppose to do


Share this post: | | | |
Posted by cipto with no comments
Filed under: