Open GoogleCodeExporter opened 8 years ago
You can replace the hyphen with underscore in the WSDL to work around this
problem.
Will fix this in the next release.
Original comment by manoj.ch...@gmail.com
on 4 Jun 2009 at 2:53
I tried to generate jar file from Siebel CRM On Demand web service. but I am
getting
compilation error. I checked to generated java files and there I found that It
is
appending "."(DOT) before package name in the first statement. here is the
command
line output.
D:\temp>java -classpath wsc-18.jar;JAVA_HOME/Classes/classes.jar
com.sforce.ws.tools.wsdlc ODOpportunity.wsdl.xml ODOpportunity.jar
[WSC][wsdlc.run:311]Created temp dir:
C:\DOCUME~1\aahirwar\LOCALS~1\Temp\wsdlc-temp-8732909027325978347-dir
[WSC][wsdlc.<init>:79]Generating Java files from schema ...
[WSC][wsdlc.<init>:79]Generated 105 java files.
[WSC][wsdlc.compileTypes:261]Compiling to target 1.6...
C:\DOCUME~1\aahirwar\LOCALS~1\Temp\wsdlc-temp-8732909027325978347-dir\crmondeman
d\xml\Opportunity\Query\ProductRevenueQuery.java:1:
<identifier> expected
package .crmondemand.xml.Opportunity.Query;/** * Generated class, please do not
edit.
*/public class ProductRevenueQuery implements com.sforce.ws.bind.XMLizable {
/** *
Constructor */ public ProductRevenueQuery() { } /** * element :
ModifiedDate of type {urn:/crmondemand/xml/Opportunity/Query}quer
yType * java type: .crmondemand.xml.Opportunity.Query.QueryType */ private
static final com.sforce.ws.bind.TypeInfo ModifiedDate__typeInfo = new
............................................................................
Any workarround for it?
Regards,
Anil
Original comment by a.ahir...@gmail.com
on 26 Apr 2010 at 9:54
Original issue reported on code.google.com by
sno...@gmail.com
on 1 Jun 2009 at 10:31