Java interface cannot be generated from WSDL in JBDS SwitchYard tooling
Issue
- We have a simple SwitchYard project. In JBDS SwitchYard tooling, we created a Service using the following WSDL and then tried to use
"Generate Java Interface"to generate the interface to be used by the bean.
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions ...
targetNamespace="http://example.com/MyApplication:myService"
xmlns:tns="http://example.com/MyApplication:myService">
...
- But we got the following error:
Java generation failed.
java.lang.reflect.InvocationTargetException
- If we remove
http://from the namespace the interface can be generated.
Environment
- Red Hat JBoss Fuse Service Works (FSW)
- 6.x
- JBoss Developer Studio (JBDS)
- 7.x
- SwitchYard tooling
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
