Which version of Axis/Axis2? Can u please log a bug report with complete wsdl?
thanks, dims On 1/3/07, DBDavide <[EMAIL PROTECTED]> wrote:
Hi, I found this clarifying post on the subject: http://www.slimmit.com/go.asp?5R4 Now I'm wondering why you cannot name the parameter avoiding Java reserved word? (e.g. just like "_return"). We are comsuming Axis generated web services with JBossWS and for this WSDL snippet: <xs:element name="getConfigurationFileResponse"> <xs:complexType> <xs:sequence> <xs:element name="return" nillable="true" type="xs:string"/> </xs:sequence> </xs:complexType> </xs:element> I get: public class GetConfigurationFileResponse { protected java.lang.String return; public GetConfigurationFileResponse() { } public GetConfigurationFileResponse(java.lang.String return) { this.return=return; } public java.lang.String getReturn() { return return ; } public void setReturn(java.lang.String return) { this.return=return; } } Which, of course, contains a reserved word and gives a bounch of errors. So each time I need to manually modify the WSDL. Is it possible to automagically add a prefix to generated names? Thank you in advance. -- Davide -- View this message in context: http://www.nabble.com/WSDL-output-parameter-named-%22return%22-tf2913042.html#a8139412 Sent from the Axis - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
