HI Richard,
You have to add following parameter to the service.xml file in order
to get your original WSDL instead of dynamic generation.

<parameter name="useOriginalwsdl">true</parameter>

Thanks ,

On Wed, Apr 22, 2009 at 1:41 AM, Richard Hu <[email protected]> wrote:
> Hi everyone,
>
>
>
> I successfully deployed a POJO service in Axis 2 but I’m running into a
> small inconsistency that is causing an issue when I try to run the client.
> In order to generate the WSDL, I use the Java2WSDL utility that comes with
> Axis 2 to create a file <SimpleService.wsdl> that I then place in
> “services\SimpleService\META-INF”.  However, when I start up Tomcat and then
> go to “http://localhost:8080/axis2/services/SimpleService?wsdl, the wsdl is
> different.
>
>
>
> This inconsistency is causing an issue in the generation of the stub since
> certain classes in the WSDL that is available through Tomcat do not have all
> the correct fields visible.
>
>
>
> Does anyone know how POJO generates the WSDL that it displays or does anyone
> know how to set the WSDL that POJO displays?
>
>
>
> Thank you.
>
>
>
> Richard Hu
>
> [email protected]



-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://sagaras.awardspace.com/

Reply via email to