WSDL generated from reflection?

2005-10-12 Thread Robert Nicholson
I intend to replace a proprietory web framework with Axis but can  
anybody tell me if Axis supports generation of WSDL using reflection?  
I don't care about the naming of arguments.


RE: WSDL generated from reflection?

2005-10-12 Thread Grossberger, Guenter
See http://ws.apache.org/axis/java/user-guide.html#Java2WSDLBuildingWSDLFromJava

Best regards,

--
DI Günter Grossberger
Consultant Tel: +43 1 329 50 161
Software AG Österreich Fax: +43 1 329 50 171
Guglgasse 7-9  GSM: +43 676 833 29 261
1030 Wien  http://www.softwareag.com/austria
 

 -Original Message-
 From: Robert Nicholson [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, October 12, 2005 4:31 PM
 To: axis-user@ws.apache.org
 Subject: WSDL generated from reflection?
 
 I intend to replace a proprietory web framework with Axis but can  
 anybody tell me if Axis supports generation of WSDL using 
 reflection?  
 I don't care about the naming of arguments.
 


Re: WSDL generated from reflection?

2005-10-12 Thread Robert Nicholson
That suggests I can only generated static WSDL from my java source.  
I'm interested in generating WSDL dynamically from the signatures of  
public methods in my service's class.


On Oct 12, 2005, at 10:13 AM, Grossberger, Guenter wrote:

See http://ws.apache.org/axis/java/user- 
guide.html#Java2WSDLBuildingWSDLFromJava


Best regards,

--
DI Günter Grossberger
Consultant Tel: +43 1 329 50 161
Software AG Österreich Fax: +43 1 329 50 171
Guglgasse 7-9  GSM: +43 676 833 29 261
1030 Wien  http://www.softwareag.com/austria




-Original Message-
From: Robert Nicholson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 12, 2005 4:31 PM
To: axis-user@ws.apache.org
Subject: WSDL generated from reflection?

I intend to replace a proprietory web framework with Axis but can
anybody tell me if Axis supports generation of WSDL using
reflection?
I don't care about the naming of arguments.





Re: WSDL generated from reflection?

2005-10-12 Thread Ron Reynolds
well, custom serializers support the writeSchema() method which allows one to 
return the XSD that the serialier will
accept so there MUST be a pluggable architecture in Axis for generating schemas 
on the fly (invoked via the
service-url?WSDL url).  digging through a bit of the Axis 1.2.1 code shows 
there is a method called
generateWSDL(MessageContext) on the org.apache.axis.Handler interface.  
org.apache.axis.handlers.soap.SOAPService
implements this method - might be a good place to start.  hth a little.
ron.

 That suggests I can only generated static WSDL from my java source.
 I'm interested in generating WSDL dynamically from the signatures of
 public methods in my service's class.

 On Oct 12, 2005, at 10:13 AM, Grossberger, Guenter wrote:

 See http://ws.apache.org/axis/java/user-
 guide.html#Java2WSDLBuildingWSDLFromJava

 Best regards,

 --
 DI Günter Grossberger
 Consultant Tel: +43 1 329 50 161
 Software AG Österreich Fax: +43 1 329 50 171
 Guglgasse 7-9  GSM: +43 676 833 29 261
 1030 Wien  http://www.softwareag.com/austria



 -Original Message-
 From: Robert Nicholson [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 12, 2005 4:31 PM
 To: axis-user@ws.apache.org
 Subject: WSDL generated from reflection?

 I intend to replace a proprietory web framework with Axis but can
 anybody tell me if Axis supports generation of WSDL using
 reflection?
 I don't care about the naming of arguments.







RE: WSDL generated from reflection?

2005-10-12 Thread Grossberger, Guenter
Hi!

I found class org.apache.axis.wsdl.fromJava.Emitter whose documentation says:
This class emits WSDL from Java classes. It is used by the ?WSDL Axis browser 
function and Java2WSDL commandline utility. See Java2WSDL and Java2WSDLFactory 
for more information.

So you could write your own fromClass.Emitter that uses reflection baseed on 
the fromJava.Emitter.

Best regards,
Guenter



 -Original Message-
 From: Ron Reynolds [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, October 12, 2005 7:36 PM
 To: axis-user@ws.apache.org
 Subject: Re: WSDL generated from reflection?
 
 well, custom serializers support the writeSchema() method 
 which allows one to return the XSD that the serialier will
 accept so there MUST be a pluggable architecture in Axis for 
 generating schemas on the fly (invoked via the
 service-url?WSDL url).  digging through a bit of the Axis 
 1.2.1 code shows there is a method called
 generateWSDL(MessageContext) on the org.apache.axis.Handler 
 interface.  org.apache.axis.handlers.soap.SOAPService
 implements this method - might be a good place to start.  hth 
 a little.
 ron.
 
  That suggests I can only generated static WSDL from my java source.
  I'm interested in generating WSDL dynamically from the signatures of
  public methods in my service's class.
 
  On Oct 12, 2005, at 10:13 AM, Grossberger, Guenter wrote:
 
  See http://ws.apache.org/axis/java/user-
  guide.html#Java2WSDLBuildingWSDLFromJava
 
  Best regards,
 
  --
  DI Günter Grossberger
  Consultant Tel: +43 1 329 50 161
  Software AG Österreich Fax: +43 1 329 50 171
  Guglgasse 7-9  GSM: +43 676 833 29 261
  1030 Wien  http://www.softwareag.com/austria
 
 
 
  -Original Message-
  From: Robert Nicholson [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, October 12, 2005 4:31 PM
  To: axis-user@ws.apache.org
  Subject: WSDL generated from reflection?
 
  I intend to replace a proprietory web framework with Axis but can
  anybody tell me if Axis supports generation of WSDL using
  reflection?
  I don't care about the naming of arguments.