cancel
Showing results for 
Search instead for 
Did you mean: 

Values not reflecting in the output payload in SPROXY on testing

former_member188885
Active Participant
0 Kudos

Hi Experts,

I am trying to test a inbound proxy here in SPROXY transaction for a synchronous scenario. I tried to check in debugging mode if the values are reflecting in the output field and yes... it is. But on excuting the proxy, the output payload does not have any values in it. Can anyone help me with this?

Lavanya R

Accepted Solutions (1)

Accepted Solutions (1)

former_member188885
Active Participant
0 Kudos

Thank you for yoru replies. Some coding was missing. It is resolved now.

Answers (3)

Answers (3)

sumesh_k2
Participant
0 Kudos

Hi,

Generally an inbound synchronous proxy call mechanism is pretty straight forward as you need to fetch values from Proxy INPUT structure (then do some processing in SAP) and Return values in Proxy OUTPUT structure. The proxy framework does the call handling and XML-ABAP conversions.

But problems could be if we are not passing the values properly to the Proxy output in our code.

Kind Regards,

Sumesh K.

Former Member
0 Kudos

Hi,

Just some pointers, as not much can be derived from your post.

Have a look at your proxy structure's namespaces against the WSDL or the Service definitions (dependant on outside-in or inside-out development).

1. Make sure the subnode namespaces are properly prefixed with the namespace URI. For subnodes that does not carry a namespace tag, your might need to explicitly mention as undefined (form=undefined). This is not good xml practice but hey.. .

2. Check your proxy definition, and may need to regenerate.

Kind regards,

Kapila

Former Member
0 Kudos

Hi Lavanya,

Did you initiate a COMMIT after testing?

Best Regards

Harald

former_member188885
Active Participant
0 Kudos

Hi Harald,

I tried this... Still no luck

Former Member
0 Kudos

Can you provide some more details? When you are talking about the output payload do you mean the response of the server proxy since it is synchronous? Are all fields mapped properly in the proxy to the response message?