RE: Java2WSDL - preserving service parameter names

2005-10-09 Thread Merten Schumann
Hello Simon,
> -Original Message-
> From: Simon McMahon [mailto:[EMAIL PROTECTED] 
> Sent: Monday, October 10, 2005 7:17 AM
> To: [EMAIL PROTECTED]; axis-user@ws.apache.org
> Subject: RE: Java2WSDL - preserving service parameter names
> 
...
> I saw the following line in the Axis properties file:
> 
> But this property is never referenced in the sample builds so I dont
> know if this is required or not.
> 
> How do I make the Ant build the same as "javac -g" so that 
> java2wsdl is
> happy?

  

RE: Java2WSDL - preserving service parameter names

2005-10-09 Thread Simon McMahon
Thanks,

I did what you said and it worked :-). But I use Ant and I obviously
need more than 'debug="on"' to get the same level of debug as "javac
-g". I used:
...

...

I saw the following line in the Axis properties file:

But this property is never referenced in the sample builds so I dont
know if this is required or not.

How do I make the Ant build the same as "javac -g" so that java2wsdl is
happy?

Regards,

Simon.


Simon McMahon

Work: (07) 31311420
Mobile: (043) 2294180


>>> [EMAIL PROTECTED] 10/10/05 02:25pm >>>

Hi Simon,

You need to compile your code using the javac -g ( debug )

And use the Java2WSDL -i (interface) option


-Original Message-
From: Simon McMahon [mailto:[EMAIL PROTECTED] 
Sent: Monday, 10 October 2005 2:02 PM
To: axis-user@ws.apache.org 
Subject: Java2WSDL - preserving service parameter names


Hi,

When I use Java2WSDL it loses the names of the method parameters.

E.g.

   public String getProvider (String name, String orgName, String
providerId, int maxResults) ...

becomes

...
  
  
  
  
  
   
...

I.e. The parameter names get changed to in0, in1, in2, in3. How do I
preserve the original names in the generated WSDL?

Thanks,

Simon.



Simon McMahon

Work: (07) 31311420
Mobile: (043) 2294180



*
This email, including any attachments sent with it, is
confidential and for the sole use of the intended recipient(s).
This confidentiality is not waived or lost, if you receive it and
you are not the intended recipient(s), or if it is transmitted/
received in error.

Any unauthorised use, alteration, disclosure, distribution or
review of this email is strictly prohibited.  The information
contained in this email, including any attachment sent with
it, may be subject to a statutory duty of confidentiality if it
relates to health service matters.

If you are not the intended recipient(s), or if you have
received this email in error, you are asked to immediately
notify the sender by telephone collect on Australia
+61 1800 198 175 or by return email.  You should also
delete this email, and any copies, from your computer
system network and destroy any hard copies produced.

If not an intended recipient of this email, you must not copy,
distribute or take any action(s) that relies on it; any form of
disclosure, modification, distribution and/or publication of this
email is also prohibited.

Although Queensland Health takes all reasonable steps to
ensure this email does not contain malicious software,
Queensland Health does not accept responsibility for the
consequences if any person?s computer inadvertently suffers
any disruption to services, loss of information, harm or is
infected with a virus, other malicious computer programme or
code that may occur as a consequence of receiving this
email.

Unless stated otherwise, this email represents only the views
of the sender and not the views of the Queensland Government.



RE: Java2WSDL - preserving service parameter names

2005-10-09 Thread Alick Buckley
Title: RE: Java2WSDL - preserving service parameter names






Hi Simon,


You need to compile your code using the javac -g ( debug )


And use the Java2WSDL -i (interface) option



-Original Message-
From: Simon McMahon [mailto:[EMAIL PROTECTED]]
Sent: Monday, 10 October 2005 2:02 PM
To: axis-user@ws.apache.org
Subject: Java2WSDL - preserving service parameter names



Hi,


When I use Java2WSDL it loses the names of the method parameters.


E.g.


   public String getProvider (String name, String orgName, String
providerId, int maxResults) ...


becomes


...
  
  
  
  
  
   
...


I.e. The parameter names get changed to in0, in1, in2, in3. How do I
preserve the original names in the generated WSDL?


Thanks,


Simon.




Simon McMahon


Work: (07) 31311420
Mobile: (043) 2294180




*
This email, including any attachments sent with it, is
confidential and for the sole use of the intended recipient(s).
This confidentiality is not waived or lost, if you receive it and
you are not the intended recipient(s), or if it is transmitted/
received in error.


Any unauthorised use, alteration, disclosure, distribution or
review of this email is strictly prohibited.  The information
contained in this email, including any attachment sent with
it, may be subject to a statutory duty of confidentiality if it
relates to health service matters.


If you are not the intended recipient(s), or if you have
received this email in error, you are asked to immediately
notify the sender by telephone collect on Australia
+61 1800 198 175 or by return email.  You should also
delete this email, and any copies, from your computer
system network and destroy any hard copies produced.


If not an intended recipient of this email, you must not copy,
distribute or take any action(s) that relies on it; any form of
disclosure, modification, distribution and/or publication of this
email is also prohibited.


Although Queensland Health takes all reasonable steps to
ensure this email does not contain malicious software,
Queensland Health does not accept responsibility for the
consequences if any person?s computer inadvertently suffers
any disruption to services, loss of information, harm or is
infected with a virus, other malicious computer programme or
code that may occur as a consequence of receiving this
email.


Unless stated otherwise, this email represents only the views
of the sender and not the views of the Queensland Government.