Dear All

I publish my webserivce wsdl on my localhost successfully

Then i wrote a testclient(following JAVAEE tutorial)
but i could not get  HelloServiceBeanService instance via @WebServiceRef
I always get nullpoint exception when i try to use service.

Anyone can give me some hints on it?
Thanks and Rgds


import javax.xml.ws.WebServiceRef;
import webservice.test.*;
public class HelloClient {
    
@WebServiceRef(wsdlLocation="http://localhost:8080/helloservice/HelloServiceBean?wsdl";)
    HelloServiceBeanService service;
    public static void main(String[] args) {
        try {
            HelloClient client = new HelloClient();
            client.doTest(args);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989216#3989216

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989216
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to