Two things to look for:
1 - you have a service in your WSDL called "
LastXTrxtWebServiceWrapperService"
2 - you defined the "targetNamespace" attribute of you WSDL doc as
"http://LastXTrx".
-Dug
Lior Graf <[EMAIL PROTECTED]> on 11/03/2002 10:57:30 AM
Please respond to [EMAIL PROTECTED]
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
cc:
Subject: 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: [EMAIL PROTECTED]
> phone: +972(3)9034334 (222)
> mobile: +972(51)507302
> fax: +972(3)9034335
>
>