You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Dennis Sosnoski (JIRA)" <ji...@apache.org> on 2009/09/04 09:42:57 UTC
[jira] Updated: (AXIS2-4486) JAXB with unwrapping generates
uncompilable code
[ https://issues.apache.org/jira/browse/AXIS2-4486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Sosnoski updated AXIS2-4486:
-----------------------------------
Attachment: JaxbUnwrapLibraryStub.java
Generated client stub class.
> JAXB with unwrapping generates uncompilable code
> ------------------------------------------------
>
> Key: AXIS2-4486
> URL: https://issues.apache.org/jira/browse/AXIS2-4486
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: databinding
> Affects Versions: 1.5
> Reporter: Dennis Sosnoski
> Attachments: JaxbUnwrapLibraryStub.java, library.wsdl, types.xsd
>
>
> Attempting to use the -uw WSDL2Java option with jaxbri data binding generates code with missing methods. See the attached JaxbUnwrapLibraryStub.java, where various toEnvelope() methods are missing. Here's the output from trying to compile:
> javac] Compiling 18 source files to /home/dennis/devworks/jws08/unwrapped-code/client/bin
> [javac] /home/dennis/devworks/jws08/unwrapped-code/client/gen/src/com/sosnoski/ws/library/jaxb/JaxbUnwrapLibraryStub.java:467: cannot find symbol
> [javac] symbol : method toEnvelope(org.apache.axiom.soap.SOAPFactory,java.lang.String,com.sosnoski.ws.library.wsdl.GetBook,boolean)
> [javac] location: class com.sosnoski.ws.library.jaxb.JaxbUnwrapLibraryStub
> [javac] env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()),
> [javac] ^
> [javac] /home/dennis/devworks/jws08/unwrapped-code/client/gen/src/com/sosnoski/ws/library/jaxb/JaxbUnwrapLibraryStub.java:581: cannot find symbol
> [javac] symbol : method toEnvelope(org.apache.axiom.soap.SOAPFactory,java.lang.String,com.sosnoski.ws.library.wsdl.GetBook,boolean)
> [javac] location: class com.sosnoski.ws.library.jaxb.JaxbUnwrapLibraryStub
> [javac] env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()),
> [javac] ^
> [javac] /home/dennis/devworks/jws08/unwrapped-code/client/gen/src/com/sosnoski/ws/library/jaxb/JaxbUnwrapLibraryStub.java:730: cannot find symbol
> [javac] symbol : method toEnvelope(org.apache.axiom.soap.SOAPFactory,java.lang.String,com.sosnoski.ws.library.wsdl.GetBooksByType,boolean)
> [javac] location: class com.sosnoski.ws.library.jaxb.JaxbUnwrapLibraryStub
> [javac] env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()),
> [javac] ^
> [javac] /home/dennis/devworks/jws08/unwrapped-code/client/gen/src/com/sosnoski/ws/library/jaxb/JaxbUnwrapLibraryStub.java:844: cannot find symbol
> [javac] symbol : method toEnvelope(org.apache.axiom.soap.SOAPFactory,java.lang.String,com.sosnoski.ws.library.wsdl.GetBooksByType,boolean)
> [javac] location: class com.sosnoski.ws.library.jaxb.JaxbUnwrapLibraryStub
> [javac] env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()),
> [javac] ^
> [javac] /home/dennis/devworks/jws08/unwrapped-code/client/gen/src/com/sosnoski/ws/library/jaxb/JaxbUnwrapLibraryStub.java:995: cannot find symbol
> [javac] symbol : method toEnvelope(org.apache.axiom.soap.SOAPFactory,java.lang.String,java.lang.String,java.util.List<java.lang.String>,java.lang.String,com.sosnoski.ws.library.wsdl.AddBook,boolean)
> [javac] location: class com.sosnoski.ws.library.jaxb.JaxbUnwrapLibraryStub
> [javac] env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()),
> [javac] ^
> [javac] /home/dennis/devworks/jws08/unwrapped-code/client/gen/src/com/sosnoski/ws/library/jaxb/JaxbUnwrapLibraryStub.java:1116: cannot find symbol
> [javac] symbol : method toEnvelope(org.apache.axiom.soap.SOAPFactory,java.lang.String,java.lang.String,java.util.List<java.lang.String>,java.lang.String,com.sosnoski.ws.library.wsdl.AddBook,boolean)
> [javac] location: class com.sosnoski.ws.library.jaxb.JaxbUnwrapLibraryStub
> [javac] env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()),
> [javac] ^
> [
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.