Hi,
       I am using axis2 1.4.1 to generate java classes from a wsdl file. The
web services are exposed by the SQL Server 2008 Reporting Services. I
wanted to know if there is any command line option while using
wsdl2java.bat to skip generating some classes (In my case a soap
header called TrustedUserHeader). I use the following command to
convert wsdl to java

       wsdl2java.bat -o E:\wsdl2java\ -p
sqlserver.reporting.reportingexecutionservices -ss -g -ns2p
http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices=sqlserver.reporting.reportingexecutionservices
-uri http://v-sql-2k8/reportserver/ReportExecution2005.asmx

       I want to skip generation of the TrustedUserHeader class. If anyone
can provide any guidance it would be very helpful

Note : The wsdl file has the same namespace for all the classes. Hence
the namespace of the TrustedUserHeader class is also
http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices.

Thanks in advance,
Amit Shah.

Reply via email to