Author Message
CarlosVanegas
Joined: Jul 9, 2020
Messages: 11
Offline
I have added a new REST web service operation using the WS operation Editor and both the REST URL and Server/Endpoint URL fields have been correctly filled in. However, at run time the call to the WS fails with a bad formated endpoint URL. the rest of the URL (query) is correct. See sample below. Not sure where this short endpoint is coming from.


REST URL (in WS operations editor)
http://unit.services.companyname.com/api/DEFAULT/AvayaContextStore/contexts/upsert/groupId?rid=restRId&release=restRelease&rules=restRules


Server/Endpoint URL (in WS operations editor)
http://unit.services.companyname.com/api/DEFAULT/AvayaContextStore/contexts/upsert/


Error I get when trying to run this service from a voice application in OD.
17/12/2020 16:36:29:004 ERROR - The system cannot infer the transport information from the Mbrshp/147896325?rid=&release=360&rules=false URL.
***** Saw exception, tracing before report
org.apache.axis2.AxisFault: The system cannot infer the transport information from the Mbrshp/147896325?rid=&release=360&rules=false URL.


Thanks.
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
It looks like this is from the response of the REST web service itself.
CarlosVanegas
Joined: Jul 9, 2020
Messages: 11
Offline
Ah, you are right, I did not realize that. Once I started digging more into the logs, I could see a 400 back from the WS.
Thanks.
Go to:   
Mobile view