axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dushshantha Chandradasa (JIRA)" <>
Subject [jira] Commented: (AXISCPP-895) Code generated by WSDL2Ws tool shows compilation error
Date Thu, 22 Dec 2005 11:08:31 GMT
    [ ] 

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.

    [mkdir] Created dir: C:\obj\test\generated\cpp\inquire_v2
     [java] org.apache.axis.wsdl.wsdl2ws.WrapperFault: the service does not exis
     [java]     at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.getServiceEntry(Unknown
     [java]     at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.perprocess(Unknown Sourc
     [java]     at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.generateWrappers(Unknown
     [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:
>      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 *
>                {
> 	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:
For more information on JIRA, see:

View raw message