Forum Discussion
hotrod_127503
Nimbostratus
Sep 04, 2004IPPortDefinition
Hey all,
Is the address member in the IPPortDefinition a String or a Long?
The reason I ask is in the WSDL says it is a long, but in the java classes provided by IControl says that it's very clearly is a String. The iControlSOAPMappingRegistry does not do anything special to convert it to a long either.
Thanks,
Justin
- Ok, here's some history on the IPAddress. Our initial implementation was based on our CORBA idl definitions. In those technologies (c/c++) it was very popular to deal with IP Addresses as long's as that is how they are represented at the network layer. So, our CORBA implementation supported IPAddresses as longs. When we created our iControl SOAP, we decided that exposing the address as a string would make more sense for user mode applications written in higher level languages (C, Java, etc.). So, we "changed" the type for the SOAP interfaces to a string and do some runtime conversions under the seams to it's network representation.
- hotrod_127503
Nimbostratus
Hey Joe, - Thanks! I've verified that this is an issue with version 4.6.2 of the SDK and I'll get a corrected version on the website by the end of the week.
- hotrod_127503
Nimbostratus
Joe,
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects