Hi!
Since I'm new to Axis, I might miss something very obvious. If so,
please redirect me accordingly.

I run an Axis 1.1b/Tomcat 4.1.12 combination to deploy some web
services. The java classes to be exported as services specify functions
with java.lang.* or java.io.* parametres.
These classes are found correctly be axis, the AxisServlet
(http://localhost:8080/axis/servlet/AxisServlet) shows all their functions.

But the link to the (automatically generated) wsdl fails:

Fault - WSDLException: faultCode=OTHER_ERROR: Can't find prefix for
'http://lang.java'. Namespace prefixes must be set on the Definition
object using the addNamespace(...) method.:


In particular, the following class is *not* exportable as a web service:

public class test
{
  public test() {}
  public void Func(java.lang.Math m) {}
}


Is there really no way to export services with non-basic java types?
What am I missing?

I tried to put my classes into various tomcat directories, as .class and
.jar, but to no avail.


Suggestions, anyone?


Karsten
-- 
       Freiheit stirbt        |       Fsayannes SF&F-Bibliothek:
            Mit Sicherheit    |       http://fsayanne.tprac.de/

Reply via email to