Return-Path: Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 57808 invoked by uid 500); 20 Feb 2003 09:36:01 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 57797 invoked from network); 20 Feb 2003 09:36:00 -0000 From: To: axis-user@ws.apache.org Message-ID: <41314b74.4b744131@b-online.gr> Date: Thu, 20 Feb 2003 11:43:20 +0200 X-Mailer: Netscape Webmail MIME-Version: 1.0 Content-Language: el Subject: Re: wsdl4j compatibility X-Accept-Language: el Content-Type: text/plain; charset=iso-8859-7 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N (Sorry if you get this twice) I=27ve actually read this article and found it quite illuminating indeed=2E= = Now your problem might be that in the code provided=2C the WSDL file that= = you give to the WSDLReader has some import statements or anyway assumes = that it should have=2E This has to do with how a scenario of a search in = UDDI goes=2E If you provide the Reader with a straight-through WSDL file = (meaning that it does not implement any interface or equivalently does = not contain any import statements) tis exception you mentioned is = thrown=2E The solution would be to comment out the code that looks for = import elements=2E Hope that helps=2E Let me know how things went cos I=27m interested too=2E= Costas = ----- Original Message ----- =C1=F0=FC=3A Ben Wyckoff =3Cben=2Ewyckoff=40mirror-image=2Ecom=3E =C7=EC=E5=F1=EF=EC=E7=ED=DF=E1=3A =D0=DD=EC=F0=F4=E7=2C =D6=E5=E2=F1=EF=F5= =DC=F1=E9=EF=F2 20=2C 2003 5=3A57=F0=2E=EC=2E =C8=DD=EC=E1=3A wsdl4j compatibility =3E Hello=2C =3E I am a relatively new Axis user=2C and I have been trying to = =3E both create and consume web services=2E I found an interesting = =3E article = =3E at = =3E =3C=22 target=3D=22l=22=3Ehttp=3A//www- =3E 106=2Eibm=2Ecom/developerworks/webservices/library/ws-udax=2Ehtml=3F dwzone=3Dwebservices=3E = =3E on Dynamic Discovery and Invocation of Web Services which uses = =3E uddi4j=2C wsdl4j=2C and Axis to discover a service=2C parse the WSDL=2C= = =3E and = =3E then invoke using Axis=2E =3E = =3E I=27m not interested in the uddi4j now=2C but am very interested in = =3E the = =3E wsdl parsing and Axis invocation steps=2E Using wsdl4j to extract = =3E the = =3E relevant data from a wsdl file automatically would be a big help = =3E for = =3E me=2E =3E = =3E Unfortunately=2C the only file the wsdl4j WSDLReader seems to parse = =3E ok = =3E is the WebMath=5FImpl=2Ewsdl file that is part of the sample code for= = =3E the = =3E article=2E I tried the WSDL from Axis 1=2E0 and 1=2E1RC1 =2Ejws=3Fwsd= l = =3E services=2C and also from a few services offered through = =3E xmethods=2Ecom=2E = =3E In all the failure cases=2C I get the following error=3A =3E = =3E WSDLException=3A faultCode=3DOTHER=5FERROR=3A No WSDL interface defin= ition = =3E found=2E =3E And yet=2C these services do work=2C and both Axis and SOAP=3A=3ALite= = =3E clients = =3E can process the WSDL and make successful queries=2E =3E = =3E Can anybody offer any insight or alternatives=3F =3E = =3E thanks=2C =3E Ben =3E