Add CORS to SOAP service with Ionic

0

is to make a query. I have a SOAP service to which I need to implement CORS to later consume this service from a mobile app on Ionic, but I do not know where to start or how to do it correctly. I know that the implementation of these in my Service are done in the web.xml file but I do not know where to start and the same in my Ionic app. Any advice or how could I start?

    
asked by Maikol Rico Perez 07.11.2018 в 23:06
source

1 answer

1

It is not necessary that you implement anything from CORS on the web service because Ionic does not do this validation when executing the code on a mobile device. Now, surely you will do it mostly by testing from a browser and not from the mobile, which is why, surely, if you fail to use the service for the CORS issue, I recommend you look for a plugin for the browser that allows you to skip the CORS validation. and focus on your development and not on the CORS issue

    
answered by 08.11.2018 в 04:14