[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-6605) Failed to create web service client for eventing web service
Vasile Marita (JIRA)
jira-events at lists.jboss.org
Tue Jul 13 06:58:59 EDT 2010
Failed to create web service client for eventing web service
------------------------------------------------------------
Key: JBIDE-6605
URL: https://jira.jboss.org/browse/JBIDE-6605
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Webservices
Affects Versions: 3.1.2
Environment: Windows 7 (64 bit), jboss-5.1.0.GA, jdk.1.5.0_12, JBDS 2.1.0.GA, eventing samples from jbossws-native-3.1.2.GA-src
Reporter: Vasile Marita
Assignee: Brian Fitzpatrick
Priority: Blocker
I tried to setup the saples fro ws-eventing of JBossWS, I managed to compile an deploy the sample under JBoss AS, however when I try to run the unit tests they fail on the line trying to instantiate the webservice client:
in file EventingSupport.java
protected void setUp() throws Exception
{
...
Service service = Service.create(wsdlLocation, new QName("http://schemas.xmlsoap.org/ws/2004/08/eventing","EventSource"));
....
}
}
with stack trace
java.lang.NullPointerException
at com.sun.xml.ws.model.wsdl.WSDLOperationImpl.freez(WSDLOperationImpl.java:147)
at com.sun.xml.ws.model.wsdl.WSDLPortTypeImpl.freeze(WSDLPortTypeImpl.java:91)
at com.sun.xml.ws.model.wsdl.WSDLBoundPortTypeImpl.freeze(WSDLBoundPortTypeImpl.java:215)
at com.sun.xml.ws.model.wsdl.WSDLModelImpl.freeze(WSDLModelImpl.java:241)
at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:147)
at com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:263)
at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:226)
at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:174)
at com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:104)
at javax.xml.ws.Service.<init>(Service.java:79)
at javax.xml.ws.Service.create(Service.java:96)
at org.jboss.test.ws.jaxws.wseventing.EventingSupport.setUp(EventingSupport.java:98)
at junit.framework.TestCase.runBare(TestCase.java:132)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
....
The wsdlLocation points to a corect wsdl whcih will load if tried from the browser directly, also I managed to add this wsdl as a reference in a .Net project
I tried also to create a webservice client in JBDS by using File / New / web Service Client wizard, that one also fails to do the job to the end.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list