Hi,

thx for the reply. 

i am afarid, both are configured as stated. here is the wsdl implementation
file:

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
xmlns="http://schemas.xmlsoap.org/wsdl/";
xmlns:apachesoap="http://xml.apache.org/xml-soap";
xmlns:impl="http://LastXTrx"; xmlns:intf="http://LastXTrx-Interface";
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
targetNamespace="http://LastXTrx";>

   <wsdl:import
location="http://192.168.16.46:8080/wstk/LastXTrx/LastXTrx_Interface.wsdl";
namespace="http://LastXTrx-Interface"/>

   <wsdl:service name="LastXTrxtWebServiceWrapperService">

      <wsdl:port binding="intf:LastXTrxSoapBinding" name="LastXTrx">

         <wsdlsoap:address
location="http://192.168.16.46:8080/wstk/services/LastXTrx"/>

      </wsdl:port>

   </wsdl:service>

</wsdl:definitions>



any ideas?


-----Original Message-----
From: Doug Davis [mailto:[EMAIL PROTECTED]]
Sent: Sunday, November 03, 2002 6:00 PM
To: [EMAIL PROTECTED]
Subject: Re: Trying to run a webservice under WSTK3.2







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
>
>


Reply via email to