Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 82359

SOAP Request Body (Custom Request Template)

$
0
0

I have a complex web service that I am sending data to. (Inserting a Service Call in a ticketing system) I first started with an Export Mapping using the Schema Source as 'Web Service Operation'. This is nice because it returns exactly what the receiving end is expecting. However there are two issues: (1) Due to the complex types, I have to create hundreds of entities when I am only passing a dozen pieces of information and (2) Mendix seems to be requiring more objects than are actually required.  Due to these factors, I was looking at just using a Custom Request Template.

I am using SOAPUI to test my request and the request returns with a success response. However, when I copy/paste this request into the Custom Request Template, I receive an error on the SOAP Response in the Mendix App. 

Caused by: com.mendix.integration.WebserviceException: Received SOAP fault, code: soap:Receiver, reason: Server was unable to process request. ---> Object reference not set to an instance of an object.
    at com.mendix.integration.actions.microflow.WebServiceCallAction.handleSoapFault(WebServiceCallAction.scala:217)

My question is: Should I be able to use the exact same SOAP Request from SOAPUI in the Custom Request Template? (It's just a proof of concept since it is static data. I will eventually update using paramters)

Secondary: Is there a better way that you know of if I am overlooking something?

Thanks in advance,

Jeff


Viewing all articles
Browse latest Browse all 82359

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>