Hi, This post on web services but still i want put my SOA query. I am invoking one External SOAP service BPEL on Invoke activity in SOA 12.2.1. Internally its redirect Ex. http://mysoapservices.com:80/fetchmydata/
I discussed with my SOAP service provider he suggested to redirect Ex. https://mysoapservices.com/fetchmydata/
We can achive in Java code as below
((BindingProvider)proxy).getRequestContext().put(
BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
" https://mysoapservices.com/fetchmydata/ ");
I would like to know It can be redirected in SOA 12c on invoke activity without using Java code and even if want want to use java code when Java code will be get called before invoke activity or after invoke activity.
I am looking some best approach please help to get finest solution.
Error i am getting.
<?xml version = '1.0' encoding = 'UTF-8'?>
<RestFaultElement>
<code>301</code>
<summary>oracle.fabric.common.FabricInvocationException: Unable to invoke endpoint URI "http://mysoapservices.com:80/fetchmydata/ " successfully due to: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 301 Moved Permanently from url https://mysoapservices.com/fetchmydata/
===== reqeust ========
SOAPAction:""
Authorization:Basic bWNjb25zdWx0MTpHUE00QXBsbCRXU1BXRA==
Content-Type:text/xml; charset=UTF-8
Content-Length:2210
Regards,
Maroof