View previous topic :: View next topic
|
Author |
Message |
Kevin Dcosta
New User
Joined: 01 Jan 2008 Posts: 35 Location: Hyderabad
|
|
|
|
I would like to view the soap message(xml format) which is being generated by CICS. is there a way to achieve this.
Thanks,
Kevin |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Suggest you clarify "generated by CICS".
What is running (in CICS) that generates the xml? It is probably not cics itself, but rather some code running there.
You could talk with the cics support prople and learn what tool(s) might be avaliable for debugging and explain that you want to see the generated xml. |
|
Back to top |
|
|
Kevin Dcosta
New User
Joined: 01 Jan 2008 Posts: 35 Location: Hyderabad
|
|
|
|
My CICS modules are the service provider, so the response is provided to the requester as the soap message i.e xml form. You are right i need to look for the application that is generating xml. Can the CEDX transaction be of any help in this ? |
|
Back to top |
|
|
MBabu
Active User
Joined: 03 Aug 2008 Posts: 400 Location: Mumbai
|
|
|
|
Yes, if you find the message handler that converts the commarea to a SOAP message, CEDX can help. If the handler returns the message to CICS via a commarea you can look at the commarea with CEDX. I suspect that the handler can also use a container and I'm not sure how to look at that (never done it) but I'd guess it isn't too hard.
I may not have the terminology right here. I haven't done this or looked at how it all goes together in a couple of years. |
|
Back to top |
|
|
Kevin Dcosta
New User
Joined: 01 Jan 2008 Posts: 35 Location: Hyderabad
|
|
|
|
i am unable to find the message handler, i also tried looking at the containers but was not of any help, i guess i do not know the way to look at the container, i would also require a channel to view a container. |
|
Back to top |
|
|
f_caballero
New User
Joined: 11 Mar 2010 Posts: 5 Location: Spain
|
|
|
|
Hi Kevin, try to insert this code into your pipeline config file:
</service> <<== reference of the previous section
code to insert:
<default_transport_handler_list>
<handler>
<program>YOURPGM</program>
<handler_parameter_list/>
</handler>
</default_transport_handler_list>
"YOURPGM" is the name of your program to execute display of the containers contents.
Your response message for the requester must be into the DFHRESPONSE container.
So, your "YOURPGM" program must read this container and then display the data.
You can see the displayed records in CICS OUT DD: CEEMSG
I am sorry for my bad English.
Regards. |
|
Back to top |
|
|
|