You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Saminda Abeyruwan <sa...@gmail.com> on 2007/06/19 14:25:46 UTC

[Axis2] WSDL generation.

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

Re: [Axis2] WSDL generation.

Posted by Davanum Srinivas <da...@gmail.com>.
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 <sa...@gmail.com> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org