Join Slack
Powered by
<@U373C5U11> N/https module is used for Rest api n...
# general
p
Php
07/01/2019, 11:47 AM
@jmacdonald
N/https module is used for Rest api not for soap. In soap we need to send xml string without putting it in object key.
j
jmacdonald
07/01/2019, 12:03 PM
@Php
I've made SOAP requests by setting a header for application/xml and then getting the XML as a string.
jmacdonald
07/01/2019, 12:04 PM
This will likely be the only way to avoid a CORS issue if you want to make the call from NetSuite.
jmacdonald
07/01/2019, 12:07 PM
This Stack Overflow answer shows the building of the SOAP envelope as a string
https://stackoverflow.com/a/11404133
p
Php
07/01/2019, 12:09 PM
ok let me try that
@jmacdonald
Php
07/01/2019, 12:41 PM
@jmacdonald
thanks alot man. It worked. You solved my big problem.
j
jmacdonald
07/01/2019, 12:44 PM
No problem, glad it worked!
@Php
5
Views
Open in Slack
Previous
Next