How to set up VXL to run with M3 web services:

From Version 2018.01.08 you can run Web Services in VXL.

M3 Web Services:

We start by creating the M3 web service.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/846e1c23-f199-418b-b20a-b0d6cc6557a4/2.png

In this case we want to create a connection in MNS410 between a role and a user.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/66f35139-1576-465a-a527-fcc2989db362/4.png

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/460a2b16-1ae3-45b7-bb3f-d4e8a4590dcd/3.png

In VXL you want to call this web service through the following XML script:

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/26fcba77-a6ee-4acc-becd-6324ce19c017/5.png

<?xml version="1.0" encoding="utf-8"?> <VinceExcelConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="VinceExcelConfig.xsd"> <Import InputStartRow="3">  <ImportDetail>   <M3Api Program="MPD_MNS410_Create" Transaction="Create"             MwsUrl="https://m3tst.hoganas.int:22102/mws-ws/"             MwsNamespace="http://your.company.net/MPD_MNS410_Create"             MwsContext="services"             MwsName="MPD_MNS410_Create"             MwsMethod="Create"             MwsType="MPD">               <InputField Name="Role" Value="*A"/>               <InputField Name="User" Value="*B"/>            <MwsProgram MwsPgmName="MNS410">         <Param MwsField="W1ROLL" Alias="Role"/>         <Param MwsField="W1USID" Alias="User"/>   </MwsProgram>   </M3Api>   </ImportDetail> </Import> </VinceExcelConfig>

Explanations:

Program =” MPD_MNS410_Create”

Transaction = “Create”

MwsUrl = “https://secb103.work.lantmannen.lan:22302/mws-ws/

MwsNameSpace = “http://your.company.net/MPD_MNS410_Create

MwsContext = services

MwsName = “MPD_MNS410_Create”

MwsMethod = “Create”

MwsType = “MPD