Try with the latest source. this bug is fixed and I just ran the
codegen successfully with the attached WSDL.
On 4/21/06, Siamak Haschemi <[EMAIL PROTECTED]> wrote:
> Hello.
>
> Using WSDL2Java with the attached WSDL file produces a not compileable
> MessageReceiver.
>
> Too much braces. I marked up the lines.
> Here's a snipped:
>
>
> catch (org.apache.axis2.CareSkeleton.DeleteProductException e) {
> org.apache.axis2.AxisFault f =
> new
> org.apache.axis2.AxisFault("DeleteProductException");
> f.setDetail(toOM(e.getFaultMessage(),false));
> throw f;
> -----> }
> }catch
> (org.apache.axis2.CareSkeleton.SaveProductException e) {
> org.apache.axis2.AxisFault f =
> new
> org.apache.axis2.AxisFault("SaveProductException");
> f.setDetail(toOM(e.getFaultMessage(),false));
> throw f;
> }
> }catch
> (org.apache.axis2.CareSkeleton.UpdateProductException e) {
> org.apache.axis2.AxisFault f =
> new
> org.apache.axis2.AxisFault("UpdateProductException");
> f.setDetail(toOM(e.getFaultMessage(),false));
> throw f;
> -----> }
> }catch
> (org.apache.axis2.CareSkeleton.GetAllProductException e) {
> org.apache.axis2.AxisFault f =
> new
> org.apache.axis2.AxisFault("GetAllProductException");
> f.setDetail(toOM(e.getFaultMessage(),false));
> throw f;
> -----> }
> }catch (org.apache.axis2.CareSkeleton.GetProductException
> e) {
> org.apache.axis2.AxisFault f =
> new
> org.apache.axis2.AxisFault("GetProductException");
> f.setDetail(toOM(e.getFaultMessage(),false));
> throw f;
> }
>
>
> I think the XSL-Template has to be changed or my WSDL-file is invalid.
>
> PS: I have also a Thread about a Exception while using WSDL-Failures, so
> please help me.
>
> Thanks,
>
> Siamak Haschemi
>
>
>
--
Ajith Ranabahu