Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Axis 1.4 - how to get InternalID of customer from login response
As per documentation with Axis 1.1 we get InternalId of customer in login response in following way:
String userid = getHeader(port, "sessionInfo"); public static String getHeader(NetSuitePortType port, String headerName) { com.netsuite.webservices.platform.NetSuiteBindingStub stub = (com.netsuite.webservices.platform.NetSuiteBindingStub) port; SOAPHeaderElement [] headers = stub.getResponseHeaders(); for (int i=0; i< headers.length; i++) { SOAPHeaderElement header = headers[i]; if (header.getName().equals(headerName)) { Iterator childElements = header.getChildElements(); while (childElements.hasNext()) { SOAPElement el = (SOAPElement) childElements.next(); return el.getValue(); } } } return null; } Any idea that how we can get that with Axis 1.4.