Axis Deployment Part II

With a hint from the mailinglist – did I ever mention what a practical thing those mailinglists are – I finally realized what I should have realized 2 days ago: the generation of the deployment descriptor for axis is really not necessary. It is much more reliable to write the thing yourself instead of using the java2wsdl / wsdl2java mechanism, which not only produces overhead but errors as well. Using ant does not improve this. So here’s what I use now:

<deployment xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<service name="YourService" provider="java:RPC">
<parameter name="className" value="your.package.yourClass"/>
<parameter name="allowedMethods" value="method1 method2 method3"/>
</service>
</deployment>

I wrote this and it works. Simply use this together with the AdminClient. Don’t forget to copy your jar-file or your classes to the correct location in the axis directory and you are all set. From a deployed service you can then generate a client using ant and wsdl2java

<java classname="org.apache.axis.wsdl.WSDL2Java" classpathref="lib.path" fork="yes">
<arg value="-o${src}"/>
<arg value="-p${clientpackage}"/>
<arg value="${endpoint}?wsdl"/>
</java>

And that is all you need. Of course you need a tomcat running to generate your client this way. Forget the java2wsdl part …….. and if you have a problem: go ask a mailinglist, 99% of the time they will know what you don’t. 🙂

Back Online

We are back online. Finally. We have been offline for 2 months. Well at home. Not at work of course. The interesting thing was to notice how much and for how many different things we have come to depend on instant internet access around the clock. Internet has become a real time saving app for me at least.

Linux Server Part 1

Of course the first thing needed is a system running linux. I am using Debian (currently “Woody”), you can use whatever you like. The first thing I wanted to have was the adsl access to our provider. So that is what I configured last night.

Step 1: Set up the hardware corretly. Our ADSL modem came with two regular rj45 cables and it does indeed speak 10Mbit and 100Mbit. So you can either connect the modem to your hub/switch/router or to your computer via network card. Luckily you do not need a crosspatch cable for this, since the modem is wired that it simply works with the network card. If you use a hub plug it in the uplink! Yes you do.

Step 2: Compile the right ppp-modules into your kernel. In Network Devices you find the following:

<M> PPP (point-to-point protocol) support <M> support for async serial ports (NEW) < M> PPP support for sync tty ports (NEW) < > PPP Deflate compression (NEW) < > PPP BSD-Compress compression (NEW)

I believe I used the first three modules. Which should be enough.

Step 3 And after that all you need is to configure this with “pppoeconf”, you can click yes for most of the questions until he comes to your username. What this is depends on your provider. The German provider T-Online makes it rather complicated you need to fill in this:

[Anschlusskennung][T-Onlinenummer][Mitbenutzernummer]#0001@t-online.de

Then the programm asks for your password.

Step 4 After finishing the setup with pppoeconf you can open a connection to your provider with pon dsl-provider and close it with poff dsl-provider. You might want to consider using the dial daemon to auto-dial on request but I haven’t got it to work yet.

Part 2 will be “Configuring your DNS” hopefully soon.

Anm. d. Red.: Ohne Hoogla gehts nicht 🙂

More Anti-Spam for Nigeria

Antispam.de Forum

To bad this one is partly in German. But nevertheless a worthwhile read. I posted a similar link on lovescraft spam some days ago. Actually I think that the Nigeria Spammers are quite a funny read sometimes, if there were not people who did not know it was spam and took these people seriously.

This website “Nigeria – The 419 Coalition Website” tries to help people who fell for the nigeria scam.

Fantasy Sagas

About two years ago I started reading lots of Fantasy books again. So here is a short overview what I read and what I liked.

First there is the greate fantasay saga “Song of Ice and Fire”. The Author actually has a regularly updated homepage George R.R. Martin’s Official Website.

Then there is Tad Williams who wrote the Dragonbonechair (Tri-)logy and Otherland which I both recommend.

And of course there is the Wheel of Time which I have read only twice so far (but I started late, I only started reading short before Book 8 was published). Too bad though that the official Robert Jordan homepage is really not worth posting here. There is a really nice hp about the characters of WoT though Wheel of Time Character Archive Home and another nice one is Encyclopaedia WoT

I would also recommend the “Coldfire” Trilogy by CS Friedman. Merentha – Jaggonath is not an official page but has some info on the books.

So far I liked the Cavern of Black Ice which is only the first volume of a larger work. I hope the author is going to produce more books soon:The J.V. Jones Website

Wizards First Rule was a book I did not like very much, I think it is a typical “first book” in all bad aspects of that. Anyhow I might give it a second try since so many people I know seem to have liked it. Prophets Inc. – The Official Terry Goodkind and Sword of Truth web site

I liked both “Last Call” and “The Anubis Gates” by Tim Powers who was recommended by the entire UA Mailinglist. He seems to have no homepage, so alternatively another link Tim Powers – Author Information, Books, and News

So far so good, if I remember more fantasy sagas I liked I will simply extend this post.