Sebastian: You have to publish your class. This is called deployment. To do this you execute a Java application that takes a WSDD file as parameter. WSDD means web service deployment descriptor. You call it like this: java org.apache.axis.client.AdminClient deploy.wsdd
The file deploy.wsdd contains the information needed for deployment (classname, name of web service, published methods, ...). It is not very difficult. This is an example: <deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> <service name="MyWebService" provider="java:RPC"> <parameter name="className" value="my.package.MyWebService"/> <parameter name="allowedMethods" value="*" /> </service> </deployment> Your second question: The Axis server doesn't need to be assigned a port because it is a web application. The configuration for the network stuff is done by the web server (Tomcat, ...) and a web application makes use of the network connectivity that is provided by the web server. (port 80 or port 8080 or something else) best regards Matthias Wimmer -----Original Message----- From: Sebastian Hasait [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 10:51 AM To: [EMAIL PROTECTED] Subject: InClass-Server Hi! I want to do normal RPC-Stuff: I have a class with a main-Method, to start it from command-line. This class contains some Methods to export, so they can be called by a client. This class should be a standalone application, because it provides GUI. As far as i have understood, i will need an instance of AxisServer, but i don't know how to tell AxisServer, what Methods it should export. My second problem is, how to assign a socket to AxisServer so it will listen on it and wait for calls. Thank you for help. Sebastian