Welcome to JavaRanch.
I think we need to have a lot more detail about what you're trying to do before we can help you in a meaningful way. For starters, I suspect that "carrer-builder API" is a typo, but any way to correct that comes to me still means nothing - career-builder API? carrier-builder API? Something else?
Apart from that, what is the precise problem? You have a servlet that tries to access this 3rd party WS API? What does XML have to do with it? Usually, the SOAP toolkits generate client code that hides all the SOAP and XML stuff underneath
Java methods. Could you use that? Or are there particular reasons you need to work with XML directly? If so, what are they? etc. So, please TellThe Details.