I am very new to SOAP, so was looking into some programs online, this is what I came up with but I get a null response, must be some silly thing, but need little help
Pl
Try with
QName qn = new QName("http://www.webserviceX.NET","ElementName","web");
EDIT: Also, as others have suggested - you will be better off using generated client code here - Axis, JAX-WS etc are all options.
The correct code should be as below.
QName bodyName = new QName("http://www.webserviceX.NET", "GetAtomicNumber");
SOAPBodyElement bodyElement = sbody.addBodyElement(bodyName);
QName qn = new QName("ElementName");