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
--
Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl
shop.wsdl
Description: Binary data
