@WebService(endpointInterface="org.apache.axis2.jaxws.polymorphic.shape.sei.PolymorphicShapePortType", wsdlLocation="test/org/apache/axis2/jaxws/polymorphic/shape/META-INF/shapes.wsdl")
public class PolymorphicShapePortTypeImpl implements PolymorphicShapePortType {
public Shape draw(Shape request) {
if(request instanceof Circle){
Circle circle =(Circle) request;
TestLogger.logger.debug("Drawing Circle on x =" + request.getXAxis() + " y=" +
request.getYAxis() + " With Radius =" + circle.getRadius());
return request;
}
if(request instanceof Square){
Square square =(Square) request;
TestLogger.logger.debug("Drawing Square on x =" + request.getXAxis() + " y=" +