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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Accessing a Soap 1.2 Webservice
I am running Axis2 on my web server and in NetSuite, I wrote my client-side SuiteScript to use the Soap 1.2 namespaces.
Axis2 is saying that my transport level information does not match Soap 1.2. I narrowed it down to the Content-Type header. When I look at the request I get from Netsuite, the content type is set to "text/xml". I know that Netsuite proxies my client-side HTTP calls made by nlapiRequestURL() so it looks like NetSuite is adding the content-type header. I tried setting it to "application/soap+xml" (like Soap 1.2 defines) in my client-side script but I still received "text/xml" on my server. It looks like NetSuite is
0