B4A Library Soap is easier with Soap Class

Discussion in 'Additional libraries, classes and official updates' started by omidaghakhani1368, Jul 13, 2015.

  1. omidaghakhani1368

    omidaghakhani1368 Well-Known Member Licensed User

    Hi.
    I wrote a project that had web service(soap) with php
    In basic4android we don't have library or class for use soap easily
    We should be use XML and post it to web service body
    finally i decide to create class for use web service easily
    In this class you enter web service URL and method name and add all fields with type and value
    and send request to web service
    Then web service return result in "return tag" and in end my class parse result of web service and return result without any extra tag of web service

    i attach class and example.
    maybe this example and class don't be complete
    i be happy if you complete it
     

    Attached Files:

  2. imbault

    imbault Well-Known Member Licensed User

    Hi, thanks for sharing, it seems pretty interesting.
     
  3. Carlos Pizzi

    Carlos Pizzi Member Licensed User

    Thank you very much for sharing your development
     
  4. omidaghakhani1368

    omidaghakhani1368 Well-Known Member Licensed User

    You're welcome my friends
     
    gdeppi likes this.
  5. ArminKH

    ArminKH Well-Known Member

    Good luck omid
     
  6. omidaghakhani1368

    omidaghakhani1368 Well-Known Member Licensed User

    Thanks Armin
     
  7. jinyistudio

    jinyistudio Active Member Licensed User

    May i use this in B4J ?
     
  8. peacemaker

    peacemaker Well-Known Member Licensed User

    Code:
    Public TYPE_DOUBLE   As String = "xsd:dobule"
    is it misprinted ? must be fixed ?
     
    DonManfred likes this.
  9. imbault

    imbault Well-Known Member Licensed User

    You are right :
    Code:
    Public TYPE_DOUBLE   As String = "xsd:double"
     
  10. nidpea04

    nidpea04 Member Licensed User

    Pls create full example for web service(soap)
     
  11. Zeev Goldstein

    Zeev Goldstein Active Member Licensed User

    thanks guys...

    ayone have full soap working example ?
     
  12. Erel

    Erel Administrator Staff Member Licensed User

  13. Zeev Goldstein

    Zeev Goldstein Active Member Licensed User

    wow, thank you VERY much
    now i will go for some learning time :)
    thanks again!
     
    victormedranop likes this.
  14. victormedranop

    victormedranop Active Member Licensed User

    You save my life. thanks
     
  15. victormedranop

    victormedranop Active Member Licensed User

    how can you manage the cookie? I can connect with your class, but next reuest error. httpjob delete de cookies on request.
     
Loading...