PROBLEM:
The adapter failed to transmit message going to send port "Baliw.Moodlerooms.Orchestrations_1.0.0.0_Baliw.Moodlerooms.Orchestrations.MRooms_Step05_GwUpdateMoodleroomsRecords_Send_core_user_get_users_REST_Port_09f60f0ba54e5da0" with URL "https://baliw-sandbox.mrooms.net/webservice/rest/server.php?wstoken=OUR_TOKEN&wsfunction=core_user_get_users&moodlewsrestformat=xml&criteria[0][key]=email&criteria[0][value]=araguiam@yahoo.com". It will be retransmitted after the retry interval specified for this Send Port. Details:"System.Net.ProtocolViolationException: Cannot send a content-body with this verb-type.
RESOLUTION:
Apply Custome Pipeline on Send Port
public IBaseMessage Execute(IPipelineContext pContext, IBaseMessage pInMsg)
{
MemoryStream output = new MemoryStream();
output.Position = 0;
pInMsg.BodyPart.Data = output;
return pInMsg;
}
Comments
Post a Comment