Jump to content

Recommended Posts

Posted

Hi  I am recent graduate in December training on Java.... could anyone help me with  good sites where i can find simple examples for Restful .... SOAP...

 

Thanks

Posted

 

Thanks ...

 

These all are showing demos. Whr can i get source code?

Posted

Thanks ...

These all are showing demos. Whr can i get source code?

go and search in youtube
Posted

Thanks ...

 

These all are showing demos. Whr can i get source code?

these are realtime services which u can use in ur java code to consume and test...there u'll understand what serialization is and how webservices work in real time...REST is quite complex first understand SOAP

Posted

these are realtime services which u can use in ur java code to consume and test...there u'll understand what serialization is and how webservices work in real time...REST is quite complex first understand SOAP

 

so i have to write client code?

Posted

these are realtime services which u can use in ur java code to consume and test...there u'll understand what serialization is and how webservices work in real time...REST is quite complex first understand SOAP


Mayya nuvvu kooda.. he is not even trying
Posted

so i have to write client code?


Server and client kooda raayali nuvve... Em raayava
Posted

Server and client kooda raayali nuvve... Em raayava

 

 

wats u r problem?  behave properly

Posted

so i have to write client code?

yes i dont know how webservice can be consumed in java but it shud be easy....check online examples and see how its done and the practice........

 

first understand what is SOAP,Why is it a standard?...is it same as xml or not? how serilaization works...

Posted

sample SOAP Request and Response

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /usaddressverification.asmx HTTP/1.1
Host: www.webservicex.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.webservicex.net/VerifyAddress"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <VerifyAddress xmlns="http://www.webservicex.net">
      <City>string</City>
      <State>string</State>
      <Zip>string</Zip>
    </VerifyAddress>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <VerifyAddressResponse xmlns="http://www.webservicex.net">
      <VerifyAddressResult>
        <Address>
          <Rank>int</Rank>
          <Quality>double</Quality>
          <City>string</City>
          <State>string</State>
          <ZipRangeFrom>string</ZipRangeFrom>
          <ZipRangeTo>string</ZipRangeTo>
        </Address>
        <Address>
          <Rank>int</Rank>
          <Quality>double</Quality>
          <City>string</City>
          <State>string</State>
          <ZipRangeFrom>string</ZipRangeFrom>
          <ZipRangeTo>string</ZipRangeTo>
        </Address>
      </VerifyAddressResult>
    </VerifyAddressResponse>
  </soap:Body>
</soap:Envelope>
Posted

Rest is lot easier for learning and implementing.... Soap is complex because of protocol and xml marshaling.....in fact people who knows java servlets already covers 50% of rest concepts.... And web services does not have serialization process instead they use Marshall unmarshalling

these are realtime services which u can use in ur java code to consume and test...there u'll understand what serialization is and how webservices work in real time...REST is quite complex first understand SOAP

×
×
  • Create New...