wsdl2ws: ignoring anonymous type foo

2005-06-08 Thread Simon Detheridge
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





Enabling trace on the server

2005-06-08 Thread Henrik Nordberg

Hi,

we are using the server side of Axis CPP. In order to debug a problem, I
want to enable trace. So I did the following:

1. got the latest sources from CVS (on June 7, 2005)
2. ant buildWithTraceAndDebug
3. added the line
ClientLogPath:/tmp/axis_trace.log
to axiscpp.conf
4. restarted apache

But the file /tmp/axis_trace.log never shows up.
I have one web service that works fine, and am trying to debug a more
complex one. At the very beginning of the complex one I write to a file, and
execution never reaches that point. The client gets a Soap Fault back saying
No handlers configured, which it seems the axis server sends when
something goes wrong. So to figure out what went wrong, I tried the above to
enable tracing.

I am running on Linux 2.6.11-1.14_FC3smp (i.e., Fedora Core 3). Xerces 
Apache 2.

Any hints?

Thanks
- Henrik Nordberg