[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-6605) Failed to create web service client for eventing web service

Feng Qian (JIRA) jira-events at lists.jboss.org
Thu Jul 22 11:20:40 EDT 2010


    [ https://jira.jboss.org/browse/JBIDE-6605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12540591#action_12540591 ] 

Feng Qian commented on JBIDE-6605:
----------------------------------

I am not idea for the test error. But when use jbds to generate web service client, Vasile, could you send the detailed error message to me or upload your project or your wsdl file?

Grid

> 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.x, 3.2.x
>         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: Feng Qian
>            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","EventingService"));
>      ....    
>       }
>    }
> 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