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.
XSI type in Web Service requests
<p>I am trying to integrate OpenAir with another application using OpenAir's Web Services interface. I am using PHP5-SOAP library to call the Web Service and I ran into the following problem when I call the read operation:</p><p>PHP5 sets xsi:type of method tag to "ArrayOfReadRequest" which is the array type defined in the WSDL. But this request fails and it works only if I use a request that sets xsi:type to the generic array type: "SOAP-ENC:Array".</p><p>IMO, the server should accept the request with xsi:type set to ArrayOfReadRequest.</p><p>Does anyone know why this doesn't work?</p><p>Thanks!</p>
0