wsdl2ws: ignoring anonymous type foo
I'm having a problem with wsdl2ws. I've created a wsdl file that imports an xsd file, and it validates OK in a couple of validators I've pointed at it... And it will generate classes code with both WSDL2Java, and Microsoft's wsdl.exe from .net 2003. However, when I try and use it with wsdl2ws, it generates errors such as: Possible error in class anyType: class with no attributes and: ignoring anonymous type cml It then generates non-working cpp. (Classes with '' in their name, etc...) This *looks* like bug AXISCPP-631 in jira, but that's in the rpc section, and I've seen mentions of this error before specifically refering to rpc/enc. I had figured that if I created a doc/lit wsdl then the problem would go away, and that's what I've tried to do, but it hasn't made any difference to this error. (I'm new to this stuff so I might have messed this up. I don't really understand the difference.) Is there a workaround? I've put my schema and xsd files here: http://zx81.highlyillogical.org/~simon/schema/ Thanks, Simon -- Simon Detheridge SEN Developer, Widgit Software
Re: axis-c ant build error
On Wed, 2005-05-25 at 09:18 +0100, John Hawkins wrote: Hi Simon, are you up and running now? Not yet. Our mailserver exploded and I spent the day building a new one. I'm going to try rebuilding my toolchain this afternoon. I'll let you know how it goes.
Re: axis-c ant build error
On Wed, 2005-05-25 at 11:27 +0100, Simon Detheridge wrote: On Wed, 2005-05-25 at 09:18 +0100, John Hawkins wrote: Hi Simon, are you up and running now? Not yet. Our mailserver exploded and I spent the day building a new one. I'm going to try rebuilding my toolchain this afternoon. I'll let you know how it goes. Okay, I rebuilt ant, ant-contrib, and cpptasks and axis from source. I also used sun-java instead of blackdown, and sun's javac instead of jikes. It worked. It *could* be a problem with my using blackdown, but I'm more inclined to blame the Gentoo build scripts... If I can find some time to spend figuring out what went wrong, I'll file a bug. Simon
Re: axis-c ant build error
I have cpptasks 1.0b3, ant-contrib 1.0b2, and ant 1.6.2 On Mon, 2005-05-23 at 16:39 +0100, Adrian Dick wrote: Hmmm well it looks to have correctly detected your platform, so there's something else going on here. I'll need to dig around some more, in the interim could you confirm the exact levels of cpptasks you're using - I've seen problems in the past with anything other than v1.0beta3 Thanks, Adrian ___ Adrian Dick ([EMAIL PROTECTED]) Simon Detheridge [EMAIL PROTECTED] wrote on 23/05/2005 16:15:05: Hmm... It does say: Detected OS: Linux but I know nothing of ant, so I don't know if this is relevant. I've posted the complete output here (21): http://www.highlyillogical.org/dump/antbuild.out It's rather long and I don't want to pollute the list. Simon On Mon, 2005-05-23 at 15:54 +0100, Adrian Dick wrote: Hi, This sounds worryingly like the ant script hasn't correctly determined your platform. Could try running ant in verbose mode, and attach the produced output, so we determine which check is failing. $ cd ~/ws-axis/c $ ant -v Thanks, Adrian ___ Adrian Dick ([EMAIL PROTECTED]) Simon Detheridge [EMAIL PROTECTED] wrote on 23/05/2005 10:42:32: I'm building on Linux. Gentoo to be precise... The full command I'm using, is simply: $ cd ~/ws-axis/c $ ant On Mon, 2005-05-23 at 08:14 +0100, John Hawkins wrote: What platform are you trying to build on? It looks like the SolarisLinker is not defined before you are calling buildClient.xml . If I look in buildInitialize.xml then it appears to be defined in there. linkerid=SolarisLinkername=CClibtool=trueif=solaris linkerargvalue=-gif=debug/ linkerargvalue=-Qoption/ linkerargvalue=ld/ linkerargvalue=-zmuldefs/ /linker We need to make sure that you are picking up this file before you call buildClient.xml What is the full command that you are using to build with please? Simon Detheridge [EMAIL PROTECTED] 20/05/2005 16:29 Please respond to Apache AXIS C User List To axis-c-user@ws.apache.org cc Subject axis-c ant build error I'm getting the following, when trying to build axis-c using ant: ... compileAxisClient: buildVersionResource: BUILD FAILED /root/axis-install/ws-axis/c/build.xml:234: The following error occurred while executing this line: /root/axis-install/ws-axis/c/build.xml:222: The following error occurred while executing this line: /root/axis-install/ws-axis/c/build.xml:93: The following error occurred while executing this line: /root/axis-install/ws-axis/c/build/buildClient.xml:23: SolarisLinker doesn't denote a ProcessorDef --- Any idea why, and how I can make it go away? Thanks, Simon
Re: axis-c ant build error
I'm building on Linux. Gentoo to be precise... The full command I'm using, is simply: $ cd ~/ws-axis/c $ ant On Mon, 2005-05-23 at 08:14 +0100, John Hawkins wrote: What platform are you trying to build on? It looks like the SolarisLinker is not defined before you are calling buildClient.xml . If I look in buildInitialize.xml then it appears to be defined in there. linkerid=SolarisLinkername=CClibtool=trueif=solaris linkerargvalue=-gif=debug/ linkerargvalue=-Qoption/ linkerargvalue=ld/ linkerargvalue=-zmuldefs/ /linker We need to make sure that you are picking up this file before you call buildClient.xml What is the full command that you are using to build with please? Simon Detheridge [EMAIL PROTECTED] 20/05/2005 16:29 Please respond to Apache AXIS C User List To axis-c-user@ws.apache.org cc Subject axis-c ant build error I'm getting the following, when trying to build axis-c using ant: ... compileAxisClient: buildVersionResource: BUILD FAILED /root/axis-install/ws-axis/c/build.xml:234: The following error occurred while executing this line: /root/axis-install/ws-axis/c/build.xml:222: The following error occurred while executing this line: /root/axis-install/ws-axis/c/build.xml:93: The following error occurred while executing this line: /root/axis-install/ws-axis/c/build/buildClient.xml:23: SolarisLinker doesn't denote a ProcessorDef --- Any idea why, and how I can make it go away? Thanks, Simon
Re: axis-c ant build error
Hmm... It does say: Detected OS: Linux but I know nothing of ant, so I don't know if this is relevant. I've posted the complete output here (21): http://www.highlyillogical.org/dump/antbuild.out It's rather long and I don't want to pollute the list. Simon On Mon, 2005-05-23 at 15:54 +0100, Adrian Dick wrote: Hi, This sounds worryingly like the ant script hasn't correctly determined your platform. Could try running ant in verbose mode, and attach the produced output, so we determine which check is failing. $ cd ~/ws-axis/c $ ant -v Thanks, Adrian ___ Adrian Dick ([EMAIL PROTECTED]) Simon Detheridge [EMAIL PROTECTED] wrote on 23/05/2005 10:42:32: I'm building on Linux. Gentoo to be precise... The full command I'm using, is simply: $ cd ~/ws-axis/c $ ant On Mon, 2005-05-23 at 08:14 +0100, John Hawkins wrote: What platform are you trying to build on? It looks like the SolarisLinker is not defined before you are calling buildClient.xml . If I look in buildInitialize.xml then it appears to be defined in there. linkerid=SolarisLinkername=CClibtool=trueif=solaris linkerargvalue=-gif=debug/ linkerargvalue=-Qoption/ linkerargvalue=ld/ linkerargvalue=-zmuldefs/ /linker We need to make sure that you are picking up this file before you call buildClient.xml What is the full command that you are using to build with please? Simon Detheridge [EMAIL PROTECTED] 20/05/2005 16:29 Please respond to Apache AXIS C User List To axis-c-user@ws.apache.org cc Subject axis-c ant build error I'm getting the following, when trying to build axis-c using ant: ... compileAxisClient: buildVersionResource: BUILD FAILED /root/axis-install/ws-axis/c/build.xml:234: The following error occurred while executing this line: /root/axis-install/ws-axis/c/build.xml:222: The following error occurred while executing this line: /root/axis-install/ws-axis/c/build.xml:93: The following error occurred while executing this line: /root/axis-install/ws-axis/c/build/buildClient.xml:23: SolarisLinker doesn't denote a ProcessorDef --- Any idea why, and how I can make it go away? Thanks, Simon
axis-c ant build error
I'm getting the following, when trying to build axis-c using ant: ... compileAxisClient: buildVersionResource: BUILD FAILED /root/axis-install/ws-axis/c/build.xml:234: The following error occurred while executing this line: /root/axis-install/ws-axis/c/build.xml:222: The following error occurred while executing this line: /root/axis-install/ws-axis/c/build.xml:93: The following error occurred while executing this line: /root/axis-install/ws-axis/c/build/buildClient.xml:23: SolarisLinker doesn't denote a ProcessorDef --- Any idea why, and how I can make it go away? Thanks, Simon
RE: Axis C++ 1.5 linux build broken
Thanks for clearing that up. I hadn't heart of ANT until just now. (It's filed under dev-java on my distro, and I don't look there very often.) Perhaps it would be convenient for someone to add this information to the Linux Installation Guide at http://ws.apache.org/axis/cpp/lininstall-guide.html, as all this refers to is a standard ./configure; make; make install procedure (with added env vars) Thanks, Simon On Thu, 2005-04-21 at 05:40, Samisa Abeysinghe wrote: To add to what John has said, my experience has been that it was quite hard to get the auto make system portable on different Unix/Linux flavors. Also, as there were so many file additions in 1.5, it was quite hard to keep changing the make system as far as I know, make system cannot pick the source files automatically as Ant does. We are not against using the automake system. If someone could help here that would be great. Thanks, Samisa -Original Message- From: John Hawkins [mailto:[EMAIL PROTECTED] Sent: Thursday, April 21, 2005 1:03 AM To: Apache AXIS C User List Cc: axis-c-dev@ws.apache.org Subject: Re: Axis C++ 1.5 linux build broken Hmm, I think we've got to make ourselves clearer. with regard to our build strategy ! We started out having full support for the autobuild make system however, over time, this has been superceded by the ANT build system. We took the decision (not very decisively but I think we did !) that we could not keep supporting two make systems unless there was a specific reason to do so. We do not have a lot of skills in the autobuild system and we have a lot of skills in ANT. So, to summarise, I don't think we're calling the autobuild system supported and I would suggest you build using ANT. Sorry for the inconvenience ! Simon Detheridge [EMAIL PROTECTED] 20/04/2005 15:44 Please respond to Apache AXIS C User List To Apache AXIS C User List axis-c-user@ws.apache.org cc Subject Axis C++ 1.5 linux build broken When running automake with this release, I get: samples/server/Makefile.am:1: required directory samples/server/interoptests does not exist samples/server/Makefile.am:1: required directory samples/server/simple does not exist tests/Makefile.am:1: required directory tests/server does not exist Which appears to cause (or at least be related to) the following error during configure: config.status: creating src/xml/tspp/Makefile config.status: creating samples/Makefile config.status: error: cannot find input file: samples/Makefile.in Building with --enable-samples=no and removing all samples/ lines from configure.ac and removing @SAMPLESBUILD@, @TESTCASESBUILD@, and deploy_interoptests.sh from the main Makefile.am gets around this problem, (at least it builds, I'm still testing it) but it's far from ideal. (I can't test my installation beyond seeing if the server starts) What's up? It seems a bit strange to promote a release from 'alpha' (which at least configured) to 'final' with these problems... Or am I doing something *really* wrong? :-/ -- Simon Detheridge SEN Developer, Widgit Software -- Simon Detheridge SEN Developer, Widgit Software
Axis C++ 1.5 linux build broken
When running automake with this release, I get: samples/server/Makefile.am:1: required directory samples/server/interoptests does not exist samples/server/Makefile.am:1: required directory samples/server/simple does not exist tests/Makefile.am:1: required directory tests/server does not exist Which appears to cause (or at least be related to) the following error during configure: config.status: creating src/xml/tspp/Makefile config.status: creating samples/Makefile config.status: error: cannot find input file: samples/Makefile.in Building with --enable-samples=no and removing all samples/ lines from configure.ac and removing @SAMPLESBUILD@, @TESTCASESBUILD@, and deploy_interoptests.sh from the main Makefile.am gets around this problem, (at least it builds, I'm still testing it) but it's far from ideal. (I can't test my installation beyond seeing if the server starts) What's up? It seems a bit strange to promote a release from 'alpha' (which at least configured) to 'final' with these problems... Or am I doing something *really* wrong? :-/ -- Simon Detheridge SEN Developer, Widgit Software
Re: Apache says 404
On Tue, 2005-04-12 at 10:45, Simon Detheridge wrote: Is axis-c picky about the xerces-c version I have installed? I have version 2.6.0, and the docs ask for 2.2.0... Well, I tried 2.2.0, made no difference. I also tried the 1.5 alpha, with no luck. Is there any way I can make axis-c more verbose about all of this? Thanks, Simon -- Simon Detheridge SEN Developer, Widgit Software