Hi folks,

Tomcat 5.5.15, AXIS 1.3, Linux fedora core 4....

Java2WSDL does not generate the correct method signature in the 
*SoapBindingImpl.java file.  Here is the scenario.

I have the following method declaration in my Family.java file, which
defines one interface.

public interface Family 
{
  public int register(String email, 
                      String password, 
                      long birthDate, 
                      String affiliateName)
      throws RemoteException;

...
}

I execute:

$ java org.apache.axis.wsdl.Java2WSDL -o family.wsdl \
  -l"http://localhost:8080/axis/services/family-accounts"; \
  -n urn:family-accounts \
  -p"family-accounts" urn:disney.dis.family \
  disney.dis.family.Family 

to produce the family.wsdl file, which I've attached to this email.


I execute:

$ 
$ java org.apache.axis.wsdl.WSDL2Java -o . -d Session -s \
  -p disney.dis.family family.wsdl

to produce the auto-generated files.  The file that contains the
SOAP binding implementation has the following signature
corresponding to the interface method declaration above:

    public int register(java.lang.String in0, 
                        java.lang.String in1, 
                         java.lang.String in2) 
             throws java.rmi.RemoteException 
    {
        return -3;
    }

It should be like this:

    public int register(java.lang.String in0, 
                        java.lang.String in1, 
                        long in2,
                        java.lang.String in3) 
             throws java.rmi.RemoteException 
    {
        return -3;
    }


Can anyone tell me what's wrong?  How can I specify "long" 
type parameters?

Many thanks,

Vartan

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Attachment: family.wsdl
Description: 105362022-family.wsdl

Reply via email to