My Oracle Support Banner

Illegalargumentexception Creating a Web Service Proxy from a WSDL Without Namespace Prefixes (Doc ID 1252785.1)

Last updated on FEBRUARY 13, 2024

Applies to:

Web Services - Version 10.1.3.0.0 to 10.1.3.5
Web Services - Version 11.1.1.0.0 to 11.1.1.2.0
Information in this document applies to any platform.

Symptoms

An IllegalArgumentException is thrown when generating a Web Service Proxy from a WSDL that does not use namespace prefixes.

Without namespace prefixes:
<address location="http://<HOSTNAME>:<PORT>/WSHelloWorld/WSHelloWorld"/>

With namespace prefixes:
<soap:address location="http://<HOSTNAME>:<PORT>/WSHelloWorld/WSHelloWorld"/> 


Typical Error stack: 

Changes

 

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
Changes
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.