The inquire_v2.wsdl in the ws-axis/c/tests/auto_build/testcases/wsdls directory has an import statement to a file which doesn't exist.
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="./xml.xsd"/> There is no file "./xml.xsd" Samisa this looks like it might be a hand crafted version of the UDDI inquire WSDL. As Manohar has asked can we please get an official version of the inquire_v2.wsdl put into the above directory, with any dependent files too. >From a test automation perspective it is not ideal to rely on an external web service as it may not always be available. If UDDI is installed on a local server, e.g. WebSphere, will the inquire_v2 WSDL be available to the client. If this is so then the endpoint of this local install of UDDI could be used to retrieve the WSDL and run the test. Samisa can you please confirm the above as I do not know enough about UDDI. Regards, Andrew Perry IBM Web Services Client for C/C++ [EMAIL PROTECTED] Mail Point 127 IBM UK Laboratories. Hursley Park, Winchester, Hants. SO21 2JN Tel. Internal 249828 External + 44 (0)1962 819828 Fax. + 44(0)1962 818080 Manohar K Chintala <[EMAIL PROTECTED]> wrote on 14/03/2005 11:53:35: > > > > > Hi Samisa, > > I've tried compiling inquire_v2Client.cpp test using ANT framework on Linux > and observed that WSDL2Ws is not able to generate the code when run against > inquire_v2.wsdl ( which comes with fvt bundle). Below are details of the > error. I am not able get any other details about this error. > > java.lang.NullPointerException > at > org.apache.axis.wsdl.wsdl2ws.cpp.literal.ClientStubWriter. > writeMethodInWrapper(Unknown > Source) > at > org.apache.axis.wsdl.wsdl2ws.cpp.literal.ClientStubWriter.writeMethods(Unknown > Source) > at > org.apache.axis.wsdl.wsdl2ws.cpp.CPPClassWriter.writeSource(Unknown Source) > at org.apache.axis.wsdl.wsdl2ws.Generator.generate(Unknown Source) > at > org.apache.axis.wsdl.wsdl2ws.WebServiceGeneratorImpl.generate(Unknown > Source) > at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.generateWrappers(Unknown > Source) > at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(Unknown Source) > > Code generation failed. Please see errors above. > > All the required jar files are in classpath and am wondering why "Unknown > Source" is displayed for wsdl2ws class. Have you observed this at your end > or am I missing something here ? > > Regards > Manohar > > > > > "Samisa > Abeysinghe" > <[EMAIL PROTECTED] To > usa.com> "Apache AXIS C Developers List" > <axis-c-dev@ws.apache.org> > 03/14/2005 02:56 cc > PM > Subject > RE: [jira] Closed: (AXISCPP-498) > Please respond to inquire_v2 test does not compile on > "Apache AXIS C Windows > Developers List" > > > > > > > > > > Hi Manohar, > I use the ant test framework to compile the test. > However, I run the test manually with the end point > http://www-3.ibm.com/services/uddi/testregistry/inquiryapi. > > e.g. on windows: > F:\obj\test\generated>.\cpp\inquire_v2\inquire_v2.exe > http://www-3.ibm.com/services/uddi/testregistry/inquiryapi > > HTH > Thanks, > Samisa... > > -----Original Message----- > From: Manohar K Chintala [mailto:[EMAIL PROTECTED] > Sent: Monday, March 14, 2005 2:24 PM > To: axis-c-dev@ws.apache.org > Subject: Fw: [jira] Closed: (AXISCPP-498) inquire_v2 test does not > compile on Windows > > > > > > Hi Samisa, > > With reference to your below mail, I would like to know the procedure ( > for > Windows as well as Linux platforms) for compiling and running > nquire_v2Client.cpp test. Did you run it inside ANT framework or outside > ANT ? Also, please let me know what is the endpoint/service url that > you've > used for running this test. > > > Regards > Manohar > > ----- Forwarded by Manohar K Chintala/India/IBM on 03/14/2005 01:43 PM > ----- > > > "Samisa > > Abeysinghe > > (JIRA)" > To > <[EMAIL PROTECTED] axis-c-dev@ws.apache.org > > ache.org> > cc > > > 03/14/2005 01:30 > Subject > PM [jira] Closed: (AXISCPP-498) > > inquire_v2 test does not compile > on > Windows > > Please respond to > > "Apache AXIS C > > Developers List" > > > > > > > > > > > > [ http://issues.apache.org/jira/browse/AXISCPP-498?page=history ] > > Samisa Abeysinghe closed AXISCPP-498: > ------------------------------------- > > Resolution: Fixed > > Now it compiles and runs > > > inquire_v2 test does not compile on Windows > > ------------------------------------------- > > > > Key: AXISCPP-498 > > URL: http://issues.apache.org/jira/browse/AXISCPP-498 > > Project: Axis-C++ > > Type: Bug > > Components: Test > > Versions: current (nightly) > > Environment: Windows > > Reporter: Samisa Abeysinghe > > Assignee: Samisa Abeysinghe > > Fix For: 1.5 Final > > Attachments: inquire_v2Client.cpp.diff > > > > The generated code fails to compile on windows. > > But there are no problems on Linux. > > -- > This message is automatically generated by JIRA. > - > If you think it was sent incorrectly contact one of the administrators: > http://issues.apache.org/jira/secure/Administrators.jspa > - > If you want more information on JIRA, or have a bug to report see: > http://www.atlassian.com/software/jira > > > >