How to display data in TableView using swift from WSDL file?

iam new to iOS, i understood generated swift file from the WSDL2SWIFT, in that Soap Action in empty so i can’t understand and i don’t know how to display the details in TABLEVIEW?

so please send me project using my WSDL file i.e
http://wsrep.pilog.in:80/PilogRepositorySAP/RepositorySearchSAP?wsdl

pass the body as follows:

soapenv:Body

  <ser:repositorySearch>

     <request>

        <!--Optional:-->

        <REPOSITORY_REQUEST>

           <!--Zero or more repetitions:-->

           <item>

              <!--Optional:-->

              <COLUMN>Reference_No</COLUMN>

              <!--Optional:-->

              <OPERATOR>Like</OPERATOR>

              <!--Optional:-->

              <VALUE>6044</VALUE>

              <!--Optional:-->

              <DATATYPE>?</DATATYPE> 

           </item>

        </REPOSITORY_REQUEST>

        <!--Optional:-->

        <RECORDSTARTINDEX>?</RECORDSTARTINDEX> 

        <!--Optional:-->

        <RECORDENDINDEX>?</RECORDENDINDEX>

        <!--Optional:-->

        <ORGN_ID>2F57487BE2F6474BE053270110ACD546</ORGN_ID>

        <!--Optional:-->

        <LOCALE>en_US</LOCALE>

     </request>

  </ser:repositorySearch>

</soapenv:Body>

Please help me???

Hi @santhoshios,
It would not be possible for you to get a project (code) written for you.

From what I see, you are trying to parse SOAP which is in XML format, you can use a XML parsing library or use the NSXML class that is available from iOS. You can parse and create a data source that can be used with your tableview.

Cheers,

Jayant

Hi,
iam new to iOS mobile app development, iam already tried whatever you say,yet now i didn’t get,
the question is the data is coming from WSDL file(using soap) so i can we call that web service through our swift programming if we get the data we can easily parse into tableview?
if you know how to get that data from that WSDL file using our swift language…
if you got the data let me inform…
Thank you sir…

Hi @santhoshios,
There are a couple of things you need to do, you can look at the various articles available on this site.

  1. How to download data (https://www.raywenderlich.com/158106/urlsession-tutorial-getting-started)
  2. The parse the XML using a 3rd party or yourself (https://www.raywenderlich.com/553/xml-tutorial-for-ios-how-to-choose-the-best-xml-parser-for-your-iphone-project)
  3. How to use UITableView (https://www.raywenderlich.com/tag/uitableview)

cheers,

Jayant

This topic was automatically closed after 166 days. New replies are no longer allowed.