title: Form SOAP request using Eclipse Java project
body: <p>I need to write a Java client to call a SOAP call in a webservice.
  I have an xml file defining the request.
  I have a .svc file.
  My wsdl URI is something like this: wsdlLocation="http://xx.com/E/wcf/test.svc"</p>
  
  <p>I have started a new Eclipse WTP WEb Services Client and am getting an error when specifying 
  <a href="http://xx.com/E/wcf/test.svc?wsdl" rel="nofollow">http://xx.com/E/wcf/test.svc?wsdl</a> in the Service definition file.
  I get this error: WAB0399E Error in generating Java from WSDL:  javax.wsdl.WSDLException: WSDLException (at /wsdl:definitions/wsdl:import): faultCode=OTHER_ERROR: Unable to resolve imported document at 'http:// ... etc.</p>
  
  <p>For the moment I want to ignore that :) because I'm not sure I understand all this fully.</p>
  
  <p>If it was successful, is there something that would allow me to point at the xml file and generate the SOAP calls, to create the request and check or responses. Something to write the xml elements etc.?
  I have looked at so many tutorials at this stage and so many questions and answers that I am getting lost.</p>
  
  <p>There seems to be some many ways to do things using the eclipse plug ins which ends up confusing me in the end. I have Eclipse Juno and I have the m2eclipse WTP plugin.</p>
  
  <p>Can anyone point me to a definitive sample where I can create an instance of my service using this wsdl, form a SOAP request and check for a response?
  I have a html page that I need to send and need to encode it within the soap request in a string.</p>
  
  <p>Thank you.</p>