# axCall

## Description

Axcall is the general purpose AX.25, NET/ROM and Rose connection program.

## Input / Parameters

| No | Name      | Description                                                               | Data Type | Required |
| -- | --------- | ------------------------------------------------------------------------- | --------- | -------- |
| 1  | connector | Name of connector and created in the Services and Global Components page. | String    | Yes      |
| 2  | ent       | The Web Service name to be called.                                        | String    | Yes      |
| 3  | data      | This contains the parameter in the function being called.                 | Object    | Yes      |

## Output

## Callback

## Video

## Example

The user wants to call the axCall Web Service.

### Step

1. Create AX Connector in Services and define the name, url, user, password and timeOut.\
   Name: axConnector\
   url: <http://203.116.137.100:8109/MicrosoftDynamicsAXAif60/ABJCustSelfOrderingServices/xppservice.svc?wsdl\\>
   ( Please refer to the picture below, there is a example of main web service.We have take one of the operation as an example to apply for this function.)\
   user: contoso\administrator\
   password: \*\*\*\*\*\*\*\*\
   timeOut: 30000

   ![](https://399701567-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwmJ1RKjM2uNFaL6fO3Xu%2Fuploads%2Fgit-blob-78e2dd6bec73ab49c2b4230917220dde956e78a0%2FaxCall-step-1.png?alt=media)
2. Call the function "axCall" and define the connector & ent, set the function "toObject"to data.\
   connector: axConnector\
   ent: validateCustLogin\
   data: toObject<br>

   ![](https://399701567-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwmJ1RKjM2uNFaL6fO3Xu%2Fuploads%2Fgit-blob-f00c0f67bddcdd036480bd837922d726f5599dbc%2FaxCall-step-2.png?alt=media)
3. Define toObject.\
   \_companyId: USMF\
   \_accountNum: SG-001\
   \_password: 1234<br>

   ![](https://399701567-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwmJ1RKjM2uNFaL6fO3Xu%2Fuploads%2Fgit-blob-81f3132be7f87fe3d79fa63f680ab578b8e94cec%2FaxCall-step-3.png?alt=media)
4. Add a console after callback function for display response from console.

   ![](https://399701567-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwmJ1RKjM2uNFaL6fO3Xu%2Fuploads%2Fgit-blob-e310f5b554c55b7aef35ecdbdffc3745410a9381%2FaxCall-step-4.png?alt=media)

### Result

![](https://399701567-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwmJ1RKjM2uNFaL6fO3Xu%2Fuploads%2Fgit-blob-f70279e7ef55a8f1375cc3bb099b403b3aa7e02d%2FaxCall-result-1.png?alt=media)

## Links
