Author Message
MaheshKumar123
Joined: Sep 24, 2018
Messages: 19
Offline
Hi,

i am trying to invoke a REST webservice using POST and getting HTTP TRANSPORT, 415 ERROR: UNSUPPORTED MEDIA TYPE error when running the application.
I have tested the service with post man simulator and its working fine. This is the first time i am using REST service in Orchestration designer.

Attached is the snippet of my input parameters. and below is the exception i am getting

09/07/2019 12:34:04:287 INFO - 9DDC60E9820AE832CE10ED8EC781977C:/TestRest : Storing :shareduui___value to complex: shareduui:value as [unknown]
09/07/2019 12:34:04:361 INFO - 9DDC60E9820AE832CE10ED8EC781977C:/TestRest : Starting REST web service operation [CreateProfile]
09/07/2019 12:34:04:924 DEBUG - 9DDC60E9820AE832CE10ED8EC781977C:/TestRest : Collecting [application/json] from:BodiVariables:Accept
09/07/2019 12:34:04:924 DEBUG - 9DDC60E9820AE832CE10ED8EC781977C:/TestRest : Adding HTTP header [Accept: application/json]
09/07/2019 12:34:04:949 DEBUG - 9DDC60E9820AE832CE10ED8EC781977C:/TestRest : Web Service Request -> http://XXX.XXX.XXX.XXX:9084/XXXXX/createProfile?accountNumber=4111111111111111&agency=5&cardType=VISA&city=NJ&company=test&country=USA&etcAccountId=&expirationMonth=12&expirationYear=2020&firstName=John%20&lastName=smith&phoneNumber=9886398900&postalCode=20123&source=IVR&state=NJ&street1=12410%20Milestone%20center%20dr&transactionCategory=OTHER
09/07/2019 12:34:05:531 ERROR - 9DDC60E9820AE832CE10ED8EC781977C:/TestRest : HTTP TRANSPORT, 415 ERROR: UNSUPPORTED MEDIA TYPE
09/07/2019 12:34:05:531 ERROR - 9DDC60E9820AE832CE10ED8EC781977C:/TestRest : EXCEPTION: Transport error: 415 Error: Unsupported Media Type
Filename Rest.xlsx [Disk] Download
MaheshKumar123
Joined: Sep 24, 2018
Messages: 19
Offline
Please ignore this post. i was able to resolve this issue
MarceloQuiroga
Joined: Oct 2, 2014
Messages: 12
Offline
Hi MaheshKumar123
My partner is having the same problem ¿how did you solve it?
We will appreciate your help.
regards
Go to:   
Mobile view