axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Jordahl (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Resolved: (AXIS-1900) WSDL2JAva fails on SQL Reporting Services
Date Thu, 24 Mar 2005 21:49:26 GMT
     [ http://issues.apache.org/jira/browse/AXIS-1900?page=history ]
     
Tom Jordahl resolved AXIS-1900:
-------------------------------

     Resolution: Fixed
    Fix Version: 1.2

Modified the SchemaUtils.java class to allow the choice element inside a sequence that we
want to unwrap.


> WSDL2JAva fails on SQL Reporting Services
> -----------------------------------------
>
>          Key: AXIS-1900
>          URL: http://issues.apache.org/jira/browse/AXIS-1900
>      Project: Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: current (nightly)
>     Reporter: Tom Jordahl
>     Priority: Blocker
>      Fix For: 1.2
>  Attachments: reportservice.wsdl
>
> A customer of ours is using web services to connect to SQL Reporting Services.  When
Axis 1.1 WSDL2Java is used on the WSLD, there are no problems compiling the stubs.
> Using either Axis 1.2RC2 or the latest CVS source, Axis does not unwrap the parameters
to the operations, and does not generate the Request or Response wrapper types.
> Compile Errors: 
> > javac *.java */*.java
> ReportingServiceSoap.java:39: cannot resolve symbol
> symbol  : class SetExecutionOptions
> location: package reportingservices
>     public com.microsoft.schemas.sqlserver._2003._12.reporting.reportingservices
> .SetExecutionOptionsResponse setExecutionOptions(com.microsoft.schemas.sqlserver
> ._2003._12.reporting.reportingservices.SetExecutionOptions parameters) throws ja
> va.rmi.RemoteException;
>                                       ^
> ReportingServiceSoap.java:39: cannot resolve symbol
> symbol  : class SetExecutionOptionsResponse
> location: package reportingservices
>     public com.microsoft.schemas.sqlserver._2003._12.reporting.reportingservices
> .SetExecutionOptionsResponse setExecutionOptions(com.microsoft.schemas.sqlserver
> ._2003._12.reporting.reportingservices.SetExecutionOptions parameters) throws ja
> va.rmi.RemoteException;
> ^
> ReportingServiceSoap.java:40: cannot resolve symbol
> symbol  : class GetExecutionOptionsResponse
> location: package reportingservices
>     public com.microsoft.schemas.sqlserver._2003._12.reporting.reportingservices
> .GetExecutionOptionsResponse getExecutionOptions(java.lang.String report) throws
>  java.rmi.RemoteException;
> ^
> ReportingServiceSoap.java:41: cannot resolve symbol
> symbol  : class SetCacheOptions
> location: package reportingservices
>     public com.microsoft.schemas.sqlserver._2003._12.reporting.reportingservices
> .SetCacheOptionsResponse setCacheOptions(com.microsoft.schemas.sqlserver._2003._
> 12.reporting.reportingservices.SetCacheOptions parameters) throws java.rmi.Remot
> eException;
>                               ^
> ReportingServiceSoap.java:41: cannot resolve symbol
> symbol  : class SetCacheOptionsResponse
> location: package reportingservices
>     public com.microsoft.schemas.sqlserver._2003._12.reporting.reportingservices
> .SetCacheOptionsResponse setCacheOptions(com.microsoft.schemas.sqlserver._2003._
> 12.reporting.reportingservices.SetCacheOptions parameters) throws java.rmi.Remot
> eException;
> ^
> ReportingServiceSoap.java:42: cannot resolve symbol
> symbol  : class GetCacheOptionsResponse
> location: package reportingservices
>     public com.microsoft.schemas.sqlserver._2003._12.reporting.reportingservices
> .GetCacheOptionsResponse getCacheOptions(java.lang.String report) throws java.rm
> i.RemoteException;
> ^
> ReportingServiceSoap.java:57: cannot resolve symbol
> symbol  : class SetReportHistoryOptions
> location: package reportingservices
>     public com.microsoft.schemas.sqlserver._2003._12.reporting.reportingservices
> .SetReportHistoryOptionsResponse setReportHistoryOptions(com.microsoft.schemas.s
> qlserver._2003._12.reporting.reportingservices.SetReportHistoryOptions parameter
> s) throws java.rmi.RemoteException;
>                                               ^
> ReportingServiceSoap.java:57: cannot resolve symbol
> symbol  : class SetReportHistoryOptionsResponse
> location: package reportingservices
>     public com.microsoft.schemas.sqlserver._2003._12.reporting.reportingservices
> .SetReportHistoryOptionsResponse setReportHistoryOptions(com.microsoft.schemas.s
> qlserver._2003._12.reporting.reportingservices.SetReportHistoryOptions parameter
> s) throws java.rmi.RemoteException;
> ^
> ReportingServiceSoap.java:58: cannot resolve symbol
> symbol  : class GetReportHistoryOptionsResponse
> location: package reportingservices
>     public com.microsoft.schemas.sqlserver._2003._12.reporting.reportingservices
> .GetReportHistoryOptionsResponse getReportHistoryOptions(java.lang.String report
> ) throws java.rmi.RemoteException;
> ^
> ReportingServiceSoapStub.java:2573: cannot resolve symbol
> symbol  : class SetExecutionOptions
> location: package reportingservices
>     public com.microsoft.schemas.sqlserver._2003._12.reporting.reportingservices
> .SetExecutionOptionsResponse setExecutionOptions(com.microsoft.schemas.sqlserver
> ._2003._12.reporting.reportingservices.SetExecutionOptions parameters) throws ja
> va.rmi.RemoteException {
>                                       ^
> ReportingServiceSoapStub.java:2573: cannot resolve symbol
> symbol  : class SetExecutionOptionsResponse
> location: package reportingservices
>     public com.microsoft.schemas.sqlserver._2003._12.reporting.reportingservices
> .SetExecutionOptionsResponse setExecutionOptions(com.microsoft.schemas.sqlserver
> ._2003._12.reporting.reportingservices.SetExecutionOptions parameters) throws ja
> va.rmi.RemoteException {
> ^
> ReportingServiceSoapStub.java:2604: cannot resolve symbol
> symbol  : class GetExecutionOptionsResponse
> location: package reportingservices
>     public com.microsoft.schemas.sqlserver._2003._12.reporting.reportingservices
> .GetExecutionOptionsResponse getExecutionOptions(java.lang.String report) throws
>  java.rmi.RemoteException {
> ^
> ReportingServiceSoapStub.java:2635: cannot resolve symbol
> symbol  : class SetCacheOptions
> location: package reportingservices
>     public com.microsoft.schemas.sqlserver._2003._12.reporting.reportingservices
> .SetCacheOptionsResponse setCacheOptions(com.microsoft.schemas.sqlserver._2003._
> 12.reporting.reportingservices.SetCacheOptions parameters) throws java.rmi.Remot
> eException {
>                               ^
> ReportingServiceSoapStub.java:2635: cannot resolve symbol
> symbol  : class SetCacheOptionsResponse
> location: package reportingservices
>     public com.microsoft.schemas.sqlserver._2003._12.reporting.reportingservices
> .SetCacheOptionsResponse setCacheOptions(com.microsoft.schemas.sqlserver._2003._
> 12.reporting.reportingservices.SetCacheOptions parameters) throws java.rmi.Remot
> eException {
> ^
> ReportingServiceSoapStub.java:2666: cannot resolve symbol
> symbol  : class GetCacheOptionsResponse
> location: package reportingservices
>     public com.microsoft.schemas.sqlserver._2003._12.reporting.reportingservices
> .GetCacheOptionsResponse getCacheOptions(java.lang.String report) throws java.rm
> i.RemoteException {
> ^
> ReportingServiceSoapStub.java:3089: cannot resolve symbol
> symbol  : class SetReportHistoryOptions
> location: package reportingservices
>     public com.microsoft.schemas.sqlserver._2003._12.reporting.reportingservices
> .SetReportHistoryOptionsResponse setReportHistoryOptions(com.microsoft.schemas.s
> qlserver._2003._12.reporting.reportingservices.SetReportHistoryOptions parameter
> s) throws java.rmi.RemoteException {
>                                               ^
> ReportingServiceSoapStub.java:3089: cannot resolve symbol
> symbol  : class SetReportHistoryOptionsResponse
> location: package reportingservices
>     public com.microsoft.schemas.sqlserver._2003._12.reporting.reportingservices
> .SetReportHistoryOptionsResponse setReportHistoryOptions(com.microsoft.schemas.s
> qlserver._2003._12.reporting.reportingservices.SetReportHistoryOptions parameter
> s) throws java.rmi.RemoteException {
> ^
> ReportingServiceSoapStub.java:3120: cannot resolve symbol
> symbol  : class GetReportHistoryOptionsResponse
> location: package reportingservices
>     public com.microsoft.schemas.sqlserver._2003._12.reporting.reportingservices
> .GetReportHistoryOptionsResponse getReportHistoryOptions(java.lang.String report
> ) throws java.rmi.RemoteException {
> ^
> ReportingServiceSoapStub.java:340: cannot resolve symbol
> symbol  : class SetExecutionOptions
> location: package reportingservices
>         oper.addParameter(new javax.xml.namespace.QName("http://schemas.microsof
> t.com/sqlserver/2003/12/reporting/reportingservices", "SetExecutionOptions"), ne
> w javax.xml.namespace.QName("http://schemas.microsoft.com/sqlserver/2003/12/repo
> rting/reportingservices", ">SetExecutionOptions"), com.microsoft.schemas.sqlserv
> er._2003._12.reporting.reportingservices.SetExecutionOptions.class, org.apache.a
> xis.description.ParameterDesc.IN, false, false);
>                                         ^
> ReportingServiceSoapStub.java:342: cannot resolve symbol
> symbol  : class SetExecutionOptionsResponse
> location: package reportingservices
>         oper.setReturnClass(com.microsoft.schemas.sqlserver._2003._12.reporting.
> reportingservices.SetExecutionOptionsResponse.class);
>                  ^
> ReportingServiceSoapStub.java:352: cannot resolve symbol
> symbol  : class GetExecutionOptionsResponse
> location: package reportingservices
>         oper.setReturnClass(com.microsoft.schemas.sqlserver._2003._12.reporting.
> reportingservices.GetExecutionOptionsResponse.class);
>                  ^
> ReportingServiceSoapStub.java:364: cannot resolve symbol
> symbol  : class SetCacheOptions
> location: package reportingservices
>         oper.addParameter(new javax.xml.namespace.QName("http://schemas.microsof
> t.com/sqlserver/2003/12/reporting/reportingservices", "SetCacheOptions"), new ja
> vax.xml.namespace.QName("http://schemas.microsoft.com/sqlserver/2003/12/reportin
> g/reportingservices", ">SetCacheOptions"), com.microsoft.schemas.sqlserver._2003
> ._12.reporting.reportingservices.SetCacheOptions.class, org.apache.axis.descript
> ion.ParameterDesc.IN, false, false);
>                                 ^
> ReportingServiceSoapStub.java:366: cannot resolve symbol
> symbol  : class SetCacheOptionsResponse
> location: package reportingservices
>         oper.setReturnClass(com.microsoft.schemas.sqlserver._2003._12.reporting.
> reportingservices.SetCacheOptionsResponse.class);
>                  ^
> ReportingServiceSoapStub.java:376: cannot resolve symbol
> symbol  : class GetCacheOptionsResponse
> location: package reportingservices
>         oper.setReturnClass(com.microsoft.schemas.sqlserver._2003._12.reporting.
> reportingservices.GetCacheOptionsResponse.class);
>                  ^
> ReportingServiceSoapStub.java:519: cannot resolve symbol
> symbol  : class SetReportHistoryOptions
> location: package reportingservices
>         oper.addParameter(new javax.xml.namespace.QName("http://schemas.microsof
> t.com/sqlserver/2003/12/reporting/reportingservices", "SetReportHistoryOptions")
> , new javax.xml.namespace.QName("http://schemas.microsoft.com/sqlserver/2003/12/
> reporting/reportingservices", ">SetReportHistoryOptions"), com.microsoft.schemas
> .sqlserver._2003._12.reporting.reportingservices.SetReportHistoryOptions.class,
> org.apache.axis.description.ParameterDesc.IN, false, false);
>                                                 ^
> ReportingServiceSoapStub.java:521: cannot resolve symbol
> symbol  : class SetReportHistoryOptionsResponse
> location: package reportingservices
>         oper.setReturnClass(com.microsoft.schemas.sqlserver._2003._12.reporting.
> reportingservices.SetReportHistoryOptionsResponse.class);
>                  ^
> ReportingServiceSoapStub.java:531: cannot resolve symbol
> symbol  : class GetReportHistoryOptionsResponse
> location: package reportingservices
>         oper.setReturnClass(com.microsoft.schemas.sqlserver._2003._12.reporting.
> reportingservices.GetReportHistoryOptionsResponse.class);
>                  ^
> ReportingServiceSoapStub.java:2597: cannot resolve symbol
> symbol  : class SetExecutionOptionsResponse
> location: package reportingservices
>                 return (com.microsoft.schemas.sqlserver._2003._12.reporting.repo
> rtingservices.SetExecutionOptionsResponse) _resp;
>              ^
> ReportingServiceSoapStub.java:2599: cannot resolve symbol
> symbol  : class SetExecutionOptionsResponse
> location: package reportingservices
>                 return (com.microsoft.schemas.sqlserver._2003._12.reporting.repo
> rtingservices.SetExecutionOptionsResponse) org.apache.axis.utils.JavaUtils.conve
> rt(_resp, com.microsoft.schemas.sqlserver._2003._12.reporting.reportingservices.
> SetExecutionOptionsResponse.class);
>              ^
> ReportingServiceSoapStub.java:2599: cannot resolve symbol
> symbol  : class SetExecutionOptionsResponse
> location: package reportingservices
>                 return (com.microsoft.schemas.sqlserver._2003._12.reporting.repo
> rtingservices.SetExecutionOptionsResponse) org.apache.axis.utils.JavaUtils.conve
> rt(_resp, com.microsoft.schemas.sqlserver._2003._12.reporting.reportingservices.
> SetExecutionOptionsResponse.class);
>                                                                                ^
> ReportingServiceSoapStub.java:2628: cannot resolve symbol
> symbol  : class GetExecutionOptionsResponse
> location: package reportingservices
>                 return (com.microsoft.schemas.sqlserver._2003._12.reporting.repo
> rtingservices.GetExecutionOptionsResponse) _resp;
>              ^
> ReportingServiceSoapStub.java:2630: cannot resolve symbol
> symbol  : class GetExecutionOptionsResponse
> location: package reportingservices
>                 return (com.microsoft.schemas.sqlserver._2003._12.reporting.repo
> rtingservices.GetExecutionOptionsResponse) org.apache.axis.utils.JavaUtils.conve
> rt(_resp, com.microsoft.schemas.sqlserver._2003._12.reporting.reportingservices.
> GetExecutionOptionsResponse.class);
>              ^
> ReportingServiceSoapStub.java:2630: cannot resolve symbol
> symbol  : class GetExecutionOptionsResponse
> location: package reportingservices
>                 return (com.microsoft.schemas.sqlserver._2003._12.reporting.repo
> rtingservices.GetExecutionOptionsResponse) org.apache.axis.utils.JavaUtils.conve
> rt(_resp, com.microsoft.schemas.sqlserver._2003._12.reporting.reportingservices.
> GetExecutionOptionsResponse.class);
>                                                                                ^
> ReportingServiceSoapStub.java:2659: cannot resolve symbol
> symbol  : class SetCacheOptionsResponse
> location: package reportingservices
>                 return (com.microsoft.schemas.sqlserver._2003._12.reporting.repo
> rtingservices.SetCacheOptionsResponse) _resp;
>              ^
> ReportingServiceSoapStub.java:2661: cannot resolve symbol
> symbol  : class SetCacheOptionsResponse
> location: package reportingservices
>                 return (com.microsoft.schemas.sqlserver._2003._12.reporting.repo
> rtingservices.SetCacheOptionsResponse) org.apache.axis.utils.JavaUtils.convert(_
> resp, com.microsoft.schemas.sqlserver._2003._12.reporting.reportingservices.SetC
> acheOptionsResponse.class);
>              ^
> ReportingServiceSoapStub.java:2661: cannot resolve symbol
> symbol  : class SetCacheOptionsResponse
> location: package reportingservices
>                 return (com.microsoft.schemas.sqlserver._2003._12.reporting.repo
> rtingservices.SetCacheOptionsResponse) org.apache.axis.utils.JavaUtils.convert(_
> resp, com.microsoft.schemas.sqlserver._2003._12.reporting.reportingservices.SetC
> acheOptionsResponse.class);
>                                                                            ^
> ReportingServiceSoapStub.java:2690: cannot resolve symbol
> symbol  : class GetCacheOptionsResponse
> location: package reportingservices
>                 return (com.microsoft.schemas.sqlserver._2003._12.reporting.repo
> rtingservices.GetCacheOptionsResponse) _resp;
>              ^
> ReportingServiceSoapStub.java:2692: cannot resolve symbol
> symbol  : class GetCacheOptionsResponse
> location: package reportingservices
>                 return (com.microsoft.schemas.sqlserver._2003._12.reporting.repo
> rtingservices.GetCacheOptionsResponse) org.apache.axis.utils.JavaUtils.convert(_
> resp, com.microsoft.schemas.sqlserver._2003._12.reporting.reportingservices.GetC
> acheOptionsResponse.class);
>              ^
> ReportingServiceSoapStub.java:2692: cannot resolve symbol
> symbol  : class GetCacheOptionsResponse
> location: package reportingservices
>                 return (com.microsoft.schemas.sqlserver._2003._12.reporting.repo
> rtingservices.GetCacheOptionsResponse) org.apache.axis.utils.JavaUtils.convert(_
> resp, com.microsoft.schemas.sqlserver._2003._12.reporting.reportingservices.GetC
> acheOptionsResponse.class);
>                                                                            ^
> ReportingServiceSoapStub.java:3113: cannot resolve symbol
> symbol  : class SetReportHistoryOptionsResponse
> location: package reportingservices
>                 return (com.microsoft.schemas.sqlserver._2003._12.reporting.repo
> rtingservices.SetReportHistoryOptionsResponse) _resp;
>              ^
> ReportingServiceSoapStub.java:3115: cannot resolve symbol
> symbol  : class SetReportHistoryOptionsResponse
> location: package reportingservices
>                 return (com.microsoft.schemas.sqlserver._2003._12.reporting.repo
> rtingservices.SetReportHistoryOptionsResponse) org.apache.axis.utils.JavaUtils.c
> onvert(_resp, com.microsoft.schemas.sqlserver._2003._12.reporting.reportingservi
> ces.SetReportHistoryOptionsResponse.class);
>              ^
> ReportingServiceSoapStub.java:3115: cannot resolve symbol
> symbol  : class SetReportHistoryOptionsResponse
> location: package reportingservices
>                 return (com.microsoft.schemas.sqlserver._2003._12.reporting.repo
> rtingservices.SetReportHistoryOptionsResponse) org.apache.axis.utils.JavaUtils.c
> onvert(_resp, com.microsoft.schemas.sqlserver._2003._12.reporting.reportingservi
> ces.SetReportHistoryOptionsResponse.class);
>    ^
> ReportingServiceSoapStub.java:3144: cannot resolve symbol
> symbol  : class GetReportHistoryOptionsResponse
> location: package reportingservices
>                 return (com.microsoft.schemas.sqlserver._2003._12.reporting.repo
> rtingservices.GetReportHistoryOptionsResponse) _resp;
>              ^
> ReportingServiceSoapStub.java:3146: cannot resolve symbol
> symbol  : class GetReportHistoryOptionsResponse
> location: package reportingservices
>                 return (com.microsoft.schemas.sqlserver._2003._12.reporting.repo
> rtingservices.GetReportHistoryOptionsResponse) org.apache.axis.utils.JavaUtils.c
> onvert(_resp, com.microsoft.schemas.sqlserver._2003._12.reporting.reportingservi
> ces.GetReportHistoryOptionsResponse.class);
>              ^
> ReportingServiceSoapStub.java:3146: cannot resolve symbol
> symbol  : class GetReportHistoryOptionsResponse
> location: package reportingservices
>                 return (com.microsoft.schemas.sqlserver._2003._12.reporting.repo
> rtingservices.GetReportHistoryOptionsResponse) org.apache.axis.utils.JavaUtils.c
> onvert(_resp, com.microsoft.schemas.sqlserver._2003._12.reporting.reportingservi
> ces.GetReportHistoryOptionsResponse.class);
>    ^
> 45 errors

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message