For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Mark_Scattergoo's avatar
Mark_Scattergoo
Icon for Nimbostratus rankNimbostratus
Feb 02, 2005

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

 

12 Replies

  • Joe - the WSDL definition for ITCMCommon.IPPortDefinition also needs fixing - it currently defines the address property as a long, and should be a string.
  • Thanks scatters!

     

     

    I've updated the 4.6.2 SDK in the downloads section of DevCentral containing the updated WSDL documents.

     

     

    For the record, the WSDL files effect by this fix include:

     

     

    ITCMGlobalLB.BaseServer.wsdl

     

    ITCMLocalLB.NAT.wsdl

     

    ITCMLocalLB.Node.wsdl

     

    ITCMLocalLB.SNAT.wsdl

     

    ITCMLocalLB.VirtualServer.wsdl

     

    ITCMManagement.LicenseAdministration.wsdl

     

    ITCMNetworking.SelfIP.wsdl

     

    ITCMSystem.Inet.wsdl

     

     

    Also, Keep an eye out for the updated 4.6.3 SDK coming at the end of March to coincide with the release of BIG-IP 4.6.3.

     

     

    -Joe