cancel
Showing results for 
Search instead for 
Did you mean: 

How to insert XML message directly in the pipeline?

Former Member
0 Kudos

Hi everybody,

I have the following scenario:

File => PI => Idoc.

In QA PI reads the file from a file server which I don't have access. The Communication channel converts the File to XML format, then it is mapped to IDoc format.

The problem is that I want to do some test in my development system, but I don't have the original file. Howevery, I have the XML that is converted from this file. Is it any way to do this? I mean insert the XML in the pipeline?

I read this in a tutorial:

"You can also post a simple XML message by using any dummy WSDL.

Just import a dummy WSDL and copy-paste an XML message you want to send to a target location.

An XML message can be posted into XI, using the following URL:

http://<hostnameORipaddress:<ICMport>/sap/xi/adapter_plain?bs=<service>&namespace=<namespace>&interf...;

But it didn't work...(I used Visual Web Server Client)

It it possible to bypass the adapter?

Thank you very much for the answear!

Best regards,

Pablo Colangelo

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

i am not sure how you did it, but there is another way, that is using NFS in the file adapter, as you don't have access to FTP server, you can configure your File Sender Adapter to NFS instead of FTP,.

create a directory in the PI server with read, write and delete access.

give the source directory as your PI server directory where you want to put the file.

XI will pick the file and process it.

Regards,

Karna...

Former Member
0 Kudos

Looks like an interesting idea...I'll try..

thanks!

prateek
Active Contributor
0 Kudos

You may use Runtime Workbench -> Component Monitoring -> Test Message. Copy your payload here directly and send the message.

Regards,

Prateek

Former Member
0 Kudos

That's exactly what I was looking for! Thanks.

Answers (0)