Skip to main content
Solved

Sceen based soap api

  • November 14, 2024
  • 5 replies
  • 60 views

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.

View original
Did this topic help you find an answer to your question?

5 replies

Dmitrii Naumov
Acumatica Moderator
Forum|alt.badge.img+7
  • Acumatica Moderator
  • 629 replies
  • November 14, 2024

@pgeanous  May I ask why you are trying with Screen Based SOAP API?

It’s considered outdated and will be removed in some time. 

I’d recommend you to use Contract Based REST API instead.


  • Author
  • Freshman I
  • 4 replies
  • November 14, 2024

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.


Mary06
Freshman II
  • Freshman II
  • 6 replies
  • November 14, 2024

Hi ​@pgeanous ,

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.

Hope it will help you so solve the problem
 


Dmitrii Naumov
Acumatica Moderator
Forum|alt.badge.img+7
  • Acumatica Moderator
  • 629 replies
  • Answer
  • November 14, 2024
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.


  • Author
  • Freshman I
  • 4 replies
  • November 14, 2024

Thanks for the update, the using statements fixed my problem , but I will use the REST api .

 

 

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings