johvargas / sfdc-wsc

Automatically exported from code.google.com/p/sfdc-wsc
0 stars 0 forks source link

Compile time errror in generated java from Siebel CRM On Demand WSDL. #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. download the Siebel CRM On Demand Opportunity Webservice and SFDC-wsc
library - wsc-18.jar, wsc-gae.jar and partner-18.jar
2. Create a appengine appcliation and copy the above jar inside the
war/WEB-INF/lib
3. Run the command java -classpath wsc-18.jar com.sforce.ws.tools.wsdlc
ODOpportunity.wsdl.xml ODOpportunity.jar from inside war/WEB-INF/lib

What is the expected output? What do you see instead?
It should generate jar file out the wsdl but there are error in compilation
of generated java files.

What version of the product are you using? On what operating system?

I am using wsc-18.jar, wsc-gae.jar and partner-18.jar

Please provide any additional information below.

Original issue reported on code.google.com by a.ahir...@gmail.com on 26 Apr 2010 at 10:04

GoogleCodeExporter commented 8 years ago
java -classpath wsc-18.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() {  }  contd.......       

Original comment by a.ahir...@gmail.com on 26 Apr 2010 at 10:05

GoogleCodeExporter commented 8 years ago
I think the siebel namespace is not mapping correctly to java package name. WSC 
is
only tested with salesforce.com wsdl. It may not work well with other wsdls.

Original comment by manoj.ch...@gmail.com on 27 May 2010 at 1:31

GoogleCodeExporter commented 8 years ago
only intended to work with salesforce.com

Original comment by manoj.ch...@gmail.com on 29 Sep 2010 at 6:26