My Oracle Support Banner

"java.io.FileNotFoundException" Invoking a Webservice Defined with More than One Binding (Doc ID 883798.1)

Last updated on NOVEMBER 13, 2023

Applies to:

Oracle Business Process Management Suite - Version 10.3.1 and later
Information in this document applies to any platform.

Symptoms

A WebService is defined with more than one binding in the WSDL, for example :

<wsdl:portType name="XXXServicePortType">
<wsdl:operation name="myWebService">
...

<wsdl:binding name="XXXServiceSoap11Binding" type="ns:XXXServicePortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="document" />
<wsdl:operation name="myWebService">
<soap:operation soapAction="urn:myWebService"
style="document" />

...

<wsdl:binding name="XXXServiceHttpBinding" type="ns:XXXServicePortType">
<http:binding verb="POST" />
<wsdl:operation name="myWebService">
<http:operation location="XXXService/myWebService" />


The Web Service is deployed in soapUI tool and will be invoked from a process in OBPM Studio.
The WSDL is properly introspected in OBPM Studio, but when trying to connect, an exception similar to this one occurs :


...
Caused by: java.io.FileNotFoundException:
http://HOST:PORT/xxx/services/xxxService.XXXServiceHttpEndpoint/xxxService/anyWebService
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at fuego.soaptype.HTTPCall.invoke(HTTPCall.java:175)
at fuego.soaptype.HTTPObject.invokeImpl(HTTPObject.java:183)
at fuego.lang.Invokeable.invokeDynamic(Invokeable.java:188)
at BUPServiceTest.Proceso.Default_1_0.Instance.CIL_invocaBUP(Instance.xcdl:9)
at BUPServiceTest.Proceso.Default_1_0.Instance.CIL_invocaBUP(Instance.xcdl)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at fuego.component.ExecutionThreadContext.invokeMethod(ExecutionThreadContext.java:512)
... 35 more



Steps To Reproduce:

  1. Open a project with Studio
  2.  Introspect the WSDL
  3. Try to hit the web service


Business Impact:
OBPM Studio is unable to communicate with the web service.

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.