Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

read webservice filename tag & pull the file from file location

$
0
0

Hi,

 

PI system has exposed a web service out of the following structure for the outside party to call

 

<MAT>

<doc type>pdf</doc type

<subnumber>1234</subnumber>

<id>45ABC<id>

<matno>ABCD</matno>

<filename>transaction1.pdf</filename>

</MAT>

 

When the outside party submits a web service request, I have to read the <filename> value (transaction1.pdf) and get the file from the file location which is local and convert the file to byte array.

 

How do I do this in message mapping or java mapping? Any help is greatly appreciated

 

thx

mike


Viewing all articles
Browse latest Browse all 7030

Trending Articles