Title: Message
The emitter seems to get confused by WSDL files generated by .NET.  I found many examples of this problem on www.xmethods.com but this one here is very simple and illustrates the problem well...
When you generate stubs from this file, they compile fine.  However, the interface generated is wrong (see below).  The signature should be:
    public java.lang.String localTimeByZipCode(java.lang.String zipCode) throws java.rmi.RemoteException;
In other words, "String" is correct and "String[]" is wrong.  I verified this by editing the interface and stub java files, recompiling, and executing a client.  The client works fine when the interface and stub files are fixed (by hand).
I did this work with nightly download Feb 22.
Cheers.
Stan
---------------------------------------------------------------------
/**
 * LocalTimeSoap.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis Wsdl2java emitter.
 */
 
package net.alethea;
 
public interface LocalTimeSoap extends java.rmi.Remote {
 
    // Returns the local time for a given zip code.
    public java.lang.String[] localTimeByZipCode(java.lang.String[] zipCode) throws java.rmi.RemoteException;
}
                      String[] wrong here                      String[] wrong here too

Reply via email to