You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Lior Graf <li...@cellpay.biz> on 2002/11/03 16:57:30 UTC

Trying to run a webservice under WSTK3.2

> Hi,
> 
> i am using windows 2000, WSTK3.2 environment, with Tomcat 4.0.4.
> i created a class that i want to use as a webservice, created the
> appropriate wsdl files using the java2wsdl utility, and deployed the files
> to the AXIS server using the admin commnad.
> 
> when trying to run the client, using the following code:
> 
> QName serviceQN = new QName("http://" + LXTrx,
> "LastXTrxtWebServiceWrapperService" );
> QName portQN    = new QName("http://" + LXTrx, "LastXTrx");
> Service service = new Service(new URL(wsdlURL), serviceQN );
> 
> i get the following exception:
> 
> javax.xml.rpc.ServiceException: Error processing WSDL document:  
> javax.xml.rpc.ServiceException: Error processing WSDL document:  
> javax.xml.rpc.ServiceException: Cannot find service:
> {http://LastXTrx}LastXTrxtWebServiceWrapperService
> 	at org.apache.axis.client.Service.initService(Service.java:267)
> 	at org.apache.axis.client.Service.<init>(Service.java:192)
> 	at LastXTrxClient.execute(LastXTrxClient.java:56)
> 	at LastXTrxClient.main(LastXTrxClient.java:45)
> 
> 
> any ideas? why i cant's seem to locatethe service? why is there problem
> processing the WSDL document?
> 
> thx,
> 
> Lior Graf
> Cellpay ltd
> e-mail:  lior.graf@cellpay.biz
> phone:  +972(3)9034334 (222)
> mobile: +972(51)507302
> fax:        +972(3)9034335
> 
>