Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Valid SOAP add request does not work when sent via PHP's cURL extension to SuiteTalk
EDIT: The problem was with another section of the code. There was nothing wrong with the envelope or the cURL settings and everything is now working.
I'm trying to add a SalesOrder record using SuiteTalk by sending a SOAP request using PHP and its cURL extension. (We cannot use NetSuite's PHPToolkit because our web host does not have and cannot install PHP5's SOAP extension.)
Here is the seemingly valid envelope being sent with sensitive information replaced:
[code]
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ns1="urn:sales_2014_2.transactions.webservices.netsuite.com"
I'm trying to add a SalesOrder record using SuiteTalk by sending a SOAP request using PHP and its cURL extension. (We cannot use NetSuite's PHPToolkit because our web host does not have and cannot install PHP5's SOAP extension.)
Here is the seemingly valid envelope being sent with sensitive information replaced:
[code]
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ns1="urn:sales_2014_2.transactions.webservices.netsuite.com"
0