autopulous / angular2-soap

Angular 2 SOAP client service (supports Angular 2 rc 4)
30 stars 23 forks source link

How can I use this library with angular-cli? #6

Open broweratcognitecdotcom opened 7 years ago

broweratcognitecdotcom commented 7 years ago

System.register(['@angular/core'], function(exports_1, context_1) { ...

This is not supported by webpack. Is there a workaround? Thanks.

broweratcognitecdotcom commented 7 years ago

I made local copies of the required files and changed them to support webpack.

michalmw commented 7 years ago

Can you show your example?

pramodkininge commented 7 years ago

I am also interested in the solution to this problem.

a4amitava commented 7 years ago

Could not find any working example to consume SOAP WSDL from Angular CLI . Please share if any one come across

sinthuvj commented 7 years ago

Can anyone provide an example which demonstrates the way of using this library with angular-cli?

MA-Maddin commented 7 years ago

This is for angular-cli.json:

{
  // ...
  "apps": [
    {
      // ...
      "scripts": [
        "../node_modules/autopulous-angular2-soap/vendor/autopulous-xdom/xdom.js",
        "../node_modules/autopulous-angular2-soap/vendor/autopulous-xdom2jso/xdom2jso.js"
      ],
    }
  ]
}

The "System.register()" problem is SystemJS <> Webpack issue... still needs update of this package.

@broweratcognitecdotcom: can you share your solution?