You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Thomas Börkel <tb...@ap-ag.com> on 2002/02/06 19:36:01 UTC

.NET ignores methods with void returntype

HI!

Using Axis alpha3 and .NET 1.0.

If I have a method without void returntype then .NET ignores that method
and write the following comment into the generated proxy class:

CODEGEN: The operation binding 'exceptionTest' from namespace
'http://p2test.p2plus.apag.com' was ignored.  Each message part in an
use=encoded message must specify a type.


This is my method:

  public void exceptionTest() throws Exception
  {
    throw new Exception("Message");
  }


I have attached the WSDL that I got from the Emitter using the getWSDL()
method.

Any help, please?

Thanks!

Regards,
Thomas