axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karolina Sarnowska (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2C-1207) Compile errors: 'AXIS2_HASH_STRING' and 'i' are undeclared in WSDL2C generated code
Date Fri, 04 Jul 2008 07:55:42 GMT

     [ https://issues.apache.org/jira/browse/AXIS2C-1207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Karolina Sarnowska updated AXIS2C-1207:
---------------------------------------

    Attachment: wsdlFiles.tar

I am attaching the WSDL files used to generate the skeleton C code that contained the reported
errors.

> Compile errors: 'AXIS2_HASH_STRING' and 'i' are undeclared in WSDL2C generated code
> -----------------------------------------------------------------------------------
>
>                 Key: AXIS2C-1207
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1207
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: code generation
>    Affects Versions: 1.4.0
>         Environment: Linux
>            Reporter: Karolina Sarnowska
>            Assignee: Milinda Lakmal Pathirage
>            Priority: Minor
>         Attachments: wsdlFiles.tar
>
>
> In using the build script to compile WSDL2C generated code, there are errors because
of undeclared variables in the code:
>   'i' and 'AXIS2_HASH_STRING'
>   
> I resolved the first declaration issue by adding 'int i' declarations as needed.
> I resolved the second declaration issue by examining the code and realizing that the
variable should be called AXIS2_HASH_KEY_STRING instead of AXIS2_HASH_STRING.
> After making these changes, the WSDL2C generated code compiles without errors using the
build script.
> I used the WSDL2C tool with the following parameters:
> ./WSDL2C.sh -uri RNS.wsdl -u -ss -sd -o RNS_Service_Code -d adb
> The compilation errors:
> > ./build.src
> src/adb_AttributedQNameType.c: In function `adb_AttributedQNameType_serialize_to_string':
src/adb_AttributedQNameType.c:326: error: `AXIS2_HASH_STRING' undeclared (first use in this
function) src/adb_AttributedQNameType.c:326: error: (Each undeclared identifier is reported
only once src/adb_AttributedQNameType.c:326: error: for each function it appears in.)
> src/adb_AttributedQNameType.c: In function `adb_AttributedQNameType_serialize': src/adb_AttributedQNameType.c:390:
error: `i' undeclared (first use in this function)
> src/adb_AttributedUnsignedLongType.c: In function `adb_AttributedUnsignedLongType_serialize':
src/adb_AttributedUnsignedLongType.c:307: error: `i' undeclared (first use in this function)
src/adb_AttributedUnsignedLongType.c:307: error: (Each undeclared identifier is reported only
once src/adb_AttributedUnsignedLongType.c:307: error: for each function it appears in.)
> src/adb_AttributedURIType.c: In function `adb_AttributedURIType_serialize': src/adb_AttributedURIType.c:305:
error: `i' undeclared (first use in this function) src/adb_AttributedURIType.c:305: error:
(Each undeclared identifier is reported only once src/adb_AttributedURIType.c:305: error:
for each function it appears in.)
> src/adb_RelatesToType.c: In function `adb_RelatesToType_serialize': src/adb_RelatesToType.c:382:
error: `i' undeclared (first use in this function) src/adb_RelatesToType.c:382: error: (Each
undeclared identifier is reported only once src/adb_RelatesToType.c:382: error: for each function
it appears in.)

-- 
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-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Mime
View raw message