Wednesday, March 07, 2012

Monday, December 12, 2011

Cisco vpn client on OpenSuse 12.1


wget http://hlavki.eu/download/vpnclient-linux-x86_64-4.8.02.0030-k9.tar.gz
tar -xvzf ./vpnclient-linux-x86_64-4.8.02.0030-k9.tar.gz
cd ./vpnclient

wget http://www.fseitz.de/download/vpnclient.patch-2.6.38
wget https://nowhere.dk/files/vpnclient_linux3.0.diff

patch < vpnclient.patch-2.6.38
patch < vpnclient_linux3.0.diff

./vpn_install

Sunday, December 13, 2009

Consume Web Service client in EJB

See this article

Example:
@Stateless(mappedName = "ejb/eisAccountingService")
public class EisAccountingServiceBean implements EisAccountingServiceLocal, EisAccountingServiceRemote {
    
    @WebServiceRef(name = "DipexExImServiceSoap", value = DipexExImService.class)
    private DipexExImServiceSoap wsService;
    
    public void addReceiptCard(ReceiptCard receiptCard) {
        MaterialPrijemka mr = new MaterialPrijemka();
        // set mr here
        wsService.materialPrijem(mr);
    }
}

Friday, November 06, 2009