Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Maarch
MaarchCapture
Commits
0854d086
Verified
Commit
0854d086
authored
Mar 11, 2020
by
Giovannoni Laurent
Browse files
sample for 20.03
parent
19554540
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/MaarchWSClient/samples/MaarchWSClient_standard_sample.xml.default
View file @
0854d086
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<MaarchWSClient>
<!-- REST FRONTAL -->
<WS
name=
"MaarchRestWS"
type=
"REST"
uri=
"http://cchaplin:maarch@127.0.0.1/rest/"
SSL=
"false"
cacheUse=
"0"
/>
...
...
@@ -58,13 +58,13 @@
</call>
<loop
xpath=
"Attachments/Attachment"
>
<call
name=
"/attachments"
method=
"POST"
>
<argument
type=
"entity"
eval=
"base64_encode(file_get_contents($Element->path))"
name=
"encodedFile"
/>
<argument
type=
"entity"
name=
"title"
metadata=
"filename"
/>
<argument
type=
"entity"
name=
"resIdMaster"
xvalue=
"ancestor::Document/Metadata/resId"
/>
<argument
type=
"entity"
name=
"type"
>
incoming_mail_attachment
</argument>
<argument
type=
"entity"
name=
"encodedFile"
eval=
"base64_encode(file_get_contents($Element->path))"
/>
<argument
type=
"entity"
name=
"format"
attribute=
"extension"
/>
<argument
type=
"entity"
name=
"title"
metadata=
"filename"
/>
<return>
<
resI
d
metadata=
"resId"
/>
<
i
d
metadata=
"resId"
/>
</return>
</call>
</loop>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment