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 IContro...
Sep 04, 2004
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.
I'm not sure what WSDL you are looking at, but as far back as iControl version 2.1 (which mapped to BIG-IP 4.2) we've defined the ITCMCommon.IPAddress as the following in the WSDL:
And the ITCMCommon.IPPortDefinition as the following:
If you could post the snippet of the WSDL that you are referring to and the version of the SDK you got it from, I can see if I'm missing something here.
-Joe
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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