axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chinthana Danapala (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Updated: (AXISCPP-606) In groupB.wsdl Auto generated client code fail to compile
Date Mon, 18 Apr 2005 05:26:57 GMT
     [ http://issues.apache.org/jira/browse/AXISCPP-606?page=history ]

Chinthana Danapala updated AXISCPP-606:
---------------------------------------

    Attachment: ClientStubWriter.java
                diff.txt
                Request_and_Respond .txt

I have made the changes to the ClientStubWriter.java file to solve this problem. Here I have
attached the file as well as the diff file. Now I can build the groupB sample and run it.
But still there is a problem in that when invoking echoStructAsSimpleTypes. Problem  is 
in InteropTestPortTypeB::echoStructAsSimpleTypes(…)  method 
	
	*OutValue0 = Value0->varString; 

This is cause the produce garbage.


> In groupB.wsdl Auto generated client code fail to compile
> ---------------------------------------------------------
>
>          Key: AXISCPP-606
>          URL: http://issues.apache.org/jira/browse/AXISCPP-606
>      Project: Axis-C++
>         Type: Bug
>   Components: Client - Stub
>     Versions: 1.5 Final
>     Reporter: Chinthana Danapala
>  Attachments: ClientStubWriter.java, Request_and_Respond .txt, diff.txt
>
> It give following error
>     [cc] 5 total files to be compiled.
>        [cc] SOAPStructStruct.cpp
>        [cc] SOAPArrayStruct.cpp
>        [cc] SOAPStruct.cpp
>        [cc] Client.cpp
>        [cc] C:\axiscpp\ws-axis\c\samples\client\groupB\Client.cpp(68) : warning
> C4305: '=' : truncation from 'const double' to 'float'
>        [cc] C:\axiscpp\ws-axis\c\samples\client\groupB\Client.cpp(85) : warning
> C4305: '=' : truncation from 'const double' to 'float'
>        [cc] C:\axiscpp\ws-axis\c\samples\client\groupB\Client.cpp(89) : warning
> C4305: '=' : truncation from 'const double' to 'float'
>        [cc] C:\axiscpp\ws-axis\c\samples\client\groupB\Client.cpp(101) : warning
>  C4305: 'argument' : truncation from 'const double' to 'float'
>        [cc] C:\axiscpp\ws-axis\c\samples\client\groupB\Client.cpp(108) : warning
>  C4305: '=' : truncation from 'const double' to 'float'
>        [cc] C:\axiscpp\ws-axis\c\samples\client\groupB\Client.cpp(126) : warning
>  C4101: 'e' : unreferenced local variable
>        [cc] InteropTestPortTypeB.cpp
>        [cc] C:\axiscpp\ws-axis\c\samples\client\groupB\InteropTestPortTypeB.cpp(
> 72) : error C2440: '=' : cannot convert from 'int *' to 'int'
>        [cc]         This conversion requires a reinterpret_cast, a C-style cast
> or function-style cast
>        [cc] C:\axiscpp\ws-axis\c\samples\client\groupB\InteropTestPortTypeB.cpp(
> 73) : error C2440: '=' : cannot convert from 'float *' to 'float'
>        [cc]         There is no context in which this conversion is possible
>        [cc] Generating Code...
>        [cc] cl failed with return code 2

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message