Giter Site home page Giter Site logo

andrewjbateman / ionic-angular-soap Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 1.41 MB

:clipboard: App to show SOAP API data using the Simple Object Access Protocol (SOAP) messaging protocol over HTTP. Don't update to ng14

JavaScript 8.67% TypeScript 53.03% HTML 6.67% SCSS 31.63%
soap-client soap-web-services soap ionic angular rxjs rxjs7 ionic6 angular13 typescript

ionic-angular-soap's Introduction

โšก Ionic Angular SOAP

  • Ionic-Angular app that displays data about countries from a SOAP API
  • Data fetched using the SOAP web services, instead of Representational State Transfer (REST), over HTTP
  • Tutorial Code from Simon Grimm - see ๐Ÿ‘ Inspiration below
  • Note: to open web links in a new window use: ctrl+click on link

GitHub repo size GitHub pull requests GitHub Repo stars GitHub last commit

๐Ÿ“„ Table of contents

๐Ÿ“š General info

  • SOAP uses eXtensible Markup Language (XML)
  • The SOAP API data is from the DataFlex Web Service - no API key needed
  • ngx-soap requires a list of dependencies, including browser buffer module, concat-stream to collect all the data from a stream into a single buffer, core-js modular standard library, crypto-js library of crypto standards, events event emitter, lodash library, sax sax-style parser for XML and HTML, stream for Node.js streams in the browser & uuid for creation of RFC4122 UUIDs. This creates a huge vendor build bundle (5.29MB) - see source-map image
  • source-map-explorer installed globally and used to generate Source-map
  • Postman List of SOAP APIs
  • This file was copied into assets/CountryInfoServices.xml as the WSDL document
  • SOAP does not have to be used with HTTP although in this app it is

๐Ÿ“ท Screenshots

Ionic page Ionic page

๐Ÿ“ถ Technologies

๐Ÿ’พ Setup

  • Run npm i to install dependencies
  • Run ionic serve to start the server on localhost://8100
  • Run npm run lint to lint entire app. No linting errors
  • Run npm run build to create a build file
  • Run npm run build --prod to create a build file with named chunks and a source map
  • Run source-map-explorer www/main*.js to view source map

๐Ÿ’ป Code Examples

  • data.service.ts creating a SOAP client
constructor(private soap: NgxSoapService) {
  this.soap.createClient('./assets/CountryInfoService.xml').then((client) => {
    this.client = client;
    this.clientReady.next(true);
  });
}

๐Ÿ†’ Features

  • SOAP is highly standardized, allows for automation in certain cases, and is more secure
  • ACID stands for Atomicity, Consistency, Isolation, and Durability, an enterprise-grade transaction quality and one of the reasons why SOAP is still used when exchanging sensitive information in enterprise architectures.
  • SOAP APIs almost always use a WSDL document.
  • SOAP supports stateful and stateless operations.
  • XML response messages can include an error code and its explanation.

๐Ÿ“‹ Status & To-do list

  • Status: Working
  • To-do: Nothing.

๐Ÿ‘ Inspiration

๐Ÿ“ License

  • N/A

โœ‰๏ธ Contact

ionic-angular-soap's People

Contributors

andrewjbateman avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

ionic-angular-soap's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.