get route groups members

Version 1
    This document was generated from CDN thread

    Created by: Marwa Ads on 08-08-2012 05:05:30 PM
    Hi All,
     
    I am trying to retrieve the MGCP members from a route group using the below AXL methods:
     
    XDevice device1 = xRouteGroupMembers.getDevice();
    NameAndGUIDRequest re3 = new NameAndGUIDRequest();
    GetGatewayEndpointRes res = stub.getGatewayEndpoint(re3);
    XGateway gateway = res.get_return().getDevice();
     
    but i got the following exception:
     
    Aug 8, 2012 11:01:04 PM org.apache.axis.client.Call invoke
    SEVERE: Exception:
    org.xml.sax.SAXException: Invalid element in com.cisco.www.AXL._7_1.XGateway - maxPorts
            at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:255)
            at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
            at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
            at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1140)
            at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
            at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
            at org.apache.axis.client.Call.invoke(Call.java:2448)
            at org.apache.axis.client.Call.invoke(Call.java:2347)
            at org.apache.axis.client.Call.invoke(Call.java:1804)
            at com.cisco.www.AXLAPIService.AXLAPIBindingStub.getGatewayEndpoint(AXLAPIBindingStub.java:19934)
            at Operations.CUCMOperations.getRouteGroup_MGCPGateways(CUCMOperations.java:334)
            at Operations.CUCMOperations.main(CUCMOperations.java:401)
     
    Awaiting your help
    Marwa