Integrated SOA Gateway - Configuring / Invoking An SOA Webservice In An Existing Or Cloned R12 Server Fails With Error 'javax.xml.soap.SOAPException java.security.PrivilegedActionException javax.xml.soap.SOAPException send failed: For input string'

(Doc ID 1467361.1)

Last updated on JANUARY 12, 2017

Applies to:

Oracle E-Business Suite Integrated SOA Gateway - Version 12.1.3 to 12.1.3 [Release 12.1]
Oracle Workflow - Version 12.1.3 to 12.1.3 [Release 12.1]
Information in this document applies to any platform.

Symptoms

Using Oracle Applications 12.1.3,
Workflow Administrator Web Application Event to use Action Type - Invoke Web Services fails
with the following error:

Exception occured in Java Raise - Exception when Invoking Web Service -> oracle.apps.fnd.wf.bes.InvokerException: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: For input string: ""


Error Stack Diagnostics Shows:

[647]:PROCEDURE:[fnd.wf.apps.WorkflowContext]:oracle.apps.fnd.wf.apps.WorkflowContext.getFNDGlobal(): BEGIN
[647]:PROCEDURE:[fnd.wf.apps.WorkflowContext]:oracle.apps.fnd.wf.apps.WorkflowContext.getFNDGlobal(): END
[647]:ERROR:[fnd.wf.bes.WebServiceInvokerSubscription.onBusinessEvent()]:Unexpected exception when invoking service - oracle.apps.fnd.wf.bes.InvokerException: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: For input string: ""
at oracle.apps.fnd.wf.bes.WebServiceInvokerSubscription.invokeService(WebServiceInvokerSubscription.java:645)


STEPS
---------
1. In Workflow Administrator Web Application Responsibility > Workflow Administrator > Business Event.
2. Created a New Business Event.
3. Used the following specification for the Event:

Triggering Event
--------------------
Source Type : Local, Event Filter : Test

Execution Condtion:
---------------------
Phase : 99,
Status : Enabled
Rule Data : Message


Action Type
--------------------------
Action Type: Invoke Web Service "Invoke Web Service from BES Subscription"
On Error : Stop and Rollback
NEXT

Select a WSDL Source
----------------------
Enter the URL of the WSDL to consume in the Business Event Subscription:
WSDL URL = https://<hostname.domain.com>:80/icw/config-wxys3/services/ValidateConfigs?WSDL

Select the Service Name : Config_Services_internal (came default), selected the Service Port: http://<hostname.domain.com>:80/icw/config-wxys3/services/ValidateConfigs

Service Operation:
ValidateConfigsHandler Config_Services_Internal_icw_config-wxys3_services_ValidateConfigs REQUEST_RESPONSE,1

Java Rule Function:

com.oracle.xxgco.wf.bes.XXGCOWebServiceInvokerSubscription

This is a custom class with only the prInvokeService and postInvokeService overwritten to send a custom generated payload and process it later.

When trying test it from a Business Event raised in java, getting the error:

Exception occured in Java Raise - Exception when Invoking Web Service -> oracle.apps.fnd.wf.bes.InvokerException: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: For input string: ""

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms