I'm testing some of the examples in the SOAP docum...
# suitetalkapi
n
I'm testing some of the examples in the SOAP documentation and keep getting this error. "operation description is missing parameter description!" Any suggestions? I'm copying and pasting the request verbatum in postman and just changing the ID to match a record in my sandbox.
b
SOAPAction header
n
Thanks for the quick reply. This request works fine
but when I add in the search from the documentation it fails.
So I didnt think it was the SOAPAction. Do you know if there is a different SOAPAction if you want to want to filter a savedsearch?
b
your columns's parent is not the searchRecord
n
thanks for your help. Do you know what the parent should be? I was following this example in the help center where Criteria and Column's parent are SearchRecord.
Really all I need to do is find one record at a time and practically pulling my hair out trying to find any workable example in the hundreds of pages of documentation. Going crazy, so I appreciate your help 🙂
message has been deleted
b
the examples are correct, your xml is wrong
take a closer look at the examples end tag for the searchRecord
compare it to yours
the criteria and columns should be children of searchRecord, yours is not
yours are children of the search element
n
I see. Yeah, I tweaked that while I was getting this message "org.xml.sax.SAXException: Expected {urn:relationships_2019_2.lists.webservices.netsuite.com}criteria, found {urn:messages_2019_2.platform.webservices.netsuite.com}criteria</faultstring>"
Thanks for your help. Back to figuring that one out.
b
wrong namespace basically
if you insist on generating soap documents by hand, then you should specify as few namespaces as possible
the webservices already knows what types the elements should be
you can only get it wrong
the only time you should specify the namespace are for the abstract types like the searchRecord
n
thanks for your help.
I (kinda) got it working still trying to find out why my anyOf search for internal ID shows no records even though the ID shows without criteria. But thank you, once again!