Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

HTTP SOAP Client

807607Dec 8 2006 — edited Dec 8 2006
Hi guys,

I'm very new to web service technology & need your help writing a simple soap client to call a web service.

the soap request should be :
POST /lightboxedit/LBEDataService.asmx HTTP/1.1
Host: abourne.dyndns.org
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetProjects xmlns="http://www.lightboxedit.com/webservices/" />
  </soap12:Body>
</soap12:Envelope> 
and the soap response is of the form :
 HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetProjectsResponse xmlns="http://www.lightboxedit.com/webservices/">
      <GetProjectsResult>
        <Project>
          <ProjectID>int</ProjectID>
          <ProjectName>string</ProjectName>
        </Project>
        <Project>
          <ProjectID>int</ProjectID>
          <ProjectName>string</ProjectName>
        </Project>
      </GetProjectsResult>
    </GetProjectsResponse>
  </soap12:Body>
</soap12:Envelope>
I would appreciate a lot your help in writing the soap client to call this web service(it should be trivial to any web service expert)
thank you much.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 5 2007
Added on Dec 8 2006
14 comments
367 views