My Oracle Support Banner

NullPointerException While Invoking WebServices Having Complex WSDL's (WSDL With External XSD References) (Doc ID 876171.1)

Last updated on APRIL 14, 2021

Applies to:

Oracle Service Bus - Version 3.0 and later
Information in this document applies to any platform.

Symptoms

If the webservice wsdl has external references (for eg. Referencing external XSDs), then make a service callout or Route node to that service (through business service) may fail with the below exception trace. Exception trace will get printed only if we enable the transports debug in alsbdebug.xml file.


ERROR
Web service security validation error in proxysvc accessing a wsdl businesssvc
An error occurred during web service security validation: null

When you enable alsbtransport debug, you get the below NullPointerException in the logs.
Caused by: java.lang.NullPointerException
at com.bea.wli.sb.resources.wsdl.WsdlDependencyHelper.getDependencies(WsdlDependencyHelper.java:155)
at com.bea.wli.sb.resources.wsdl.WsdlDependencyHelper.getDependencies(WsdlDependencyHelper.java:150)
at com.bea.wli.sb.resources.wsdl.WsdlDependencyHelper.getWsdlDependencies(WsdlDependencyHelper.java:51)
at com.bea.wli.sb.resources.wsdl.EffectiveWSDLDTD.createEffectiveWSDLForService(EffectiveWSDLDTD.java:508)
............

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.