users@jax-rpc.java.net

wscompile not handling XML complex types

From: Daniel Żukowski <dzp_at_op.pl>
Date: Fri, 8 Oct 2004 19:22:48 +0200

I attached two files. I try to generate Java code from
the Test.wsdl file, using the following command:

wscompile -gen:server -keep -f:wsi config.xml

The generated operation looks like this:

    public void sendMsg(javax.xml.soap.SOAPElement msg) throws
         java.rmi.RemoteException;

The problem is that the part "msg" is mapped to "javax.xml.soap.SOAPElement", instead of "test.T2".
It seems that wscompile is not able to handle XML complex type derived from another complex type. Is
this some kind of limitation, or maybe a bug?

Thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net