You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Dave Meier <DM...@SERENA.com> on 2007/02/27 18:47:14 UTC

[Axis2] C code gen problem with "-" characters in defines

I submitted this bug a few months ago:
https://issues.apache.org/jira/browse/AXIS2C-433
 
It's a C code generation problem.
 
I still see the same problem in the latest java axis2 1.1.1 snapshot,
using WSDL2C, where it generates tags with "-" characters causing the
compile to fail:
 
#ifndef AXIS2_ATTACHMENT-ACCESS-TYPE_H

Is this not fixed in 1.1.1?  The snapshot is dated Jan 9th, 2007.

Thanks,

-Dave.



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.


Re: [Axis2] link error - missing axis2_rest_sender_get_param_string() method

Posted by Dushshantha Chandradasa <du...@gmail.com>.
this is fixed now. try with the latest svn.

Dushshantha

On 3/2/07, Dave Meier <DM...@serena.com> wrote:
>
>  axis2_rest_sender_get_param_string  is declared and called in
> rest_sender.c, but there is no method supplied.
>
>  Generating Code...
>    Creating library ..\deploy\lib\axis2_http_sender.lib and object
> ..\deploy\lib\axis2_http_sender.exp
> rest_sender.obj : error LNK2019: unresolved external symbol
> _axis2_rest_sender_get_param_string@12 referenced in function
> _axis2_rest_sender_send@20
> ..\deploy\lib\axis2_http_sender.dll : fatal error LNK1120: 1 unresolved
> externals
> NMAKE : fatal error U1077: 'link.exe' : return code '0x460'
> Stop.
>
> -Dave.
>
>
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. Any unauthorized review, use, disclosure or distribution is
> prohibited. If you are not the intended recipient, please contact the sender
> by reply e-mail and destroy all copies of the original message.
>

[Axis2] link error - missing axis2_rest_sender_get_param_string() method

Posted by Dave Meier <DM...@SERENA.com>.
axis2_rest_sender_get_param_string  is declared and called in
rest_sender.c, but there is no method supplied.
 
 Generating Code...
   Creating library ..\deploy\lib\axis2_http_sender.lib and object
..\deploy\lib\axis2_http_sender.exp
rest_sender.obj : error LNK2019: unresolved external symbol
_axis2_rest_sender_get_param_string@12 referenced in function
_axis2_rest_sender_send@20
..\deploy\lib\axis2_http_sender.dll : fatal error LNK1120: 1 unresolved
externals
NMAKE : fatal error U1077: 'link.exe' : return code '0x460'
Stop.
 
-Dave.


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.


RE: [Axis2] C code gen problem with "-" characters in defines

Posted by Dave Meier <DM...@SERENA.com>.
Okay, I finally got the latest trunk code for Axis2 Java built after
starting fresh.
 
The problem below is fixed there, but I did find a new problem with "-"
causing compile errors on the generated code.  If "-" characters are in
any of the types defined in the WSDL then code is generated that
incorrectly contains the "-" characters in method names.  Here's the
issue:
 
https://issues.apache.org/jira/browse/AXIS2-2270
 
-Dave.

________________________________

From: Dave Meier [mailto:DMeier@SERENA.com] 
Sent: Tuesday, February 27, 2007 9:47 AM
To: Apache AXIS C User List
Subject: [Axis2] C code gen problem with "-" characters in defines


I submitted this bug a few months ago:
https://issues.apache.org/jira/browse/AXIS2C-433
 
It's a C code generation problem.
 
I still see the same problem in the latest java axis2 1.1.1 snapshot,
using WSDL2C, where it generates tags with "-" characters causing the
compile to fail:
 
#ifndef AXIS2_ATTACHMENT-ACCESS-TYPE_H

Is this not fixed in 1.1.1?  The snapshot is dated Jan 9th, 2007.

Thanks,

-Dave.



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. Any unauthorized review, use, disclosure or distribution
is prohibited. If you are not the intended recipient, please contact the
sender by reply e-mail and destroy all copies of the original message.