axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "C. Brian Cox (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-1581) Code generation problem with XMLBeans Binding
Date Thu, 02 Nov 2006 13:18:17 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-1581?page=all ]

C. Brian Cox updated AXIS2-1581:
--------------------------------

    Attachment: BookQuote2.wsdl

Axis2 Standard wsdl located in: modules\xmlbeans\test-resources\BookQuote2.wsdl

> 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


Mime
View raw message