You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Shah Asrani <sh...@gmail.com> on 2008/12/18 18:22:23 UTC
generateWSDL method in Axis2
In Axis1, I had implemented a call back method "generateWSDL" in my
provider that extended the BasicProvider.
In moving to Axis2, I have MessageReceiver that extends
RawXMLInOutMessageReceiver. Which callback method is equivalent
to generateWSDL method in Axis1. I need to generate WSDL with my custom code.
Shah Asrani.
Re: generateWSDL method in Axis2
Posted by Shah Asrani <sh...@gmail.com>.
Hi Keith,
Thanks for your suggestions.
On Thu, Dec 18, 2008 at 9:43 PM, keith chapman <ke...@gmail.com> wrote:
> Hi,
>
> With Axis2 you do not have such a callback method. But here is a workaround
> that you could use. Extend the AxisServlet and override the doGet method. In
> there check whether its a request for a WSDL and invoke your code for
> generating the WSDL.
>
> Thanks,
> Keith.
>
> On Thu, Dec 18, 2008 at 10:52 PM, Shah Asrani <sh...@gmail.com> wrote:
>>
>> In Axis1, I had implemented a call back method "generateWSDL" in my
>> provider that extended the BasicProvider.
>> In moving to Axis2, I have MessageReceiver that extends
>> RawXMLInOutMessageReceiver. Which callback method is equivalent
>> to generateWSDL method in Axis1. I need to generate WSDL with my custom
>> code.
>>
>> Shah Asrani.
>
>
>
> --
> Keith Chapman
> Senior Software Engineer
> WSO2 Inc.
> Oxygenating the Web Service Platform.
> http://wso2.org/
>
> blog: http://www.keith-chapman.org
>
Re: generateWSDL method in Axis2
Posted by keith chapman <ke...@gmail.com>.
Hi,
With Axis2 you do not have such a callback method. But here is a workaround
that you could use. Extend the AxisServlet and override the doGet method. In
there check whether its a request for a WSDL and invoke your code for
generating the WSDL.
Thanks,
Keith.
On Thu, Dec 18, 2008 at 10:52 PM, Shah Asrani <sh...@gmail.com> wrote:
> In Axis1, I had implemented a call back method "generateWSDL" in my
> provider that extended the BasicProvider.
> In moving to Axis2, I have MessageReceiver that extends
> RawXMLInOutMessageReceiver. Which callback method is equivalent
> to generateWSDL method in Axis1. I need to generate WSDL with my custom
> code.
>
> Shah Asrani.
>
--
Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/
blog: http://www.keith-chapman.org