cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove Doc Type in incoming message

Former Member
0 Kudos
89

Hi all,

I have a scenario Websevice -> XI > RFC. The incoming message has document type declaration which needs to be removed. Somebody directed me to note number 812966.

I could understand that i need to capture the incoming message and remove the document type but i don't know how to do that.

I amd new to this type where Java program needs to be invoked. Does i require UFD needs to be created? If yes, what should be the input. If XML message is the input, how to capture that, means which input parameter contains that and to which, it should be passed back.

Can any body please suggest the steps.

Any help will really appriciated.

Thanks and best regards,

Kulwant

View Entire Topic
former_member192295
Active Contributor
0 Kudos

Hi,

If source is flat file through FCC mechanism we can remove document type field , if source file is xml format in graphical mapping don't map document type value to target structure.

I hope this will work

Former Member
0 Kudos

Hi Nallam,

Can you please explain what is FCC mechanism?. Its xml file and i haven't mapped that. But still it comes from source as the xsd provided to us generates that.

Kulwant

sbhutani1
Contributor
0 Kudos

Have you solved this problem? I am also facing the same problem in PI 7.1

Any Idea of how to implement this note? Where exactly we need to write this code?

Former Member
0 Kudos

Hi,

Yes i could do that using XSLT mappings. It worked.

Thanks,

-Kulwant

sbhutani1
Contributor
0 Kudos

Hi Kulwant,

Could you pls explain how you have done that in xslt? Have you used any tool for xslt mapping?

I am using Altova mapforce for doing xslt mapping but when i load my xml file (source) in this tool, It gives me error that it could not load dtd file which is mentioned in doctype node.

Any idea?

Regards

Sumit