Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

PROBLEM: getNamespaceURI(String prefix) is called with a null prefix

843833Nov 12 2008 — edited Nov 12 2008
Hi,

Using Netbeans 6.0, I created a web service from an existing WSDL - one that came packaged with a COTS product, BTW, so I know it works. The only way I can deploy it is if I remove the annotations that wsimport puts in the code, otherwise I get - during deployment to glassfish:

java.lang.IllegalArgumentException getNamespaceURI(String prefix) is called with a null prefix.

Interestingly enough, I also get this error when I attempt to introspect the WSDL into a client app and invoke. BUT - I do NOT get the error when I use Netbeans/Glassfish's web service tester app. Any ideas?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 10 2008
Added on Nov 12 2008
2 comments
328 views