FileDocCategorySizeDatePackage
PlanService.javaAPI DocApache Axis 1.41441Sat Apr 22 18:57:28 BST 2006test.wsdl.qnameser

PlanService

public class PlanService extends Object

Fields Summary
public static final QName
Q_1
public static final QName
Q_2
public static final QName
Q_3
Constructors Summary
Methods Summary
public GetMPlanResponsegetMPlan(GetMPlan in)

        QName [] list = in.getList();
        for (int i=0;i<list.length;i++) {
            getPlan(list[i]);
        }
        return new GetMPlanResponse();
    
public GetPlanResponsegetPlan(javax.xml.namespace.QName parameters)


        
          
        String localName = parameters.getLocalPart();
        String namespace = null;
        if (localName.equals(Q_1.getLocalPart())) {
            namespace = Q_1.getNamespaceURI();
        } else if (localName.equals(Q_2.getLocalPart())) {
            namespace = Q_2.getNamespaceURI();
        } else if (localName.equals(Q_3.getLocalPart())) {
            namespace = Q_3.getNamespaceURI();
        } else {
            throw new RemoteException("invalid localname:" + localName);
        }
        
        if (!parameters.getNamespaceURI().equals(namespace)) {
            throw new RemoteException("Expected: " + namespace + " but got: " +
                                      parameters.getNamespaceURI());
        }

        return new GetPlanResponse();