Hi again,
I think I've found the problem. Service2 is deployed while the system is
running, and it's SOAP action is urn:second. However, for some obscure
reason - apart from the version service, there are no services deployed
-bash-3.00$ ls
Service2.aar services.list version.aar
-
the addressing module first detects the SOAP action the right way (i.e.
urn:second),
TRACE DescriptionBuilder:processActionMappings - Input Action Mapping
found: urn:second
then it finds out another value
TRACE AddressingInHandler:extractActionInformation -
extractActionInformation: soapAction='urn:first' wsa:Action='urn:first',
which causes the problem. Please find attached the axis2 logs while
below is services.xml:
<?xml version="1.0" encoding="UTF-8"?>
<service name="Service2" scope="request">
<parameter name="ServiceClass" locked="xsd:false">
ncl.qosp.test.functional.Service2
</parameter>
<operation name="test">
<messageReceiver
class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver" />
<actionMapping>urn:second</actionMapping>
</operation>
</service>
Any clue (eventually from one of the Axis2 guys)?
Thanks in advance,
Michele
On Thu, 2007-03-15 at 10:51 +0000, Michele Mazzucco wrote:
> On Wed, 2007-03-14 at 19:46 -0400, Glen Mazza wrote:
> > Could it be that you misspelled "length"?
>
> No, unfortunately no :(.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
DEBUG Phase:addHandler - Handler RequestURIBasedDispatcher added to Phase Transport
DEBUG Phase:addHandler - Handler SOAPActionBasedDispatcher added to Phase Transport
DEBUG Phase:addHandler - Handler AddressingBasedDispatcher added to Phase Dispatch
DEBUG Phase:addHandler - Handler SOAPMessageBodyBasedDispatcher added to Phase Dispatch
DEBUG Phase:addHandler - Handler InstanceDispatcher added to Phase Dispatch
DEBUG Phase:addHandler - Handler RequestURIBasedDispatcher added to Phase Dispatch
DEBUG Phase:addHandler - Handler SOAPActionBasedDispatcher added to Phase Dispatch
DEBUG Phase:addHandler - Handler AddressingBasedDispatcher added to Phase Dispatch
DEBUG Phase:addHandler - Handler SOAPMessageBodyBasedDispatcher added to Phase Dispatch
DEBUG Phase:addHandler - Handler InstanceDispatcher added to Phase Dispatch
TRACE AxisEngine:send - [MessageContext: logID=urn:uuid:3FCAE66EF37654FC4B1173979574067] send:urn:uuid:3FCAE66EF37654FC4B1173979574059
TRACE EndpointReference:hasAnonymousAddress - hasAnonymousAddress: http://giga25:8081/axis2/services/RoutingService is Anonymous: false
TRACE EndpointReference:hasNoneAddress - hasNoneAddress: http://giga25:8081/axis2/services/RoutingService is None: false
DEBUG CommonsHTTPTransportSender:writeMessageWithCommons - java.net.ConnectException: Connection refused
DEBUG CommonsHTTPTransportSender:invoke - org.apache.axis2.AxisFault: Connection refused; nested exception is:
java.net.ConnectException: Connection refused
DEBUG ProjectResourceBundle:handleGetObject - org.apache.axis2.i18n.resource::handleGetObject(addingnewmodule)
DEBUG DeploymentEngine:addNewModule - Adding new module
DEBUG ProjectResourceBundle:handleGetObject - org.apache.axis2.i18n.resource::handleGetObject(deployeingmodule)
INFO ModuleDeployer:deploy - Deploying module: node-module
DEBUG WarBasedAxisConfigurator:getAxisConfiguration - loaded repository from /WEB-INF folder (unpacked war)
DEBUG Phase:addHandler - Handler AddressingFinalInHandler added to Phase PreDispatch
DEBUG Phase:addHandler - Handler AddressingSubmissionInHandler added to Phase PreDispatch
DEBUG Phase:addHandler - Handler AddressingOutHandler added to Phase MessageOut
DEBUG Phase:addHandler - Handler AddressingFinalInHandler added to Phase PreDispatch
DEBUG Phase:addHandler - Handler AddressingSubmissionInHandler added to Phase PreDispatch
DEBUG Phase:addHandler - Handler AddressingInFaultHandler added to Phase Dispatch
DEBUG Phase:addHandler - Handler AddressingOutHandler added to Phase MessageOut
DEBUG Phase:addHandler - Handler InFlowNodeHandler added to Phase QospURIPhase
DEBUG Phase:addHandler - Handler InFlowNodeHandler added to Phase QospDataPhase
DEBUG Phase:addHandler - Handler OutFlowNodeHandler added to Phase QospDataPhase
DEBUG ProjectResourceBundle:handleGetObject - org.apache.axis2.i18n.resource::handleGetObject(deployingws)
INFO ServiceDeployer:deploy - Deploying Web service: version.aar
DEBUG WarBasedAxisConfigurator:loadServices - loaded services from webapp
TRACE AxisEngine:receive - [MessageContext: logID=urn:uuid:3FCAE66EF37654FC4B1173979627215] receive:null
TRACE DescriptionBuilder:processActionMappings - Input Action Mapping found: urn:second
DEBUG Phase:addHandler - Handler InFlowNodeHandler added to Phase QospDataPhase
DEBUG Phase:addHandler - Handler OutFlowNodeHandler added to Phase QospDataPhase
DEBUG ProjectResourceBundle:handleGetObject - org.apache.axis2.i18n.resource::handleGetObject(deployingws)
INFO ServiceDeployer:deploy - Deploying Web service: Service2.aar
TRACE AddressingInHandler:checkDuplicateHeaders - checkDuplicateHeaders: addressingHeaderName=To isDuplicate=false
TRACE AddressingInHandler:checkDuplicateHeaders - checkDuplicateHeaders: addressingHeaderName=FaultTo isDuplicate=false
TRACE AddressingInHandler:checkDuplicateHeaders - checkDuplicateHeaders: addressingHeaderName=MessageID isDuplicate=false
TRACE AddressingInHandler:checkDuplicateHeaders - checkDuplicateHeaders: addressingHeaderName=Action isDuplicate=false
TRACE AddressingFinalInHandler:extractToEprReferenceParameters - extractToEprReferenceParameters: Checking header: {http://ncl.ac.uk/qosp}qosp
TRACE AddressingFinalInHandler:extractToEprReferenceParameters - extractToEprReferenceParameters: Checking header: {http://www.w3.org/2005/08/addressing}To
TRACE AddressingFinalInHandler:extractToEprReferenceParameters - extractToEprReferenceParameters: Checking header: {http://www.w3.org/2005/08/addressing}FaultTo
TRACE AddressingFinalInHandler:extractToEprReferenceParameters - extractToEprReferenceParameters: Checking header: {http://www.w3.org/2005/08/addressing}MessageID
TRACE AddressingFinalInHandler:extractToEprReferenceParameters - extractToEprReferenceParameters: Checking header: {http://www.w3.org/2005/08/addressing}Action
TRACE AddressingInHandler:extractToEPRInformation - extractToEPRInformation: Extracted To EPR: Address: http://128.240.149.226:18080/axis2/services/Service2
DEBUG EndpointReferenceHelper:fromOM - fromOM: Found address element for namespace, http://www.w3.org/2005/08/addressing
DEBUG EndpointReferenceHelper:fromOM - fromOM: Endpoint reference, Address: http://giga25:8081/axis2/services/RoutingService, Address Attributes: []
TRACE AddressingInHandler:extractFaultToEPRInformation - extractFaultToEPRInformation: Extracted FaultTo EPR: Address: http://giga25:8081/axis2/services/RoutingService, Address Attributes: []
TRACE AddressingInHandler:extractActionInformation - extractActionInformation: soapAction='urn:first' wsa:Action='urn:first'
TRACE AddressingFinalInHandler:setDefaults - [MessageContext: logID=urn:uuid:3FCAE66EF37654FC4B1173979627215] setDefaults: Setting WS-Addressing default value for the ReplyTo property.
TRACE AddressingValidationHandler:invoke - invoke: IS_ADDR_INFO_ALREADY_PROCESSED=true
DEBUG AddressingFaultsHelper:triggerActionNotSupportedFault - triggerActionNotSupportedFault: messageContext: [MessageContext: logID=urn:uuid:3FCAE66EF37654FC4B1173979627215] problemAction: urn:first
DEBUG ProjectResourceBundle:getBundle - getBundle(org.apache.axis2,org.apache.axis2.addressing.i18n,resource,null,...)
DEBUG ProjectResourceBundle$Context:loadBundle - loadBundle: Ignoring MissingResourceException: Can't find bundle for base name org.apache.axis2.addressing.i18n.resource, locale en_US
DEBUG ProjectResourceBundle$Context:loadBundle - loadBundle: Ignoring MissingResourceException: Can't find bundle for base name org.apache.axis2.addressing.resource, locale en_US
DEBUG ProjectResourceBundle$Context:loadBundle - loadBundle: Ignoring MissingResourceException: Can't find bundle for base name org.apache.axis2.resource, locale en_US
DEBUG ProjectResourceBundle:getBundle - Root package not found, cross link to org.apache.axis2.i18n.resource
DEBUG ProjectResourceBundle:getBundle - Root package not found, cross link to org.apache.axis2.i18n.resource
DEBUG ProjectResourceBundle:getBundle - Root package not found, cross link to org.apache.axis2.i18n.resource
DEBUG ProjectResourceBundle:handleGetObject - org.apache.axis2.i18n.resource::handleGetObject(spec.FAULT_ACTION_NOT_SUPPORTED_REASON)
ERROR AxisServlet:doPost - java.util.MissingResourceException: Can't find resource for bundle org.apache.axis2.i18n.ProjectResourceBundle, key spec.FAULT_ACTION_NOT_SUPPORTED_REASON
TRACE EndpointReference:hasAnonymousAddress - hasAnonymousAddress: http://giga25:8081/axis2/services/RoutingService is Anonymous: false
TRACE EndpointReference:hasAnonymousAddress - hasAnonymousAddress: http://giga25:8081/axis2/services/RoutingService is Anonymous: false
TRACE EndpointReference:hasNoneAddress - hasNoneAddress: http://giga25:8081/axis2/services/RoutingService is None: false
TRACE AxisEngine:sendFault - [MessageContext: logID=urn:uuid:3FCAE66EF37654FC4B1173979636560] sendFault:urn:uuid:3FCAE66EF37654FC4B1173979636526
DEBUG EndpointReferenceHelper:toOM - toOM: Factory, [EMAIL PROTECTED]
DEBUG EndpointReferenceHelper:toOM - toOM: Endpoint reference, Address: http://www.w3.org/2005/08/addressing/none
DEBUG EndpointReferenceHelper:toOM - toOM: Element qname, {http://www.w3.org/2005/08/addressing}ReplyTo
DEBUG EndpointReferenceHelper:toOM - toOM: Addressing namespace, http://www.w3.org/2005/08/addressing
TRACE AddressingOutHandler:processWSAAction - [MessageContext: logID=urn:uuid:3FCAE66EF37654FC4B1173979636560] processWSAAction: action from messageContext: http://www.w3.org/2005/08/addressing/soap/fault
TRACE AddressingOutHandler:processWSAAction - [MessageContext: logID=urn:uuid:3FCAE66EF37654FC4B1173979636560] processWSAAction: No existing wsa:Action header found
TRACE AddressingOutHandler:processWSAAction - [MessageContext: logID=urn:uuid:3FCAE66EF37654FC4B1173979636560] processWSAAction: Adding action to header: http://www.w3.org/2005/08/addressing/soap/fault
TRACE EndpointReference:hasAnonymousAddress - hasAnonymousAddress: http://giga25:8081/axis2/services/RoutingService is Anonymous: false
TRACE EndpointReference:hasNoneAddress - hasNoneAddress: http://giga25:8081/axis2/services/RoutingService is None: false
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]