Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We start by creating the M3 web service. 


Image RemovedImage Added


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

Image RemovedImage Added

Image RemovedImage Added






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


<?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”

...

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

MwsContect MwsContext = services

MwsName = “MPD_MNS410_Create”

...

W1ROLL is M3 field

W1USID is M3 field


Excel sheet:


Close the Excel scheet and run like a normal function.

...