Hey Amila
Thank you for your reply. Preparing an answer to you got me going
through the different parts once more and by doing that I found my
problem. The request I'm currently making is based on a static example
and it contained a processing instruction. When i removed the processing
instruction I started getting debug log from my skeleton and then I knew
I had found the problem. I'm not really sure what the correct behavior
of Axis2 would be (this could be the one), but currently I'm more than
satisfied with removing the processing instructions from my request and
responses.
Best regards
Brian Nielsen
could you attach your request message? you can get this using tcpmon
have you engaged Addressing? if so
does this works without addressing?
thanks,
Amila.
On Dec 16, 2007 2:50 AM, Brian Nielsen < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Hey Axis-user
I'm having a problem with accessing a service that I've developed,
that
I've been banging my head on for some days and I would appreciate if
someone could point me at what I can do to get further.
I doing 'contract-first' with a relative large XML Schema structure,
generating with 'codegen' (classes, skeleton and services.xml). I've
implemented the skeleton and also added som log4j logging entries.
I'm
running:
* Linux/Fedora
* Tomcat 6.0.14
* jdk1.6.0_0
* axis2.war nightly (fetched today)
When I deploy the service (aar) it doesn't seem to produce any errors,
and when i call the service the logging seems all normal except
that an
AxisFault is generated somewhere but without any further information.
Here's a snippet from my log (with a log4j.xml under
<tomcat>/lib), with
a few comments:
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752327580]
Invoking Handler 'HTTPLocationBasedDispatcher' in Phase 'Dispatch'
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752327580]
Checking post-conditions for phase "Dispatch"
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752327580]
Checking pre-condition for Phase "RMPhase"
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752327580]
Invoking phase "RMPhase"
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752327580]
Checking post-conditions for phase "RMPhase"
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752327580]
Checking pre-condition for Phase "OperationInPhase"
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752327580]
Invoking phase "OperationInPhase"
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752327580]
Checking post-conditions for phase "OperationInPhase"
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752327580]
Checking pre-condition for Phase "soapmonitorPhase"
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752327580]
Invoking phase "soapmonitorPhase"
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752327580]
Checking post-conditions for phase "soapmonitorPhase"
TRACE - hasAnonymousAddress:
http://www.w3.org/2005/08/addressing/anonymous is Anonymous: true
TRACE - hasAnonymousAddress:
http://www.w3.org/2005/08/addressing/anonymous is Anonymous: true
<-- Then it hangs for quite some time (my newline in the log)
<-- and finally comes with
TRACE - CHARACTERS: [
]
<-- Hangs a little more and then runs through
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752327580]
Invoking flowComplete() in Phase "soapmonitorPhase"
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752327580]
Invoking flowComplete() in Phase "OperationInPhase"
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752327580]
Invoking flowComplete() in Phase "RMPhase"
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752327580]
Invoking flowComplete() in Phase "Dispatch"
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752327580]
Invoking flowComplete() for Handler 'HTTPLocationBasedDispatcher' in
Phase 'Dispatch'
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752327580]
Invoking flowComplete() for Handler
'SOAPMessageBodyBasedDispatcher' in
Phase 'Dispatch'
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752327580]
Invoking flowComplete() for Handler 'RequestURIOperationDispatcher' in
Phase 'Dispatch'
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752327580]
Invoking flowComplete() for Handler 'SOAPActionBasedDispatcher' in
Phase
'Dispatch'
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752327580]
Invoking flowComplete() for Handler 'RequestURIBasedDispatcher' in
Phase
'Dispatch'
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752327580]
Invoking flowComplete() in Phase "PreDispatch"
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752327580]
Invoking flowComplete() in Phase "Security"
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752327580]
Invoking flowComplete() in Phase "Addressing"
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752327580]
Invoking flowComplete() for Handler 'AddressingValidationHandler' in
Phase 'Addressing'
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752327580]
Invoking flowComplete() for Handler 'AddressingBasedDispatcher' in
Phase
'Addressing'
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752327580]
Invoking flowComplete() for Handler 'AddressingSubmissionInHandler' in
Phase 'Addressing'
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752327580]
Invoking flowComplete() for Handler 'AddressingFinalInHandler' in
Phase
'Addressing'
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752327580]
Invoking flowComplete() in Phase "Transport"
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752327580]
Invoking flowComplete() for Handler 'SOAPActionBasedDispatcher' in
Phase
'Transport'
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752327580]
Invoking flowComplete() for Handler 'RequestURIBasedDispatcher' in
Phase
'Transport'
DEBUG -
org.apache.axis2.AxisFault
<-- This is the only thing in the log that indicates that
something goes
wrong (my newline)
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752327580]
isReplyRedirected: FaultTo is null. Returning isReplyRedirected
TRACE - hasAnonymousAddress:
http://www.w3.org/2005/08/addressing/anonymous
<http://www.w3.org/2005/08/addressing/anonymous> is Anonymous: true
TRACE - hasAnonymousAddress:
http://www.w3.org/2005/08/addressing/anonymous is Anonymous: true
TRACE - hasAnonymousAddress:
http://www.w3.org/2005/08/addressing/anonymous is Anonymous: true
TRACE - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752401426]
sendFault:null
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752401426]
Checking pre-condition for Phase "soapmonitorPhase"
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752401426]
Invoking phase "soapmonitorPhase"
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752401426]
Checking post-conditions for phase "soapmonitorPhase"
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752401426]
Checking pre-condition for Phase "OperationOutFaultPhase"
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752401426]
Invoking phase "OperationOutFaultPhase"
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752401426]
Checking post-conditions for phase "OperationOutFaultPhase"
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752401426]
Checking pre-condition for Phase "RMPhase"
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752401426]
Invoking phase "RMPhase"
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752401426]
Checking post-conditions for phase "RMPhase"
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752401426]
Checking pre-condition for Phase "PolicyDetermination"
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752401426]
Invoking phase "PolicyDetermination"
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752401426]
Checking post-conditions for phase "PolicyDetermination"
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752401426]
Checking pre-condition for Phase "MessageOut"
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752401426]
Invoking phase "MessageOut"
DEBUG - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752401426]
Invoking Handler 'AddressingOutHandler' in Phase 'MessageOut'
TRACE - Addressing version string from
messageContext=http://www.w3.org/2005/08/addressing
DEBUG - WSAHeaderWriter: isFinal=false addMU=false replace=false
includeOptional=false
TRACE - didAddressingHeaderExist: headerName=To
TRACE - isAddressingHeaderAlreadyAvailable: name=To status=false
TRACE - didAddressingHeaderExist: headerName=ReplyTo
TRACE - isAddressingHeaderAlreadyAvailable: name=ReplyTo status=false
TRACE - addToSOAPHeader: epr=null headerName=ReplyTo
TRACE - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752401426]
processWSAAction: action from messageContext:
http://www.w3.org/2005/08/addressing/soap/fault
<http://www.w3.org/2005/08/addressing/soap/fault>
TRACE - didAddressingHeaderExist: headerName=Action
TRACE - isAddressingHeaderAlreadyAvailable: name=Action status=false
TRACE - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752401426]
processWSAAction: No existing wsa:Action header found
TRACE - [MessageContext:
logID=urn:uuid:8CBF70C99435E517591197752401426]
processWSAAction: Adding action to header:
http://www.w3.org/2005/08/addressing/soap/fault
<http://www.w3.org/2005/08/addressing/soap/fault>
Any help is welcome. I try this before starting out with file uploads
and jira.
Best regards
Brian Nielsen
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
--
Amila Suriarachchi,
WSO2 Inc.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]