Create SOAP service to modify sales order status

I am trying to create a web service to enable a third party to call this service to achieve the function of modifying the status of the sales order. Through investigation, I found that OData cannot implement this function. It seems that it can be implemented using SOAP, but I don’t know how to implement this function through SOAP. , Who can help me, or have better suggestions

What exactly do you mean by changing the status?

If you, for example, mean changing the status from Open order to Invoiced, it’s not just about changing the field. You need to actually post an invoice journal. There already is a custom service for this purpose (unfortunately I don’t remember its name, but I think you’ll be able to find it if you look at the Services node in AOT).

If that’s what you want, check out FormLetterService.postSalesOrderInvoice().

I want to change from Open order to Canceled