Re: ECLIPSE IDE like Visual Studio IDE

2008-07-11 Thread Kasun Indrasiri
I'm also using Netbeans 6.1/C,C++ version. But Eclipse C/C++ Development Tooling is running much more smoothly than Netbeans and auto completion is much quicker. You should have a try. Kasun On 7/9/08, Diluka Moratuwage [EMAIL PROTECTED] wrote: Eclipse has a plugin called CDT, also you can

Re: Axis2/c failed on Windows

2008-04-27 Thread Kasun Indrasiri
Hi, I tested axis2/c on windows with both Guththila and libxml. - Everything works perfectly with Guththila - it failed with libxml. (We tested this on couple of win xp and vista machines) Can it be due to a version incompatibility with external libraries. Here are the library versions that

Re: Axis2/c failed on Windows

2008-04-26 Thread Kasun Indrasiri
Hi, Here is the call stack. I've attached the log file but theres not much info in it. Kasun msvcr80d.dll!_CrtIsValidHeapPointer(const void * pUserData=0x007c2788) Line 1963C++ msvcr80d.dll!_free_dbg_nolock(void * pUserData=0x007c2788, int nBlockUse=1) Line 1252 + 0x9 bytes

Re: Axis2/c failed on Windows

2008-04-26 Thread Kasun Indrasiri
This looks to me as if something wrong with repository. Did you make sure that you cleaned the old repo? Samisa... Hi, I have cleaned the old repo and we tested this on two machines and still getting the same error. Thanks. Kasun

Re: Axis2/c failed on Windows

2008-04-26 Thread Kasun Indrasiri
Hi, I tested this with getting a fresh copy of axis. Anyway I attached the axis2.xml herewith. Thanks, Kasun On 4/26/08, Dinesh Premalal [EMAIL PROTECTED] wrote: Hi Kasun, After looking at your axis2.log file [Sat Apr 26 13:07:43 2008] [debug] e:\axis2c\src\core\engine\phase.c(121)

Using Savan/C among two service

2008-04-25 Thread Kasun Indrasiri
Hi all, I used Savan/C to implement the federated sign-out mechanism based on WS-Eventing. I've encountered a scenario where several services(Subscribers) subscribing to a particular service (Publisher) and registering their interest of receiving notifications. Savan samples use a particular

Axis2/c failed on Windows

2008-04-25 Thread Kasun Indrasiri
Hi, Axis2/C was successfully built on windows.. but when we start the axis2_http server.. it failed by giving an strange error.. Thanks, Kasun

Re: Issue in using 'detach' for cloning

2008-02-17 Thread Kasun Indrasiri
IMHO, cloning is not a use case that we really need for a SOAP engine. If you are trying to use the same XML over and over again, passing it here and there, without modification, you are really routing stuff and not doing that many business logic processing. I am still trying to figure out

Re: Issue in using 'detach' for cloning

2008-02-16 Thread Kasun Indrasiri
Hi all, I think, through out this thread there are various possible implementations were discussed with their pros and cons. I agreed with Senaka that the clone method should not be the 'best' or 'fast' one. And also Bill's ref count based implementation would suit where we may have to explicitly

Re: Issue in using 'detach' for cloning

2008-02-15 Thread Kasun Indrasiri
On 2/15/08, Samisa Abeysinghe [EMAIL PROTECTED] wrote: Once you detach, how are you going to use the detached node? Attach to another tree? Samisa... Hi, After detaching the node from the original node, the detached node is attached to another node (say node A) as a child node. Node A,

Re: Issue in using 'detach' for cloning

2008-02-14 Thread Kasun Indrasiri
is the Issued Token Assertion on WS-SecurityPolicy 1.0). And for my requirements, even detach would suffice if it handles namespace properly. But the implementation of a true clone method is quite complex than this. Thanks, Kasun Indrasiri.

Issue in using 'detach' for cloning

2008-02-12 Thread Kasun Indrasiri
Hi, -There is an issue in axiom_node_detach function which is related to namespaces. Once we detach a child node from a root node and then free the allocated memory for root node, the associated namespace for the detached node is also freed. For e.g. If we try to axiom_node_to_string - it

Axis2/C build failed

2008-02-06 Thread Kasun Indrasiri
Hi devs, Axis2/C build failed due to few minor issues in axutil_utils_defines.h. It is due to a problem in the preprocessor directive (in ANSI Type definitions for Windows). regards, Kasun.

Re: Cloning a portion of a XML tree using axiom

2008-02-05 Thread Kasun Indrasiri
Hi, In the case of using axiom_element_get_children_with_qname(...) method, once the initial axiom_node is freed (say sec-policy is freed in above example) then the node that we extracted through the iterator (which is to be used for WS-Trust ) will be also freed. What I really want to acheive

Re: Cloning a portion of a XML tree using axiom

2008-02-05 Thread Kasun Indrasiri
Hi Dinesh, This would solve the problem. Thanks. Kasun

Cloning a portion of a XML tree using axiom

2008-02-04 Thread Kasun Indrasiri
Hi, I want to get a copy of a portion of a XML tree using Axiom. Actually what I have is an axiom node which contains: sp:IssuedToken sp:IncludeToken=xs:anyURI ... sp:Issuerwsa:EndpointReferenceType/sp:Issuer sp:RequestSecurityTokenTemplate TrustVersion=xs:anyURI ..

Accessing the SOAP headers at the svc_client side

2008-01-24 Thread Kasun Indrasiri
Hi, Is it possible to access the SOAP headers from the client side in Axis2/c. In service side, we have the access to SOAP headers in 'invoke' method using axis2_msg_ctx_t, where we can get in_msg_ctx through axis2_op_ctx_t. Can we do this kind of thing in svc_client side? axis2_svc_client

[jira] Created: (AXIS2C-683) JSON support for Axis2/C

2007-08-31 Thread Kasun Indrasiri (JIRA)
Studio.NET 2005 Reporter: Kasun Indrasiri Fix For: Current (Nightly) JSON support for Axis2/C able to handle incomming JSON strings and able to send JSON strings. It identifies the JSON content and handle the request and capable of sending responses to the JSON service

[jira] Updated: (AXIS2C-683) JSON support for Axis2/C

2007-08-31 Thread Kasun Indrasiri (JIRA)
[ https://issues.apache.org/jira/browse/AXIS2C-683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kasun Indrasiri updated AXIS2C-683: --- Attachment: json_support_axis2c.zip JSON Support for Axis2/C JSON support for Axis2/C

JSON - Integrated with Axis2/C

2007-08-28 Thread Kasun Indrasiri
Hi, I have integrated JSON parser with Axis2/C and successfully tested for server side request handling(JSON Reader) using echo service. I have to test it for sending the JSON string (JSON writer). As we dicided earlier, we are converting in comming JSON string to a XML string when we are

JSON-Axis2/C

2007-08-13 Thread Kasun Indrasiri
Hi, I'm implementing the Badgerfish JSON writer these days.The JSON writer should process the generated axiom object model and writer is responsible to process it and generate the relevent JSON string. Since there is no inline converstion from XML (or axiom om) to JSON we have to have some sort

JSON - Axis2C

2007-07-13 Thread Kasun Indrasiri
Hi all, The Wiki pages on the JSON Support for Axis2/C and project progress are uploaded at http://wiki.apache.org/ws/GSOC2007/JSON_Support_Axis2C http://wiki.apache.org/ws/GSOC2007/JSON_Support_Axis2C/ProjectProgress regrads, Kasun

JSON-Axis2/C

2007-07-10 Thread Kasun Indrasiri
Hi, I do have few issues in converting the JSON to XML using Badgerfish convention. ยท Currently the Badgerfish convention is not supporting the *XML Mixed Content*. (Element and text nodes). In order to support mixed content there are few suggestions available. One common solution is to

JSON - Axis2C(GSoC)

2007-07-03 Thread Kasun Indrasiri
Hi, In JSON Support for Axis2C project I have completed the Badgerfish reader which read the JSON string and convert it to relevant xml string. In this case, there is an option of reusing a xml writer like 'Guththila' to generate the xml. (i.e. Once we identify the elements/attributes of JSON

JSON Support for Axis2C (GSoC2007)

2007-06-14 Thread Kasun Indrasiri
Hi all, There are few issues on having a StAX parser for parse JSON strings. This is mainly due to the integration problems of JSON parser with Axis. Therefore a direct conversion of JSON to XML and XML to JSON would be a possible solution. In this case we read the JSON string and convert it to

JSON Support for Axis2C

2007-06-13 Thread Kasun Indrasiri
Hi, Currently I have been implementing the StAX parser for 'Badgerfish' convention. Since there are two conventions to follow (Badgerfish and Mapped) when we are parsing JSON, I created two readers where each reader follows different conventions. StAX XML Reader |- 'Badgerfish' Reader

JSON Support for Axis2C(GSoC2007)

2007-06-01 Thread Kasun Indrasiri
Hi, I do have few things to clarify regarding the JSON support for Axis2C project. - In the case of implementing the StAX parser I have two options of developing it as an integrated module to Axis or as a separate module. (Even though the interfaces of StAX parser should be sync. with Axis

JSON support for Axis2C (GSoC2007)

2007-05-30 Thread Kasun Indrasiri
Hi, I have been working on the implementation of StAX parser for JSON support for Axis2C project and I went through the StAX wrapper that is used in Axis2C. I basically had look at *axiom_xml_reader.h* and *axiom_xml_writer.h *and I do have few doubts on the regarding the implementation of the

JSON Support for Axis2C: Wiki uploaded

2007-04-20 Thread Kasun Indrasiri
Hi all, The wiki of JSON Support for Axis 2C is now available at following link. http://wiki.apache.org/ws/GSOC2007/JSON_Support_Axis2C Thanks Regards, Kasun. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional