Mark_Scattergoo
Feb 02, 2005Nimbostratus
XML exception when calling ITCMLocalLBVirtualServer.get_virtual_address_list()
I'm writing some iControl code (using iControl 4.6.2) for use against a
540 running 4.5.9 Build 2 and a 2400 running 4.5 PTF3. When I call
ITCMLocalLBVirtualServer.get_virtual_address_list() from the 540, I get the following exception (XML error), but the same code works from the 2400. Is there a known bug in 4.5.9 Build 2? I looked through the release notes for later releases but didn't find any references to this problem.
TIA.
System.InvalidOperationException: There is an error in XML document (11,
2). ---> System.InvalidOperationException: The specified type was not
recognized: name='ITCMCommon.IPAddress', namespace='urn:iControl', at xmlns=''>.
at
System.Xml.Serialization.XmlSerializationReader.GetPrimitiveType(XmlQualifiedNam
e typeName, Boolean throwOnUnknown)
at System.Xml.Serialization.XmlSerializationReader.ReadArray(String
typeName, String typeNs)
at
System.Xml.Serialization.XmlSerializationReader.ReadReferencingElement(String
name, String ns, Boolean elementCanBeType, String& fixupReference)
at
System.Xml.Serialization.XmlSerializationReader.ReadReferencingElement(String
name, String ns, String& fixupReference)
at
Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReader1.Read390_ge
t_virtual_address_listResponse()
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader
xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader
xmlReader, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader
xmlReader)
at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMess
age message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
at
BigIpPoC.F5VirtualServer.ITCMLocalLBVirtualServer.get_virtual_address_list(Strin
g[]& vlan_wildcard_addresses) in c:\workspace\bigippoc\web
references\f5virtualserver\reference.cs:line 1974
at BigIpPoC.Class1.Main(String[] args) in c:\workspace\bigippoc\class1.cs:line 51