Re: [Axis2] WSDL generation.

2007-06-19 Thread Davanum Srinivas

Agreed. Can you please log a JIRA? and upload some sample that we can
turn into a test case.

thanks,
dims

On 6/19/07, Saminda Abeyruwan <[EMAIL PROTECTED]> wrote:

Hi Devs,

If a WSDL is not given for a service, and if the service's message receiver
is not RPCMessageReceiver what would be  the WSDL generation behavior.

I'm using the current Axis2 trunk head, and I've using services with custom
MR, and when I try to do ?wsdl I'm receiving the following exception,

org.apache.axis2.dataretrieval.DataRetrievalException
org.apache.axis2.dataretrieval.AxisDataLocatorImpl.getData(AxisDataLocatorImpl.java:81)
org.apache.axis2.description.AxisService.getData(AxisService.java
:2017)
org.apache.axis2.description.AxisService.getWSDL(AxisService.java:995)
org.apache.axis2.description.AxisService.printWSDL(AxisService.java:939)
org.wso2.wsas.transport.util.Wsdl11Processor$1.printWSDL(Wsdl11Processor.java
:40)
org.wso2.wsas.transport.util.AbstractWsdlProcessor.printWSDL(AbstractWsdlProcessor.java:51)
org.wso2.wsas.transport.util.Wsdl11Processor.process(Wsdl11Processor.java:48)

IMHO if the default behavior is not to generate a suitable WSDL, above
should show an error message rather an exception.

Thank you
 --
Saminda Abeyruwan

Software Engineer
WSO2 Inc. - www.wso2.org



--
Davanum Srinivas :: http://davanum.wordpress.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Axis2] WSDL generation.

2007-06-19 Thread Saminda Abeyruwan

Hi Devs,

If a WSDL is not given for a service, and if the service's message receiver
is not RPCMessageReceiver what would be  the WSDL generation behavior.

I'm using the current Axis2 trunk head, and I've using services with custom
MR, and when I try to do ?wsdl I'm receiving the following exception,

org.apache.axis2.dataretrieval.DataRetrievalException

org.apache.axis2.dataretrieval.AxisDataLocatorImpl.getData(AxisDataLocatorImpl.java:81)
org.apache.axis2.description.AxisService.getData(AxisService.java:2017)
org.apache.axis2.description.AxisService.getWSDL(AxisService.java:995)
org.apache.axis2.description.AxisService.printWSDL(AxisService.java:939)

org.wso2.wsas.transport.util.Wsdl11Processor$1.printWSDL(Wsdl11Processor.java:40)

org.wso2.wsas.transport.util.AbstractWsdlProcessor.printWSDL(AbstractWsdlProcessor.java:51)

org.wso2.wsas.transport.util.Wsdl11Processor.process(Wsdl11Processor.java:48)


IMHO if the default behavior is not to generate a suitable WSDL, above
should show an error message rather an exception.

Thank you
--
Saminda Abeyruwan

Software Engineer
WSO2 Inc. - www.wso2.org