To Generate the WSDL File of the Web Services
The WSDL description of the MYOB Acumatica screen-based web services API contains the descriptions of the API objects and methods that you can use to access MYOB Acumatica forms.
For example, suppose that you have generated a WSDL description of the web service
that contains the definition of the CustomerID
property, which
corresponds to the Customer ID element on the Customers (AR303000) form. Further,
suppose that you changed the name of the Customer ID element
to Customer Identifier in a customization project. To access
the Customer Identifier element on the form through the
screen-based web services API, you need to regenerate the WSDL description so that
it contains the definition of the CustomerIdentifier
property
(which corresponds to the Customer Identifier element) and
update your application accordingly.
NUMBER
instead of the #
symbol, and
PERCENT
instead of the %
symbol.You can generate the WSDL file of an MYOB Acumatica web service in one of the following ways.
To Generate a WSDL File for One MYOB Acumatica Form
If your application needs to work with only one MYOB Acumatica form, you can generate the web service that provides access to only this form.
To generate a WSDL file for a form, on the title bar of this form, click http(s)://<ApplicationPath>/Soap/<FormID>.asmx
. In this
URL, <ApplicationPath>
is replaced with the actual URL of your
application, and <FormID>
is replaced with the ID of the form.
For example, suppose that you generated a web service for the Customers form of the WebServiceAPITest
application, which is accessed under a secure connection and is running on a local
computer. The URL of this service is
https://localhost/WebServiceAPITest/Soap/AR303000.asmx
.
To Generate a WSDL File for Multiple MYOB Acumatica Forms
If your application needs to work with multiple MYOB Acumatica forms, you can generate one web service that provides access to all needed forms.
- Type the ID of the web service in the Service ID box of the Summary area of the form. This ID will be used in the URL of the generated service.
- Select the MYOB Acumatica forms that your application needs to use on the left pane of the form, and click Add to Grid for each form.
- Select the types of integration these forms should provide (which can include importing data, exporting data, and submitting data) by selecting the appropriate check boxes (any combination of Import, Export, or Submit) for corresponding rows on the right pane of the form.
- Click Generate.
http(s)://<ApplicationPath>/Soap/<ServiceID>.asmx
. In
this URL, <ApplicationPath>
is replaced with the actual URL of
your application, and <ServiceID>
is replaced with the ID of the
service that you specified in the Service ID box when
configuring the service. For example, suppose that you generated a web service for
multiple forms with the MYSTORE service ID for the
WebServiceAPITest application, which is accessed under a secure
connection and is running on a local computer. The URL of this service is
https://localhost/WebServiceAPITest/Soap/MYSTORE.asmx
.