You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "nadir amra (JIRA)" <ax...@ws.apache.org> on 2006/12/30 06:58:21 UTC

[jira] Closed: (AXISCPP-1004) Compile errors in code generated for fault element with anonymous type

     [ http://issues.apache.org/jira/browse/AXISCPP-1004?page=all ]

nadir amra closed AXISCPP-1004.
-------------------------------

    Fix Version/s: current (nightly)
       Resolution: Fixed

I believe this is now resolved.  I resolved this by adding code in WSDL2Ws.java,method exposeMessagePartsThatAreAnonymousTypes(), in addition to checking input/output parameter types, will also check for fault types.  This was easier than I thought since the fault types are stored in the MethodInfo.

I also updated the FaultMappingDoc.wsdl so that one of the fault types is anonymous. 

> Compile errors in code generated for fault element with anonymous type
> ----------------------------------------------------------------------
>
>                 Key: AXISCPP-1004
>                 URL: http://issues.apache.org/jira/browse/AXISCPP-1004
>             Project: Axis-C++
>          Issue Type: Bug
>    Affects Versions:  1.6 Beta
>         Environment: axis-c-1.6b-Win32-trace-bin
> gcc (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)
> java version "1.5.0_08"
>            Reporter: Michael Koch
>         Assigned To: nadir amra
>             Fix For: current (nightly)
>
>         Attachments: testcase3.wsdl
>
>
> The C++  code generated by wsdl2ws does not compile if a fault element set as part in a fault message is of an anonymous complex type. The compiler lists errors in AxisServiceException.hpp and testcaseWrapper.cpp. I'll attach a test case.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org