I am trying to follow the examples for the screen based soap api services, I am able to generate the wsdl
and insert it in the console app but I have no Screen Class, I cannot do
apitest.Screen context = new apitest.Screen();
I am using VS2022 and there are no errors, but I cannot find this Screen class,
What am I missing?
Best answer by Dmitrii Naumov
pgeanous wrote:
I read that the screen based soap api was still active and the contract soap api was discontinued, but if thats the case I do have the REST api working, but for completeness I was going to do the SOAP.
@pgeanous SOAP screen based API is still active, but not for very long. We just keep it for backward compatibility with existing integrations. I’d not recommend implementing any new integraitons using SOAP API.
I read that the screen based soap api was still active and the contract soap api was discontinued, but if thats the case I do have the REST api working, but for completeness I was going to do the SOAP.
First, make sure you have the necessary references in your project. You should be referencing the Acumatica SOAP API libraries and PX.Objects. The Screen class is typically part of the PX.Objects namespace.
Then check that you've included the correct Using statements at the top of your file. For example: csharp using PX.Objects; using PX.Data;
Also, maybe you need to check if you're targeting the right project type or framework version that supports screen-based interactions. Acumatica provides WSDLs for accessing the data via SOAP but some methods may require you to interact directly with the Acumatica framework.
If nothing helps, double-check that your environment is set up correctly by ensuring that your Acumatica instance is running in the correct mode for external access and that your SOAP service is properly configured.
I read that the screen based soap api was still active and the contract soap api was discontinued, but if thats the case I do have the REST api working, but for completeness I was going to do the SOAP.
@pgeanous SOAP screen based API is still active, but not for very long. We just keep it for backward compatibility with existing integrations. I’d not recommend implementing any new integraitons using SOAP API.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.