axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sumedha rubasinghe (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-2417) unimplemented code in kernel module saaj SOAPPartImpl
Date Fri, 29 Jun 2007 11:09:04 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-2417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509077
] 

sumedha rubasinghe commented on AXIS2-2417:
-------------------------------------------

I uncommented test methods having  '_' prefix in org.apache.axis2.jaxws.sample.AddNumbersHandlerTests.

All the following tests, except 'testAddNumbersClientProtoAndLogicalHandler' are passed.

1.testAddNumbersHandler
2.testAddNumbersHandlerDispatch
3.testAddNumbersHandlerResolver
4.testAddNumbersHandlerWithFault
5.testAddNumbersClientHandler
6.testAddNumbersClientHandlerMyResolver
7.testAddNumbersClientHandlerWithFault
8.testAddNumbersClientHandlerAsync
9.testOneWay

Test failure lead me to the following assertion.

assertEquals(((SOAPFaultException)e).getMessage(), "AddNumbersLogicalHandler2 was here");

I changed the above line as follows & this test is also passing now.

assertEquals(((SOAPFaultException)e).getMessage(), "Got value 101.  AddNumbersHandlerPortTypeImpl.addNumbersHandler
method is correctly throwing this exception as part of testing"); 

This is commit in revision 551850.







> unimplemented code in kernel module saaj SOAPPartImpl
> -----------------------------------------------------
>
>                 Key: AXIS2-2417
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2417
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>         Environment: discovered in running new JAXWS AddNumbersHandler tests
>            Reporter: Mike Rheinheimer
>            Assignee: sumedha rubasinghe
>            Priority: Blocker
>             Fix For: 1.3
>
>         Attachments: axis-2417.patch, TEST-org.apache.axis2.jaxws.sample.AddNumbersHandlerTests.xml
>
>
> When JAXWS handlers are present in an endpoint implementation, or client app, they may
obviously have access to the SOAP message elements in a given SOAP message.  This requires
that the message be demarshalled for a handler's use.  In this case, the handler would be
using the org.apache.axis2.saaj.SOAPPartImpl class from the axis2 kernel module to get and
set elements in the SOAP message.  Hardly anything is implemented in this class; there are
58 occurances of "TODO" in there.
> To reproduce the problem, download and build the axis2 environment with the org.apache.axis2.jaxws.sample.AddNumbersHandler
tests enabled (by removing the '_' from the method names in that class)... or a simple reading
of the SOAPPartImpl will show the unimplemented code.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message