Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 73127 invoked from network); 3 Nov 2006 05:03:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Nov 2006 05:03:45 -0000 Received: (qmail 76112 invoked by uid 500); 3 Nov 2006 05:03:50 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 76098 invoked by uid 500); 3 Nov 2006 05:03:50 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 76087 invoked by uid 99); 3 Nov 2006 05:03:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 21:03:49 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 21:03:37 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BE1DB7142EF for ; Thu, 2 Nov 2006 21:03:17 -0800 (PST) Message-ID: <25642114.1162530197775.JavaMail.root@brutus> Date: Thu, 2 Nov 2006 21:03:17 -0800 (PST) From: "Amila Chinthaka Suriarachchi (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS2-1581) Code generation problem with XMLBeans Binding In-Reply-To: <19334926.1162473376886.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/AXIS2-1581?page=comments#action_12446814 ] Amila Chinthaka Suriarachchi commented on AXIS2-1581: ----------------------------------------------------- I think you have switched the operation names and the parameters. In your wsdl you have an operation called getBookPriceNonRobust as follows and it's method signature is public com.monson_haefel.www.jwsbook.bookquote.GetBookPriceNonRobustResponseDocument getBookPriceNonRobust( com.monson_haefel.www.jwsbook.bookquote.GetBookPriceNonRobustDocument param4) throws java.rmi.RemoteException and for the other operation which has a fault message is, public com.monson_haefel.www.jwsbook.bookquote.GetBookPriceResponseDocument getBookPrice( com.monson_haefel.www.jwsbook.bookquote.GetBookPriceDocument param6) throws java.rmi.RemoteException ,com.monson_haefel.www.jwsbook.bookquote.InvalidIsbnFaultException{ So the method signatures generated are correct. Please try with 1.1-RC2 release as well. > Code generation problem with XMLBeans Binding > --------------------------------------------- > > Key: AXIS2-1581 > URL: http://issues.apache.org/jira/browse/AXIS2-1581 > Project: Apache Axis 2.0 (Axis2) > Issue Type: Bug > Components: codegen > Affects Versions: 1.1 > Environment: Axis2 1.1 Snapshot from Oct 29th > JDK 1.5 > Win2003 Server > Reporter: C. Brian Cox > Attachments: BookQuote2.wsdl > > > This issue has been discussed in the following: > http://marc.theaimsgroup.com/?l=axis-user&m=116242601905531&w=2 > -------------------------- > When I generate the source code using the following parameters: > wsdl2java -uri BookQuote.wsdl -d xmlbeans -o client -p com.ems.client > I receive the synchronous method: > /** > - Auto generated method signature > - @see com.ems.client.BookQuoteService#getBookPriceNonRobust > - @param param4 > */ > public com.monson_haefel.www.jwsbook.bookquote.GetBookPriceNonRobustResponseDocument getBookPriceNonRobust( > com.monson_haefel.www.jwsbook.bookquote.GetBookPriceNonRobustDocument param4) > throws java.rmi.RemoteException > { > . > . > > //Style is Doc. > . > . > } > Notice the exception is not the one defined in the wsdl. The source file InvalidIsbnFaultException.java is generated in the target directory with the stub though. Also, there is a comment which leads me to believe that codegen thinks the wsdl is doc/literal. These anomalies occur in both BookQuote.wsdl and BookQuote2.wsdl. -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org