title: Web Service Client (Jaxb Soap Call)
body: <p>I don't understand why making a simple web service client became almost a science, posting soap xml somewhere and receiving result.</p>
  
  <p>The goal is simple:
   - Marshalling POJO (jax-ws annotated object) into Soap XML
   - Sending Soap XML to Service endpoint
   - Receiving Soap XML response
   - Unmarshalling Soap XML into POJO</p>
  
  <p>I didn't find any clean java built-in solution for that:
   - SOAPMessage doesn't handle marshalling
   - JAXB has a problem with namespaces (if not strictly defined in pojo annotations)
   - Using ws-import make enormous files for a simple call</p>
  
  <p>Altough i made my own soapclient to do this (hacking a bit of SAX nodes with namespaces and prefixes upon response) and using Http(s)UrlConnection to send a request, I believe there is also some clean solution to do this (without actually having WSDL)</p>
  
  <p>Any suggestions (without need of 3rd party libraries) ?</p>