Porting SOAPpy for s60 - PowerPoint PPT Presentation

1 / 9
About This Presentation
Title:

Porting SOAPpy for s60

Description:

Name came from the acronym 'Simple Object Access Protocol' ... T tulo completo da palestra. Nome do Autor, t tulo. Nome do projeto. Camila de Ara jo Souto ... – PowerPoint PPT presentation

Number of Views:24
Avg rating:3.0/5.0
Slides: 10
Provided by: hyg
Category:
Tags: palestra | porting | s60 | soappy

less

Transcript and Presenter's Notes

Title: Porting SOAPpy for s60


1
Porting SOAPpy for s60
Pys60 effort
  • Camila de Araújo Souto
  • souto_at_embedded.ufcg.edu.br
  • Diego Márcio Oliveira Bezerra
  • diego_at_embedded.ufcg.edu.br

2
Abstract
  • Objective
  • Web Services
  • SOAP
  • Porting

3
Objective
  • Port SOAPpy for s60
  • Access a Web Service from a mobile
  • Create an application.

4
Web Services
  • Service that communicates client and server
  • Call methods using XML(EXtensible Markup
    Language).

5
SOAP
  • Name came from the acronym Simple Object Access
    Protocol
  • Protocol for exchanging messages over computer
    networks, normally using HTTP(S)
  • Standard Remote Procedure Call (RPC) for Web
    Services
  • The module SOAPpy implements SOAP using Python.

6
Porting
7
Client
  • import SOAPpy
  • calculator SOAPpy.SOAPProxy("http//localhost80
    80/")
  • a 8
  • b 2
  • print calculator.plus(a,b)
  • print calculator.minus(a,b)
  • print calculator.multiply(a,b)
  • print calculator.divide(a,b)

8
Server
  • import SOAPpy
  • class Calculator
  • def plus(self, a, b)
  • return ab
  • def minus(self, a, b)
  • return a-b
  • def multiply(self, a, b)
  • return ab
  • def divide(self, a, b)
  • return a/b
  • server SOAPpy.SOAPServer(("localhost", 8080))
  • print "Serving..."

9
Camila de Araújo Souto souto_at_embedded.ufcg.edu.br
Diego Márcio Oliveira Bezerra diego_at_embedded.ufcg.
edu.br
Write a Comment
User Comments (0)
About PowerShow.com