OK, put axis2 in DEBUG mode by editing the *.properties under
WEB-INF/classes . Then post the log output. For example, what I
usually do is enable log4j - you may need to put a log4j.jar in
WEB-INF/lib . It sounds like the error is happening in the transports
before on the server side but before it reaches your service. You
still should be getting an error though ... but the debug statements
will show what its doing.
If you still are having problems with logging I can explain a little more.
HTH,
Robert
On 9/8/06, zolv <[EMAIL PROTECTED]> wrote:
> My guess is that you have a stacktrace on the server side that will
> point to the problem. If its still not clear what the cause is, post
> your code and the stacktrace and maybe we can help.
I understand, but this is the only output what I get (on server (in fact: service) side).
Code that makes an output is in try/catch and there is no exception thrown. My code
doesn't throws any exceptions. My service method finished normally, and this is what I
get in Tomcat's (5.5.17) console AFTER my "return response; // OMElement
response;"
There is one thing in addition. When I cut down the output, so the output SOAP
message is smaller (no changes in service code!), then everything works fine.
So It's something like, that I'm trying send too big SOAP messages. Is some
restrictions in SOAP standards/Axis2 engine about SOAP message max size?
I think sourcecode isn't needed. Imagine sth like this (hand coding now):
OMElement response = factory.createElement( ... );
for( int i = 0 ; i < 1000 ; i++ ) {
response.addChild( factory.createElement( ... ) );
}
return response;
(I will try to do it tomorrow in work, but I'm sure that It will generate the
same error.)
Thanx for answer.
Radek Adamiak
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]