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 "Dimuthu Gamage (JIRA)" <ji...@apache.org> on 2008/07/09 14:57:31 UTC

[jira] Commented: (AXIS2C-1229) Issue AXIS2C-1224 contd - Error in WSDL2C while generating stubs in C

    [ https://issues.apache.org/jira/browse/AXIS2C-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612059#action_12612059 ] 

Dimuthu Gamage commented on AXIS2C-1229:
----------------------------------------

Actually there is a workaround for the problem.
Normally RPC-encoded is not supported because when you define message in soap encoded format, there are more than one messages are valid with the schema. So you have to prepare to deserialize any of these messages in your code. Normally deserialization is done in adb_xxx_deserialize function in the generated adb_xxx.c files. currently deserialize logic only deserialize only document style messages. Actually if the server sends a message that obey that logic it will deserialize correctly, but if not (which i said there are many messages possible for single soap encoded schema) you have to edit the deserialize logic to do it correctly for your message format. 

Since you have to do it in every file, you may be able to try it by editing the codegen template. it is an xsl file named 'CADBBeanTemplateSource.xsl'. even if you are using axis2/java complied jars you can just unpack the axis2-adb-codegen.jar, edit the file and pack it.

And as i mentioned in the early jira, you have to correct the problem of declaring fault in your attached wsdl.

Thanks
Dimuthu

> Issue AXIS2C-1224 contd - Error in WSDL2C while generating stubs in C
> ---------------------------------------------------------------------
>
>                 Key: AXIS2C-1229
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1229
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: wsdl2c tool
>    Affects Versions: 1.4.0
>         Environment: windows server 2003, jdk1.5
>            Reporter: Mohinder Verma
>            Priority: Critical
>             Fix For: 1.4.0
>
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
> Hi Dimuthu Gamage,
> This is in continution with Issue AXIS2C-1224 we raised earlier. We are very new to WSDL and VC++. We are trying to build a VC client for Oracle's BI Reporting tool. The webservice provided by Oracle is not something we can change. As seen in issue AXIS2C-1224 the WSDL2C generated code does not handle rpc-encoded style WSDLs. Is there  workaround you would be aware of for this. 
> We have also created Java client for Oracle's BI reporting tool which has been tested and working perfectly fine. However we need  similar VC client as well.
> Could you help us in this.

-- 
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