Hi, if you try to run the examples from the userguide directory then you might have to add the result type. In the snapshots the client examples seem to be a little bit out of synch with the actual axis development.
I did the following: .... call.addParameter( "arg1", XMLType.XSD_STRING, ParameterMode.PARAM_MODE_IN); call.setReturnType( XMLType.XSD_STRING ); .... Please not the last statement seeting the return type. After I did this the example works (its a code snippet from example3. Regards, Werner > -----Urspr�ngliche Nachricht----- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Gesendet: Sonntag, 3. Februar 2002 11:11 > An: [EMAIL PROTECTED] > Betreff: Problem running examples > > > Hello, > > just wanted to have a look at Axis, but I don't even get the > examples right. I'm running this on Tomcat 4.0 (also 3.2) on > Linux and have tried the last three nightly builds. > > Example 1 (which connects to the Apache server) gives me a > SAXException: Bad enevelope namespace. > > With examples 2-5 the server-side code is executed and the > correct result is returned from the method, but the client only > receives null. No exception is thrown, it just receives plain > null. > > If I replace the client-side Service/Call code with ServiceClient > code, everything works fine (tried this with examples 2 and 3) - > but ServiceClient is deprecated. > > Any hints? > > Regards, > Patrick >
