axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "keith chapman" <>
Subject Re: Provide original WSDL
Date Wed, 07 May 2008 15:16:42 GMT
Hi Natalia,

When useOriginalWSDL is set to tru axis2 gets it WSDL4JDefinition off a
parameter in the service and serialize it. You can set this parameter as


Have a look at the private Definition readInTheWSDLFile(InputStream in) in
axisService to seee how you can build the wsdl4JDefinition object.

And to answere your next question, Type information in the WSDl is genarated
correctly only if the RPCMessegeReceiver is used. In other cases its almost
impossible to infer the type information cause it depends on the
messegeReceiver heavily.

Hope this helps.


On Wed, May 7, 2008 at 4:57 PM, Natalia Ignatowicz <> wrote:

> Hi,
> I'm trying to provide my original WSDL-file for users of my webservice, so
> "useOriginalwsdl" is set to true.
> This works fine when I deploy my service through an AAR. But for several
> reasons, I'm deploying my service programmatically at runtime. Now the WSDL
> is not found and Axis says "Unable to generate WSDL 1.1 for this service".
> Is there any way to tell Axis at runtime that there is a WSDL-file and
> that this file should be used? (Placing the file in META-INF doesn't help.)
> Btw: Why are the generated WSDLs (if useOriginalwsdl is set to false) so
> ugly? All types like xs:int etc. have "xs:anyType" then.
> Greetings,
> Natalia
> --
> GMX startet Hier findest Du Leute mit Deinen Interessen!
> Jetzt dabei sein:
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.


View raw message