Re: using faults w/ wsdl2c

2010-02-15 Thread Selvaratnam Uthaiyashankar
that said there is some new features in the latest axis2 WSDL2C generator code.  Is my understanding that on this mailing list when folks refer to axis2, they mean axis2/java not axis2/c, correct? At this time are there binaries for the latest axis2 WSDL2C generator code or does one still need to go

Re: using faults w/ wsdl2c

2010-02-12 Thread Sam Carleton
there is some new features in the latest axis2 WSDL2C generator code.  Is my understanding that on this mailing list when folks refer to axis2, they mean axis2/java not axis2/c, correct? At this time are there binaries for the latest axis2 WSDL2C generator code or does one still need to go to the nightly

Re: using faults w/ wsdl2c

2010-02-11 Thread Sam Carleton
Ok, I am trying to figure out to use faults with Axis2/C. There was a thread back in December that said there is some new features in the latest axis2 WSDL2C generator code. Is my understanding that on this mailing list when folks refer to axis2, they mean axis2/java not axis2/c, correct

Re: using faults w/ wsdl2c

2010-02-11 Thread Selvaratnam Uthaiyashankar
that said there is some new features in the latest axis2 WSDL2C generator code.  Is my understanding that on this mailing list when folks refer to axis2, they mean axis2/java not axis2/c, correct? At this time are there binaries for the latest axis2 WSDL2C generator code or does one still need to go

Re: using faults w/ wsdl2c

2009-12-15 Thread Dimuthu Gamage
On Sat, Dec 5, 2009 at 5:56 AM, Samisa Abeysinghe sam...@wso2.com wrote: On Fri, Dec 4, 2009 at 11:09 PM, Sam Carleton scarle...@gmail.com wrote: Dimuthu, Where EXACTLY does one find the latest WSDL2C code? Is it in an build or is it in the Axis2/Java SVN repository? Hi, In fact

Re: WSDL2C: Deconflicting Duplicate Types and Methods Between WSDLs

2009-12-04 Thread Dimuthu Gamage
31, 2009 at 4:47 PM, Andrew Grissom andrew_gris...@yahoo.comwrote: I have a project where I have multiple WSDLs that contain a types with the same name, but with different definitions, and methods with the same name but different parameters. When I generate the code using: WSDL2C -uri MyWSDL1

Re: using faults w/ wsdl2c

2009-12-04 Thread Sam Carleton
Dimuthu, Where EXACTLY does one find the latest WSDL2C code? Is it in an build or is it in the Axis2/Java SVN repository? Sam On Thu, Dec 3, 2009 at 10:57 PM, Dimuthu Gamage dimut...@gmail.com wrote: Hi, If you use the latest axis2 WSDL2C generator code, you don't need to create soap

Re: using faults w/ wsdl2c

2009-12-04 Thread Samisa Abeysinghe
On Fri, Dec 4, 2009 at 11:09 PM, Sam Carleton scarle...@gmail.com wrote: Dimuthu, Where EXACTLY does one find the latest WSDL2C code? Is it in an build or is it in the Axis2/Java SVN repository? Axis2 svn. Samisa... Sam On Thu, Dec 3, 2009 at 10:57 PM, Dimuthu Gamage dimut

Re: using faults w/ wsdl2c

2009-12-03 Thread Dimuthu Gamage
Hi, If you use the latest axis2 WSDL2C generator code, you don't need to create soap fault message manually as the generated code provide lot of support in generating fault message. Please have a look at this for the improved API, http://www.dimuthu.org/blog/2009/02/09/code-generate-custom-soap

RE: using faults w/ wsdl2c

2009-11-17 Thread Doug Price
To: Apache AXIS C User List Subject: Re: using faults w/ wsdl2c Please see attached document - Original Message - From: Doug Price doug.pr...@presagis.com To: axis-c-user@ws.apache.org Sent: Monday, November 16, 2009 4:47 PM Subject: using faults w/ wsdl2c I created a simple web service w

Re: using faults w/ wsdl2c

2009-11-17 Thread Amir Mousavizadegan
axis-c-user@ws.apache.org Sent: Tuesday, November 17, 2009 11:05 AM Subject: RE: using faults w/ wsdl2c Just what I was looking for. Thanks so much. A quick follow up question on the code though. Is there a reason that axis2_svc_skel_Division_on_fault() doesn't use the adv_divFault api

RE: using faults w/ wsdl2c

2009-11-17 Thread Doug Price
the sender by reply e-mail and delete the original and any copies from your system. -Original Message- From: Amir Mousavizadegan [mailto:amir.mousavizade...@cox.net] Sent: Tuesday, November 17, 2009 10:29 AM To: Apache AXIS C User List Subject: Re: using faults w/ wsdl2c I did not write

WSDL2C: Deconflicting Duplicate Types and Methods Between WSDLs

2009-10-31 Thread Andrew Grissom
I have a project where I have multiple WSDLs that contain a types with the same name, but with different definitions, and methods with the same name but different parameters. When I generate the code using: WSDL2C -uri MyWSDL1.wsdl -d adb -u -o $OUTPUT_DIR Everything is fine if I create

Problem in deserialization with WSDL2C generated code

2009-07-24 Thread Unai Estébanez
Hi, I have a problem with my client while I try to deserialize my server response. Please, could anybody help me? I generate the server and client code with WSDL2C client: /usr/local/axis2c/bin/tools/wsdl2c/WSDL2C.sh -uri ./rsu_vars.wsdl -sp -d adb -uw --noBuildXML server: /usr/local/axis2c/bin

Re: WSDL2C: What to do after compiling Axis2 1.4.1. nightly build

2009-05-01 Thread Rajika Kumarasiri
On Sat, May 2, 2009 at 5:18 AM, Sam Carleton scarle...@miltonstreet.comwrote: Folks, hi Sam, I am after the latest greatest WSDL2C, which from my understanding is in the Axis2/Java nightly build. I happen to be one of those C/C++ developers that does not know Java all that well. I have

Re: WSDL2C: What to do after compiling Axis2 1.4.1. nightly build

2009-05-01 Thread Sam Carleton
1. XPath support for Axiom XML object model 2. CGI support 3. Improvements to MTOM to send, receive very large attachments 4. Improvements to AMQP transport 5. Improvements to WSDL2C codegen tool How are Improvements to WSDL2C codegen tool a major

Re: WSDL2C: What to do after compiling Axis2 1.4.1. nightly build

2009-05-01 Thread Rajika Kumarasiri
. Improvements to WSDL2C codegen tool How are Improvements to WSDL2C codegen tool a major change to Axis2/C version 1.6.0? Isn't WSDL2C part of the Axis2, which is still 1.4.1? The WSDL2C tool is maintained by Axis2/C community. After releasing 1.5.0 there are some bug fixes

question modifying WSDL2C generated stubs

2009-04-16 Thread Lefrancois, Carl
Hello, this should be easy but I failed. I want to skip deserialisation of one element in a WSDL2C-generated stub. I comment out the block that does the deserialisation, but in the next block I lose current_node: current_node = axiom_node_get_next_sibling(current_node, env); current_node

Re: WSDL2C exception

2009-04-06 Thread Anil
Dimuthu On Sun, Apr 5, 2009 at 10:06 AM, Anil anil.pund...@gmail.com wrote: I was trying to generate skelton and stub code from a wsdl file using WSDL2C.(axis2-1.4.1). It works fine when i am connected to internet. But throws exception when i am offline. Is it mandatory to be connected

Re: WSDL2C exception

2009-04-05 Thread Dimuthu Gamage
to generate skelton and stub code from a wsdl file using WSDL2C.(axis2-1.4.1). It works fine when i am connected to internet. But throws exception when i am offline. Is it mandatory to be connected to internet when running WSDL2C? or am i missing any of the option in WSDL2C?? Please guide/coorect me if i

One service, one module? and WSDL2C has a few errors...

2009-04-04 Thread Sam Carleton
I have continued on my quest to try to get multiple services into one WSDL. I think I have the WSDL correct, there are simply multiple service sections (see My WSDL at the bottom of the email). I am running into a number of issues: 1: The WSDL2C only creates an invoke to handle one of the two

Re: WSDL2C tool

2009-04-04 Thread Dimuthu Gamage
/ws_visa / /wsdl:port /wsdl:service /wsdl:definitions Now when I try to generate the client code using the command: java org.apache.axis2.wsdl.WSDL2C -uri wsdl_file -sd -d none it generates the client stub. However, there is a lot of difference between the WSDL2JAVA and WSDL2C tools

Re: One service, one module? and WSDL2C has a few errors...

2009-04-04 Thread Dimuthu Gamage
Hi Sam, Yea the wsdl2c tool doen't generate service groups. You can choose which service to generate code using -sn service_name. If there are errors in the generated services.xml file can you please raise a jira, if possible please attach the complete wsdl as well. Thanks Dimuthu On Sat, Apr 4

Re: One service, one module? and WSDL2C has a few errors...

2009-04-04 Thread Sam Carleton
On Sat, Apr 4, 2009 at 10:06 PM, Dimuthu Gamage dimut...@gmail.com wrote: Hi Sam, Yea the wsdl2c tool doen't generate service groups. You can choose which service to generate code using -sn service_name. If there are errors in the generated services.xml file can you please raise a jira

WSDL2C exception

2009-04-04 Thread Anil
I was trying to generate skelton and stub code from a wsdl file using WSDL2C.(axis2-1.4.1). It works fine when i am connected to internet. But throws exception when i am offline. Is it mandatory to be connected to internet when running WSDL2C? or am i missing any of the option in WSDL2C?? Please

Re: WSDL2C tool

2009-04-03 Thread ramesh Gopal
org.apache.axis2.wsdl.WSDL2C -uri wsdl_file -sd -d none it generates the client stub. However, there is a lot of difference between the WSDL2JAVA and WSDL2C tools. The WSDL2C generates the code taking a node as an input value. Then it becomes imperative that the user forms the xml request and sends

Where is WSDL2C Tool

2009-03-28 Thread Sam Carleton
I am looking for the WSDL2C Tool and I am not seeing it in the Java version of Axis2 1.4.1 and I am not seeing it anywhere in the download from this link: http://ws.apache.org/axis2/download/1_4_1/download.cgi Where might I find the WSDL2C Tool? Sam

Re: Where is WSDL2C Tool

2009-03-28 Thread Dimuthu Gamage
Well, There is no script to load the wsdl2c tool in the axis2/java pack. But all the relevent classes are there. You can either use the script in the axis2/c disto (inside tools directory) or change the wsdl2java.sh/bat to use WSDL2C class instead of WSDL2Java class Thanks Dimuthu On Sat, Mar 28

Re: Where is WSDL2C Tool

2009-03-28 Thread Sam Carleton
Dimuthu, Thank you. I actually figured out exactly that about an hour ago and I just blogged about it so that if others have the same question, hopefully my experience will help them find it faster;) http://photoparata.blogspot.com/2009/03/where-did-wsdl2c-tool-go-in-axis2java.html Sam

problem with WSDL2C generated code and empty elements

2008-10-09 Thread Haszlakiewicz, Eric
submit the patch to the stylesheet used by WSDL2C as a axis2/c bug or a axis2/java bug? eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: problem with WSDL2C generated code and empty elements

2008-10-09 Thread Dimuthu Gamage
*)axiom_text_get_value(text_element, env); else text_value = ; status = adb_address_line_type_deserialize_from_string(_address_line_type, env, text_value, parent); Does that make sense? Should I submit the patch to the stylesheet used by WSDL2C as a axis2/c bug or a axis2/java bug? eric

wsdl2c question

2008-09-04 Thread Raghu Udupa
Hi, I am using wsdl2c tool to generate C code for model object with ADB bindings. For each XML element, I see 3 sets of files like adb_UserCode.c adb_UserCode.h adb_UserCode_type0.c adb_UserCode_type0.h adb_UserCode_type1.c adb_UserCode_type1.h I would like to know how what each

Re: wsdl2c question

2008-09-04 Thread Dimuthu Gamage
the parameters of getters and setters are simple types. Thanks Dimuthu On Fri, Sep 5, 2008 at 2:25 AM, Raghu Udupa [EMAIL PROTECTED] wrote: Hi, I am using wsdl2c tool to generate C code for model object with ADB bindings. For each XML element, I see 3 sets of files like adb_UserCode.c

RE : RE : RE : RE : WSDL2C deserialisation problem

2008-07-17 Thread Lefrancois, Carl
-Message d'origine- De : Dimuthu Gamage [mailto:[EMAIL PROTECTED] Envoyé : jeudi, juillet 17, 2008 10:46 À : Apache AXIS C User List Objet : Re: RE : RE : RE : WSDL2C deserialisation problem Hi Carl, Again I tried without any elements in the parent type, i.e. only with an attribute as in your case

RE : RE : RE : WSDL2C deserialisation problem

2008-07-16 Thread Lefrancois, Carl
: RE : WSDL2C deserialisation problem Hi Dimuthu, the parent type is xs:complexType name=ActivityType xs:attribute ref=addDataTypes:ObjectIdentifier use=optional/ /xs:complexType Please let me know if there is anything else I can send you to help figure this out. I already tried

WSDL2C deserialisation problem

2008-07-07 Thread Lefrancois, Carl
be a bug in WSDL2C logic. Below is a piece of the deserialise function for this element and the important lines have ### in front Because current node stays null, no qname is set on the line marked @@@. Then the if statement marked does not enter and finally the sub-element can

Re: WSDL2C deserialisation problem

2008-07-07 Thread Dimuthu Gamage
this line comes when deserialising another type of sub-element. This may be a bug in WSDL2C logic. Below is a piece of the deserialise function for this element and the important lines have ### in front Because current node stays null, no qname is set on the line marked

RE : WSDL2C deserialisation problem

2008-07-07 Thread Lefrancois, Carl
d'origine- De : Dimuthu Gamage [mailto:[EMAIL PROTECTED] Envoyé : lundi, juillet 7, 2008 14:41 À : Apache AXIS C User List Objet : Re: WSDL2C deserialisation problem Hi Carl, My guess is this has missed the statement current_node = first_node; but it is just a guess. If you can send us the schema

Re: RE : WSDL2C deserialisation problem

2008-07-07 Thread Dimuthu Gamage
: Re: WSDL2C deserialisation problem Hi Carl, My guess is this has missed the statement current_node = first_node; but it is just a guess. If you can send us the schema part which correspond to adb_CommercialActivityType we can find the error in the logic more easily and find exactly what

[AXIS2C] [WSDL2C] Tool usage problem.

2008-06-16 Thread Daniel Gorodowienko
Unfortunately I can not make it work, still. For command: C:\axis2c-bin-1.4.0-win32\siri-1.0java org.apache.axis2.wsdl.WSDL2C -uri my_file.wsdl -ss -sd -d none I got a response: Exception in thread main java.lang.NoClassDefFoundError: org/apache/axis2/wsdl/WSDL2C Caused

RE : [AXIS2C] [WSDL2C] Tool usage problem.

2008-06-16 Thread Lefrancois, Carl
Hello, I believe that exception means that the CLASSPATH environment variable needs fixing. It should include a reference to the Axis2 directory that contains the jar files for WSDL2C. I had the same problems when beginning to use WSDL2C. Keep at it, it works well eventually! hth

Re: RE : [AXIS2C] [WSDL2C] Tool usage problem.

2008-06-16 Thread Daniel Gorodowienko
. It should include a reference to the Axis2 directory that contains the jar files for WSDL2C. I had the same problems when beginning to use WSDL2C. Keep at it, it works well eventually! hth -Message d'origine- De : Daniel Gorodowienko [mailto:[EMAIL PROTECTED] Envoyé : lundi, juin 16, 2008

Re: code generated from WSDL2C is not compiling(axis2/java nightly build)

2008-06-09 Thread naveen bhat
Hi Dimuthu, Is there an update about the issue described in my previous mails?? Do i have to raise a JIRA for this issue ??? Kindly update me. Thanks in advance, Naveen Bhat On Fri, Jun 6, 2008 at 3:00 AM, naveen bhat [EMAIL PROTECTED] wrote: Hi Dimuthu, As you said you will fix this

WSDL2C and fault

2008-06-09 Thread Frederic Heem
Dear, Is it possible to generate a SOAP fault with the code generated by WSDL2C ? A fault can be generated for an In-Only message or only for In-Out message ? Best Regards, Frederic Heem __ --- NOTICE

Re: code generated from WSDL2C is not compiling(axis2/java nightly build)

2008-06-09 Thread Dimuthu Gamage
Hi naveen, I will let you know when this is fixed in the svn. Nightly builds also will be updated soon. And feel free to raise JIRAS on all issues you face with axis2. Thanks Dimuthu On Mon, Jun 9, 2008 at 3:55 PM, naveen bhat [EMAIL PROTECTED] wrote: Hi Dimuthu, Is there an update about the

Re: WSDL2C and fault

2008-06-09 Thread Dimuthu Gamage
Hi Frederic, Usually the case is if you set an error and return NULL from the business logic, the server should return an fault. (even in in-only messages the server should be able to respond with faults) But generated code for WSDL2C tool currently having problem in returning soap faults

code generated from WSDL2C is not compiling(axis2/java nightly build)

2008-06-06 Thread naveen bhat
Hello group, With reference to the fix provided for the issue AXIS2C-1168( https://issues.apache.org/jira/browse/AXIS2C-1168?focusedCommentId=12601) i.e the nightly build of axis2/java. I generated the server side skeleton code without adb using the axis2/java nightly build available at the

Re: code generated from WSDL2C is not compiling(axis2/java nightly build)

2008-06-06 Thread Dimuthu Gamage
hi naveen, I don't think there were much changes in skeleton headers after 1.4. Since you got this working after including axiom_soap header, I may be able to solve this issue by including that header from the codegen template itself. Thanks Dimuthu On Fri, Jun 6, 2008 at 3:56 PM, naveen bhat

Re: code generated from WSDL2C is not compiling(axis2/java nightly build)

2008-06-06 Thread naveen bhat
Hi Dimuthu, As you said you will fix this issue, will it be available as a seperate nightly build of axis2/java. If so, please provide me the link where the updated axis2/java resides with the fix for this problem. Thanks, Naveen On Fri, Jun 6, 2008 at 2:54 AM, Dimuthu Gamage [EMAIL PROTECTED]

Re: WSDL2C is not generating soap 1.2 compliant client stubs for wsdl with soap 1.2 bindings

2008-05-30 Thread naveen bhat
for a wsdl with soap 1.2 bindings. I am not finding any options in WSDL2C tool to generate client code for soap 1.2 . I also tried to set the soap version to 1.2 (in main function of client) before calling the operation defined in stub ,but this did not work as the soap version was reset back

Re: WSDL2C is not generating soap 1.2 compliant client stubs for wsdl with soap 1.2 bindings

2008-05-30 Thread Dimuthu Gamage
On Fri, May 30, 2008 at 1:49 AM, Dimuthu Gamage [EMAIL PROTECTED] wrote: Hi naveen, In fact looks like this is not possible with the current wsdl2c generated code. It just pick the first binding and generate code for that. Can you please raise a JIRA. I will look in to that asap. Thanks

WSDL2C is not generating soap 1.2 compliant client stubs for wsdl with soap 1.2 bindings

2008-05-26 Thread naveen bhat
it should be AXIS2_SOAP12 for a wsdl with soap 1.2 bindings. I am not finding any options in WSDL2C tool to generate client code for soap 1.2 . I also tried to set the soap version to 1.2 (in main function of client) before calling the operation defined in stub ,but this did not work as the soap version

RE : WSDL2C: structure definition is generated in C file so sizeof fails compilation

2008-04-21 Thread Lefrancois, Carl
- De : alebu [mailto:[EMAIL PROTECTED] Envoyé : lundi, avril 21, 2008 08:38 À : Apache AXIS C User List Objet : WSDL2C: structure definition is generated in C file so sizeof fails compilation Hi, I am generating web service using WSDL2C. In generated

RE: RE : WSDL2C: structure definition is generated in C file so sizeof fails compilation

2008-04-21 Thread Kamath, Navin
better wait for more comments from experts before implementing it rapidly Regards, Navin From: Lefrancois, Carl [mailto:[EMAIL PROTECTED] Sent: 21 April 2008 14:26 To: Apache AXIS C User List Subject: RE : WSDL2C: structure definition is generated in C file

Re: WSDL2C: structure definition is generated in C file so sizeof fails compilation

2008-04-21 Thread Dimuthu Gamage
] wrote: Hi, I am generating web service using WSDL2C. In generated code I got such a division of sources: In header (.h) file i got type declaration like: typedef struct adb_my_type adb_my_type_t; But adb_my_type structure is located in source file (.c): struct adb_my_type

Re: RE : WSDL2C: structure definition is generated in C file so sizeof fails compilation

2008-04-21 Thread Dimuthu Gamage
, Navin From: Lefrancois, Carl [mailto:[EMAIL PROTECTED] Sent: 21 April 2008 14:26 To: Apache AXIS C User List Subject: RE : WSDL2C: structure definition is generated in C file so sizeof fails compilation Hi Alebu, I may be mistaken

Problems with WSDL2C generated code - ADB deserialize fails perhaps

2008-04-18 Thread alebu
Hi, I am trying to use WSDL2C utility to create stab for my web-service, but at this moment can't undersand whats wrong: Code generator works incorrectly or my provided WSDL is wrong in some way. In general, when I created very simple web-service which gets and returns string from http://www.w3

Re: Problems with WSDL2C generated code - ADB deserialize fails perhaps

2008-04-18 Thread Dimuthu Gamage
Hi alebu, Are you using axis2/Java 1.3.0 for the WSDL2C tool. If so please try again with the Axis2/Java nightly build, http://people.apache.org/dist/axis2/nightly Thanks Dimuthu On Fri, Apr 18, 2008 at 3:57 PM, alebu [EMAIL PROTECTED] wrote: Hi, I am trying to use WSDL2C utility to create

Re: Problems with WSDL2C generated code - ADB deserialize fails perhaps

2008-04-18 Thread alebu
Yes, that soved problem with complex type. Thanks. I will do tests with more complex data. Hope those tests will be successful. On Fri, Apr 18, 2008 at 1:24 PM, Dimuthu Gamage [EMAIL PROTECTED] wrote: Hi alebu, Are you using axis2/Java 1.3.0 for the WSDL2C tool. If so please try again

Re: WSDL2C

2008-04-04 Thread Dimuthu Gamage
Regards, Navin -Original Message- From: Dimuthu Gamage [mailto:[EMAIL PROTECTED] Sent: 03 April 2008 19:06 To: Apache AXIS C User List Subject: Re: WSDL2C Oops, looks like it is not part of the windows build. Should be corrected in the next incomming patch release

Re: WSDL2C

2008-04-04 Thread Dimuthu Gamage
User List Subject: Re: WSDL2C Oops, looks like it is not part of the windows build. Should be corrected in the next incomming patch release. For the time being, please copy the scripts form https://svn.apache.org/repos/asf/webservices/axis2/trunk/c/tools/codegen /javatool

WSDL2C

2008-04-03 Thread Kamath, Navin
Hi there, I want to use WSDL2C tool from Axis2 on windows to generate some C code. But no matter which version I download I don't see the tool in bin folder. I understand that the tool itself belongs to Axis2/J. The versions I tried are http://ws.apache.org/axis2/download/1_3/download.cgi using

Re: WSDL2C

2008-04-03 Thread Dimuthu Gamage
Try to use the WSDL2C scripts in the tools/codegen/javatool directory of the axis2/C distribution. Note that you have to set AXIS2_HOME to the Axis2/Java distribution. Thanks Dimuthu On Thu, Apr 3, 2008 at 11:09 PM, Kamath, Navin [EMAIL PROTECTED] wrote: Hi there, I want to use WSDL2C tool

RE: WSDL2C

2008-04-03 Thread Kamath, Navin
: Dimuthu Gamage [mailto:[EMAIL PROTECTED] Sent: 03 April 2008 18:51 To: Apache AXIS C User List Subject: Re: WSDL2C Try to use the WSDL2C scripts in the tools/codegen/javatool directory of the axis2/C distribution. Note that you have to set AXIS2_HOME to the Axis2/Java distribution. Thanks Dimuthu

Re: WSDL2C: core dumped in generated code.

2008-03-14 Thread Simone Bordin
, simone Dimuthu Gamage wrote: Hi Simone, I doubt whether it is a problem of WSDL2C as i coudn't see anything related to ADB (ADB is the most possible place to find errors in the codegen), BTW are you using the latest nightly build (from http://people.apache.org/dist/axis2/nightly/ ) or 1.3

Re: possible bug in WSDL2C-generated code

2008-03-12 Thread Carl Lefrançois
On Wed, Mar 12, 2008 at 12:42 AM, Carl Lefrançois [EMAIL PROTECTED] wrote: Hi all, After much debugging I have found why an access violation is being caused in my WSDL2C-generated code. While processing the following document: (http : // removed due to problems with my emails being

Re: possible bug in WSDL2C-generated code

2008-03-12 Thread Dimuthu Gamage
the problem. Thanks Dimuthu On Wed, Mar 12, 2008 at 12:42 AM, Carl Lefrançois [EMAIL PROTECTED] wrote: Hi all, After much debugging I have found why an access violation is being caused in my WSDL2C-generated code. While processing the following document: (http : // removed

WSDL2C: core dumped in generated code.

2008-03-12 Thread Simone Bordin
I have a problem with client services generated with WSDL2C. When i use it in my application, sometimes it crashes. Bottom there's the stack trace that is printed when this happend. Is this a problem in code generated from WSDL2C? Thanx, simone *** glibc detected *** ./com_fonia: double

Re: possible bug in WSDL2C-generated code

2008-03-12 Thread Senaka Fernando
Hi Carl, Try this, Replace: end_input_str = (axis2_char_t*)AXIS2_MALLOC(env-allocator, sizeof(axis2_char_t) * (5 + ADB_DEFAULT_DIGIT_LIMIT + axutil_strlen(RequestParameters))); With: end_input_str = (axis2_char_t*)AXIS2_MALLOC(env-allocator, sizeof(axis2_char_t)

Re: possible bug in WSDL2C-generated code

2008-03-12 Thread Dimuthu Gamage
Hi, The problem is due to double freeing the end_input_str. I fixed it in the svn, axutil_stream_write(stream, env, start_input_str, start_input_str_len); AXIS2_FREE(env-allocator,end_input_str); This should be corrected to

Re: possible bug in WSDL2C-generated code

2008-03-12 Thread Senaka Fernando
Hi all, Oh! sorry I didn't notice that. I simply was under the impression that the allocated string size lead to a buffer overrun. Dimuthu, thanks for noticing that. Regards, Senaka Hi, The problem is due to double freeing the end_input_str. I fixed it in the svn,

Re: WSDL2C: core dumped in generated code.

2008-03-12 Thread Dimuthu Gamage
) there's the crash problem. Do u think is this the problem? Thanks, simone Dimuthu Gamage wrote: Hi Simone, I doubt whether it is a problem of WSDL2C as i coudn't see anything related to ADB (ADB is the most possible place to find errors in the codegen), BTW are you using the latest

Re: WSDL2C CodeGenerationException

2008-03-12 Thread Carl Lefrançois
Hi Milinda, All Please ignore this thread. Dimuthu pointed out that I was using an old version of the WSDL2C tool and with the snapshot build the WSDL compiles with no problems. My apologies! Carl

possible bug in WSDL2C-generated code

2008-03-11 Thread Carl Lefrançois
Hi all, After much debugging I have found why an access violation is being caused in my WSDL2C-generated code. While processing the following document: (http : // removed due to problems with my emails being flagged as spam) ?xml version='1.0' encoding='UTF-8'? soapenv:Envelope xmlns:soapenv

re possible bug in WSDL2C-generated code

2008-03-11 Thread Carl Lefrançois
Hi all, In my last email I mentioned an om_text data element. Though the variable is called om_text, the type is actually axiom_text defined in om_text.c line 38. Carl

Re: possible bug in WSDL2C-generated code

2008-03-11 Thread Dimuthu Gamage
Hi Carl, If you can send us the relevant generated adb_ file it would be easy to track the problem. Thanks Dimuthu On Wed, Mar 12, 2008 at 12:42 AM, Carl Lefrançois [EMAIL PROTECTED] wrote: Hi all, After much debugging I have found why an access violation is being caused in my WSDL2C

Re: possible bug in WSDL2C-generated code

2008-03-11 Thread Dimuthu Gamage
: Hi all, After much debugging I have found why an access violation is being caused in my WSDL2C-generated code. While processing the following document: (http : // removed due to problems with my emails being flagged as spam) ?xml version='1.0' encoding='UTF-8

problem with deserialize response using WSDL2C generated code

2008-03-10 Thread Carl Lefrançois
Hello group, I am getting an access violation on a call to axiom_element_get_qname() This call results from a call to Deserialize in WSDL2C generated code while processing the following document: ?xml version='1.0' encoding='UTF-8'? soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap

Re: problem with deserialize response using WSDL2C generated code

2008-03-10 Thread Dimuthu Gamage
' text. Thanks Dimuthu On Mon, Mar 10, 2008 at 10:19 PM, Carl Lefrançois [EMAIL PROTECTED] wrote: Hello group, I am getting an access violation on a call to axiom_element_get_qname() This call results from a call to Deserialize in WSDL2C generated code while processing the following document

Re: WSDL2C Generates Files with Compilation Errors

2008-03-10 Thread astuce
someone tell me where is the wsdl2c class/exe that generates a web service in C from a wsdl file? Also, the mod_axis2.dll I downloaded with axis2c (or the one I am building myself) is crushing Apache. Does anybody else see this problem? Thank you, Corneliu sreenivasulu guduru wrote: Hi I am

Re: WSDL2C Generates Files with Compilation Errors

2008-03-10 Thread Senaka Fernando
... Can someone tell me where is the wsdl2c class/exe that generates a web service in C from a wsdl file? The required shell scripts are found inside Axis2/C itself, and not in Axis2/Java. You'll find the tool, if using source distribution in tools/codegen/javatool. Or if using binary IIRC you

WSDL2C CodeGenerationException

2008-03-06 Thread Carl Lefrançois
Hello group, while attempting to use the WSDL2C tool there is a CodeGenerationException. I am not understanding the output: can someone say if it appears to be a bug in the code generator or a problem with the WSDL file? What element seems to be the problem in the WSDL? The WSDL is tested using

Re: WSDL2C CodeGenerationException

2008-03-06 Thread Milinda Pathirage
] wrote: Hello group, while attempting to use the WSDL2C tool there is a CodeGenerationException. I am not understanding the output: can someone say if it appears to be a bug in the code generator or a problem with the WSDL file? What element seems to be the problem in the WSDL? The WSDL

running WSDL2C

2008-03-02 Thread Sam Carleton
ran WSDL2C temp.wsdl -ss -sd -d adb -u and this was the output REM set AXIS2_HOME = C:\axis2-1.1\axis2-1.2-SNAPSHOT setlocal EnableDelayedExpansion set AXIS2_CLASSPATH=J:\Programs\axis2c FOR %c in (J:\Programs\axis2c\lib\*.jar) DO set AXIS2_CLASSPATH=!AXIS2_CLASSPATH!;%c; java -classpath J

Re: running WSDL2C

2008-03-02 Thread Senaka Fernando
me what looks like WSDL: http://localhost:1326/Service1.asmx?WSDL I saved that to path\axis2c-src-1.2.0\tools\codegen\javatool as temp.wsdl Then I ran WSDL2C temp.wsdl -ss -sd -d adb -u and this was the output REM set AXIS2_HOME = C:\axis2-1.1\axis2-1.2-SNAPSHOT setlocal

Re: running WSDL2C

2008-03-02 Thread Sam Carleton
: http://localhost:1326/Service1.asmx?WSDL I saved that to path\axis2c-src-1.2.0\tools\codegen\javatool as temp.wsdl Then I ran WSDL2C temp.wsdl -ss -sd -d adb -u and this was the output REM set AXIS2_HOME = C:\axis2-1.1\axis2-1.2-SNAPSHOT setlocal EnableDelayedExpansion set

Re: Memory leak in WSDL2C client code

2008-02-21 Thread Lahiru Gunathilake
. With valgrind i have found some memory leak in client generated with WSDL2C tool. Is this a known issue? The main problem is that some leaks are singalled in the the axis2c-1.2 library too. Will this problem fixed in the 1.3 version? Thanx, simone -- simone bordin developer

RE: Questions/suggestions on WSDL2C

2008-02-01 Thread Zhang, Wayne (IT)
Message- From: Dimuthu Gamage [mailto:[EMAIL PROTECTED] Sent: Thursday, January 31, 2008 5:44 PM To: Apache AXIS C User List Subject: Re: Questions/suggestions on WSDL2C Hi Zhang, Please see my inline comment to the code.. On Feb 1, 2008 1:30 AM, Zhang, Wayne (IT) [EMAIL PROTECTED] wrote: Hi

Re: Questions/suggestions on WSDL2C

2008-02-01 Thread Dimuthu Gamage
: Questions/suggestions on WSDL2C Hi Zhang, Please see my inline comment to the code.. On Feb 1, 2008 1:30 AM, Zhang, Wayne (IT) [EMAIL PROTECTED] wrote: Hi, Thanks to all for your quick responses. I think a simple demo client (with useful inlined comments explaining what a user should do

Re: Questions/suggestions on WSDL2C

2008-02-01 Thread Dimuthu Gamage
, 2008 12:56 PM To: Apache AXIS C User List Subject: Re: Questions/suggestions on WSDL2C Hi, Looking at your gdb.txt, i feel that there is a memory corruption somewhere.. because parent_tag_closed is supposed to have value 1, but it have some junk value. Although I m not sure one reason can

RE: Questions/suggestions on WSDL2C

2008-02-01 Thread Zhang, Wayne (IT)
the client and server working. Thanks a lot for your help! Wayne -Original Message- From: Dimuthu Gamage [mailto:[EMAIL PROTECTED] Sent: Friday, February 01, 2008 1:53 PM To: Apache AXIS C User List Subject: Re: Questions/suggestions on WSDL2C I didn't see you have attached

Re: Questions/suggestions on WSDL2C

2008-02-01 Thread Dimuthu Gamage
. Thanks Dimuthu I now have both the client and server working. Thanks a lot for your help! Wayne -Original Message- From: Dimuthu Gamage [mailto:[EMAIL PROTECTED] Sent: Friday, February 01, 2008 1:53 PM To: Apache AXIS C User List Subject: Re: Questions/suggestions on WSDL2C

RE: Questions/suggestions on WSDL2C

2008-01-31 Thread Zhang, Wayne (IT)
the proper way if this is not recommended). WSDL2C generates the following header code but I'm not sure what to do with each function (see my inlined questions): /* function prototypes - for header file */ /** * axis2_stub_create_CalculatorService * Create

Re: Questions/suggestions on WSDL2C

2008-01-31 Thread Mark Nüßler
code.. That works only for in-out MEP. Anyway what we are planning to generate with WSDL2C tool is not much complicated as that. I wish we could have used the Ruby script, the only problem with that is we have to assume users would have Ruby. This would specially be problematic with Windows users

Re: Questions/suggestions on WSDL2C

2008-01-31 Thread Dimuthu Gamage
with WSDL2C tool is not much complicated as that. I wish we could have used the Ruby script, the only problem with that is we have to assume users would have Ruby. This would specially be problematic with Windows users :( Hi, I don't think we should use the Ruby Script as a kind

Re: Questions/suggestions on WSDL2C

2008-01-31 Thread Dimuthu Gamage
of it. Now back to the problems I encountered with the client. (I apologize for the following long copy-and-paste text, please tell me the proper way if this is not recommended). WSDL2C generates the following header code but I'm not sure what to do with each function (see my inlined questions

Re: Questions/suggestions on WSDL2C

2008-01-30 Thread Dimuthu Gamage
I mentioned there, recursively fills the object matching pattern in the generated code.. That works only for in-out MEP. Anyway what we are planning to generate with WSDL2C tool is not much complicated as that. Thanks Dimuthu 2). If we are generating makefiles we may need to think about both

Re: Questions/suggestions on WSDL2C

2008-01-30 Thread Dimuthu Gamage
need to worry about complex types in the demo client.. That indeed should be done by the user. BTW the ruby script I mentioned there, recursively fills the object matching pattern in the generated code.. That works only for in-out MEP. Anyway what we are planning to generate with WSDL2C

Re: Questions/suggestions on WSDL2C

2008-01-30 Thread Mark Nüßler
the object matching pattern in the generated code.. That works only for in-out MEP. Anyway what we are planning to generate with WSDL2C tool is not much complicated as that. I wish we could have used the Ruby script, the only problem with that is we have to assume users would have Ruby. This would

Re: Questions/suggestions on WSDL2C

2008-01-30 Thread Dimuthu Gamage
in the generated code.. That works only for in-out MEP. Anyway what we are planning to generate with WSDL2C tool is not much complicated as that. I wish we could have used the Ruby script, the only problem with that is we have to assume users would have Ruby. This would specially

  1   2   >