[AXIS2C ] Using a macro to convert between impl_t structs and interface structs

2005-11-03 Thread nandika jayawardana
Hi All , By using a macro to convert between _impl_t struct and interface struct can make life easier in writing code since we can replace castings with macros. Eg To convert between axis2_om_node struct and axis2_om_node_impl_t struct we can use a macro AXIS2_INTF_TO_IMPL(node)

[jira] Commented: (AXISCPP-860) ComplexLists test is failing due to wrong request message

2005-11-03 Thread Dushshantha Chandradasa (JIRA)
[ http://issues.apache.org/jira/browse/AXISCPP-860?page=comments#action_12356688 ] Dushshantha Chandradasa commented on AXISCPP-860: - I removed the modifications that i have introdused, so the test is working fine now. The response message

[jira] Commented: (AXISCPP-860) ComplexLists test is failing due to wrong request message

2005-11-03 Thread John Hawkins (JIRA)
[ http://issues.apache.org/jira/browse/AXISCPP-860?page=comments#action_12356689 ] John Hawkins commented on AXISCPP-860: -- We should not be redeclaring the ns time and time again. This is really poor. Can you change it to be more intelligent?

[jira] Commented: (AXISCPP-860) ComplexLists test is failing due to wrong request message

2005-11-03 Thread Dushshantha Chandradasa (JIRA)
[ http://issues.apache.org/jira/browse/AXISCPP-860?page=comments#action_12356693 ] Dushshantha Chandradasa commented on AXISCPP-860: - I'm trying to give a fix to question No.2. My first question should be 1. Why do we skip ns2 and

[AXIS2] Suggestion for change in coding convention

2005-11-03 Thread nandika jayawardana
Hi all, For formating function signature , can we use the follwing formatting eg axis2_status_t AXIS2_CALL axis2_om_node_set_parent(axis2_om_node_t *om_node, axis2_env_t **env, axis2_om_node_t *parent); This will make the code look more consistent, pls comment in this .. regards ..

Re: [AXIS2] Suggestion for change in coding convention

2005-11-03 Thread Damitha Kumarage
nandika jayawardana wrote: Hi all, For formating function signature , can we use the follwing formatting eg axis2_status_t AXIS2_CALL axis2_om_node_set_parent(axis2_om_node_t *om_node, axis2_env_t **env,

[AXIS2] using a macro for parameter checking

2005-11-03 Thread nandika jayawardana
Hi all, I think we can use a macro for parameter validation in the code, currently for all in parameters to functions we use if(!param) { (*env)-error-error_number = AXIS2_ERROR_INVALID_NULL_PARAMETER; return NULL; /* or appropriate return type */ } these lines are repeatedly used everywhere

Re: [AXIS2] using a macro for parameter checking

2005-11-03 Thread Damitha Kumarage
nandika jayawardana wrote: Hi all, I think we can use a macro for parameter validation in the code, cool currently for all in parameters to functions we use if(!param) { (*env)-error-error_number = AXIS2_ERROR_INVALID_NULL_PARAMETER; BTW you also need to set the status code

Re: [AXIS2] using a macro for parameter checking

2005-11-03 Thread Samisa Abeysinghe
nandika jayawardana wrote: Hi all, I think we can use a macro for parameter validation in the code, currently for all in parameters to functions we use if(!param) { (*env)-error-error_number = AXIS2_ERROR_INVALID_NULL_PARAMETER; return NULL; /* or appropriate return type */ } these

Re: [AXIS2] Suggestion for change in coding convention

2005-11-03 Thread Samisa Abeysinghe
Damitha Kumarage wrote: nandika jayawardana wrote: Hi all, For formating function signature , can we use the follwing formatting eg axis2_status_t AXIS2_CALL axis2_om_node_set_parent(axis2_om_node_t *om_node, axis2_env_t **env,

Some of the tests are Client Compilation - FAILED

2005-11-03 Thread Chinthana C. Dinapala
Hi guys, Today following tests are Client Compilation fails with this error. E.g. XSD_NMTOKEN [cc] XSD_NMTOKENPort.cpp [cc] C:\obj\test\generated\cpp\XSD_NMTOKEN\XSD_NMTOKENPort.cpp(164) : error C2440: '=' : cannot convert from 'char ** ' to 'char *' [cc] Types pointed to are

[jira] Commented: (AXISCPP-834) ~xsd__hexBinary() needs to delete the contents of __ptr

2005-11-03 Thread Dushshantha Chandradasa (JIRA)
[ http://issues.apache.org/jira/browse/AXISCPP-834?page=comments#action_12356753 ] Dushshantha Chandradasa commented on AXISCPP-834: - with following changes to ~xsd__hexBinary() xsd__hexBinary::~xsd__hexBinary() { if ( __ptr )

[jira] Created: (AXIS-2283) WSDL2Java does not create correct base64Binary elements from imported schemas

2005-11-03 Thread JIRA
WSDL2Java does not create correct base64Binary elements from imported schemas - Key: AXIS-2283 URL: http://issues.apache.org/jira/browse/AXIS-2283 Project: Apache Axis Type: Bug

Re: [Axis2] Qnames

2005-11-03 Thread Steve Loughran
Glen Daniels wrote: Hi folks: The second choice wouldn't be element.getNamespace(), it would be the default namepace. Both choices are valid depending on context, which is why I believe there was a switch on the Axis1 version of this logic (something like enableDefaultNS or something).

Re: [Axis2] Qnames

2005-11-03 Thread Sanjiva Weerawarana
On Thu, 2005-11-03 at 12:59 +, Steve Loughran wrote: IIRC, there are different interpretations for different usages/specs (XPath, XQuery, Schema, etc.), but it might be that this has been cleaned up by now and is more consistent. We needed the option for Axis 1. We could

[Axis2] Bug in CommonsHTTPTransportSender

2005-11-03 Thread Christoph Langguth
Dear all, I have been experimenting with Axis2 for WS Client and Server applications; while building a (synchronous RPC-style) client for amazon.com webservices, I stumbled across the following bug: the QueryString from the EndpointReference is duplicated in the POST request, thus rendering

Re: [Axis2] Bug in CommonsHTTPTransportSender

2005-11-03 Thread Davanum Srinivas
Bug tracker is here: http://issues.apache.org/jira/ :) thanks, dims On 11/3/05, Christoph Langguth [EMAIL PROTECTED] wrote: Dear all, I have been experimenting with Axis2 for WS Client and Server applications; while building a (synchronous RPC-style) client for amazon.com webservices, I

[jira] Commented: (AXIS-2283) WSDL2Java does not create correct base64Binary elements from imported schemas

2005-11-03 Thread Steve Green (JIRA)
[ http://issues.apache.org/jira/browse/AXIS-2283?page=comments#action_12356707 ] Steve Green commented on AXIS-2283: --- This is the same problem that I reported as AXIS-2138. In the mean time, you'll have to hand edit the offending bean. WSDL2Java does

[jira] Created: (AXIS2-299) CommonsHTTPTransportSender duplicates query part of endpoint URL

2005-11-03 Thread Christoph Langguth (JIRA)
CommonsHTTPTransportSender duplicates query part of endpoint URL Key: AXIS2-299 URL: http://issues.apache.org/jira/browse/AXIS2-299 Project: Apache Axis 2.0 (Axis2) Type: Bug Components: transports

RE: [Axis2] Road Map for next release

2005-11-03 Thread Tom Jordahl
I think it is a bit misleading to characterize what I am expecting as being *everything*. Axis 1.x doesnt even come close to everything. But it is still very useable. What I would hope is that ADB can be used with a typical WSDL found in the wild UDDI, Amazon.com, Google, etc, etc.

DO NOT REPLY [Bug 11815] - ServiceLifecycle.destroy() never called when session is destroyed

2005-11-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=11815. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.

[jira] Created: (AXIS-2284) thread hangs on org.apache.axis.utils.JavaUtils.isEnumClass

2005-11-03 Thread Frank Luo (JIRA)
thread hangs on org.apache.axis.utils.JavaUtils.isEnumClass --- Key: AXIS-2284 URL: http://issues.apache.org/jira/browse/AXIS-2284 Project: Apache Axis Type: Bug Components: Basic Architecture Versions:

[Axis2] Some one has removed my code changes

2005-11-03 Thread Deepal Jayasinghe
Hi devs; I implemented the class loading hierarchy for axis2 as described in (http://marc.theaimsgroup.com/?l=axis-devm=113073286309556w=2) , and I have committed all the code changes (http://svn.apache.org/viewcvs?rev=329763view=rev) . I just wrote sample to work on that hierarchy, and

[jira] Commented: (AXIS-2232) Mappings in TypeDesc can't be GC'ed

2005-11-03 Thread Kevan Miller (JIRA)
[ http://issues.apache.org/jira/browse/AXIS-2232?page=comments#action_12356744 ] Kevan Miller commented on AXIS-2232: TypeDesc is holding on to Geronimo ClassLoaders. Although this patch is supposed to fix this problem, I'm afraid it isn't working...

Re: [Axis2] Some one has removed my code changes

2005-11-03 Thread Davanum Srinivas
You mean this check-in? http://marc.theaimsgroup.com/?l=axis-devm=113074269108502w=2 Looks like you should revert this change http://svn.apache.org/viewcvs.cgi/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/DeploymentEngine.java?rev=329997r1=329773r2=329997diff_format=h

[jira] Commented: (AXIS-2232) Mappings in TypeDesc can't be GC'ed

2005-11-03 Thread Kevan Miller (JIRA)
[ http://issues.apache.org/jira/browse/AXIS-2232?page=comments#action_12356747 ] Kevan Miller commented on AXIS-2232: Just one additional historical note -- I was gathering some of the memory usage statistics before and after this patch was created.