Archive for the ‘ Notes ’ Category

Best practices for Web services versioning

Best practices for Web services versioning.

Keep your Web services current with WSDL and UDDI

The correct handling of API versioning has been one of the most difficult issues faced by developers of distributed systems. Various schemes have been proposed, ranging from the laissez faire approach taken by CORBA to the stricter schemes used in DCOM. With the advent of Web services, there are some new features that you can take advantage of that can help alleviate the problem, but the brutal fact of the matter is that versioning has not been built into the Web services architecture. Current products from IBM and other vendors do not directly address the versioning issue, requiring developers to solve the problem through the application of patterns and best practices.

Understanding the Web services API versioning problem is easy. Imagine that we have a simple WSDL document that contains a WSDL operation defined using the fragment in Listing 1. (This operation is derived from an example in the WSDL specification — see Resources.)



Figure 1. Associating WSDL with a service
Associating WSDL with a service

How To Set Up An IRC Server And Anope IRC Services

How To Set Up An IRC Server And Anope IRC Services | HowtoForge – Linux Howtos and Tutorials.

How To Set Up An IRC Server And Anope IRC Services

This tutorial describes how to set up and run an UnrealIRCD server on OpenSuSE 10.2 and Fedora Core 6. It also shows how to install Anope IRC services. Anope is a set of Services for IRC networks that allows users to manage their nicks and channels in a secure and efficient way, and administrators to manage their network with powerful tools.

Before We Start

What we need to get:

  • a DNS name : get one for free from like no-ip or dyndns
  • IF you dont want SSL on the server you gotta edit my .conf files to make them work or you going to have an error on them but it will tell you what line the error is on

This was tested on

  • OpenSuse ver 10.2
  • Fedora Core ver 6 (I386)

Who Did What

Writen / Tested by ZcWorld
Helped / Tested by Craz1
Tested by Granddad

Check List

What we need:

  • Linux OS ( fc 6 or opensuse )
  • UnrealIRCD 3.2
  • Anope services
  • compiler
  • SU access rights (superuser)
  • and a LOT of time
  • and a good signing voice (joke) but im sur eyou will be doing a lot of yelling doing this
  • water and coffee n something to eat as well (there is a lot of waiting at times. .. when its does the compiling and building)

My setup:

I got a personal account on my server pc.

SUB Notes :::

If working in a VM make a backup of the OS – just in case it goes ass up or u can redo the test to make sure you got it down. 🙂

Or if it’s on a real pc .. than arrr good luck and hope it doest stuff up first time around that’s all I can say.

Linux – count files inside directory

There’s a pretty simple way to count all files, directories and symbolic link:

ls -l | grep ^- | wc -l
ls -l | grep ^d | wc -l
ls -l | grep ^l | wc -l

Or as a little script:

# Take the directory to start with as first argument
echo -e "\n$check_dir: Nb of files"
echo `ls -l $check_dir| grep ^- | wc -l`
echo -e "\n$check_dir: Nb of directories"
echo `ls -l $check_dir| grep ^d | wc -l`
echo -e "\n$check_dir: Nb of symbolic links"
echo `ls -l $check_dir| grep ^l | wc -l`


  • save the code as
  • change the rights so that one can execute
    chmod a+x
  • use like
    ./ `pwd`
    ./ /tmp
    ./ .