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 "Dushshantha Chandradasa (JIRA)" <ax...@ws.apache.org> on 2005/12/22 12:08:31 UTC
[jira] Commented: (AXISCPP-895) Code generated by WSDL2Ws tool shows compilation error
[ http://issues.apache.org/jira/browse/AXISCPP-895?page=comments#action_12361098 ]
Dushshantha Chandradasa commented on AXISCPP-895:
-------------------------------------------------
Hi James,
did you generate codes using the file inquire_v2.wsdl in the svn?? i tried to generate codes but ended up with an exception. this is because the wsdl doesnt have the service definition.
The exception is as follows.
generateStubs:
[mkdir] Created dir: C:\obj\test\generated\cpp\inquire_v2
[java] org.apache.axis.wsdl.wsdl2ws.WrapperFault: the service does not exis
ts
[java] at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.getServiceEntry(Unknown
Source)
[java] at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.perprocess(Unknown Sourc
e)
[java] at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.generateWrappers(Unknown
Source)
[java] at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(Unknown Source)
[java] Code generation failed. Please see errors above.
if you are using a different wsdl, please attach it here or just commit it to the svn, so i can test this and fix. I did few changes on this area recently. This may be a side effect of these changes.
> Code generated by WSDL2Ws tool shows compilation error
> ------------------------------------------------------
>
> Key: AXISCPP-895
> URL: http://issues.apache.org/jira/browse/AXISCPP-895
> Project: Axis-C++
> Type: Bug
> Components: Client - Stub
> Reporter: James Jose
>
> 'validate_values.cpp' file generated for 'inquire_v2' test showing compilation error.
> Following code shows the compilation problem:
> void validate_values::setbusinessService_Ref(businessService_Array * pInValue)
> {
> if(businessService_Ref == NULL)
> {
> businessService_Ref = new businessService_Array();
> *businessService_Ref = new businessService_Array(); /* This line shows compilation error */
> }
> (*businessService_Ref)->clone(*(*pInValue));
> }
--
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