Hello Jason,

Thanks for your reply. Actually I planning to use a simple DII type client. And 
I've written one - but it is given error.

My StoreXCLient1.java looks as follows:

         URL url =
                 new URL("http://ranaa:8080/storeXws/exactpath/jse?wsdl";);

         QName qname = new QName("urn:qs",
                                 "QueryService");

         ServiceFactory factory = ServiceFactory.newInstance();
         Service        service = factory.createService(url, qname);

         QueryService.ws.QueryData endpoint = (QueryService.ws.QueryData)
             service.getPort(QueryService.ws.QueryData.class);

But I'm getting the following error:

javax.xml.rpc.ServiceException: Error processing WSDL document:
javax.xml.rpc.ServiceException: Error processing WSDL document:
javax.xml.rpc.ServiceException: Cannot find service:  {urn:qs}QueryService
        at org.apache.axis.client.Service.initService(Service.java:239)
        at org.apache.axis.client.Service.(Service.java:154)
        at 
org.apache.axis.client.ServiceFactory.createService(ServiceFactory.java:198)
        at StoreXClient1.main(StoreXClient1.java:91)
---------------------------------------------------------------------

Can you please give a clue what is going wrong? My webservice is up and running 
and I can view the wsdl through the browser.




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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866104


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to