23
Views
4
Comments
Consuming SOAP service input parameter not passed
Question

Hi,

I am consuming a SOAP webservice. One of the input parameters is an order number. But when I pass a value to this input parameter, the webservice returns an error that the order number has not been passed. When I use SoapUI to test the webservice (same WSDL), everything works fine.

Anyone an idea as where to look?

Ramon

2023-09-13 13-47-19
Nuno Magalhães

Can you show the code regarding that input parameter and how it's being used?

2019-11-14 12-29-35
Ramon Pigmans

Yes, of course. This is a screen shot of the consumed SOAP API with the input parameter orderId consisting of sourceSystemOrderId and fomulaCode.

This is a screen shot of the server action calling the API and appending the result to the output parameter.

And these are the input parameters used to call the API. I've used hardcoded values for testing.

2023-09-13 13-47-19
Nuno Magalhães

Have you seen the logs in Service Center? I already had some trouble in the past similar to your case and it might help to check there. Try to do a call of that action and see Errors, Screens and Integrations logs.

Other thing that might help is for you to expose a SOAP action in your module that calls the action you posted, put it on debug mode, and call this temporary action with SoapUI (or Postman).

2019-11-14 12-29-35
Ramon Pigmans

I've checked the logs. The call to the API is succesful but somehow the value of the inputparameter seems to get lost along the way.

I'll try to expose a SOAP action and debug it, thanks.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.