I found that I had to edit the WDSL files and add the correct path information for the schema paths when I hit a similar problem with another service (not salesforce).
You might want to review the files and filepaths in and change them to point to local copies etc. Darren Douglas ca technologies 508-628-8380 From: George Loring [mailto:george.lor...@wal-mart.com] Sent: Thursday, July 19, 2012 10:23 AM To: Apache AXIS C User List Subject: RE: Axis2C and SalesForce What's the URL in the namespace of the import tag? Maybe the XSD is located there or something.. From: Elijah Snyder [mailto:elijah.snyd...@gmail.com]<mailto:[mailto:elijah.snyd...@gmail.com]> Sent: Thursday, July 19, 2012 9:04 AM To: Apache AXIS C User List Subject: RE: Axis2C and SalesForce I do not. The WSDL is from SalesForce and I cannot find any reference to a proper XSD to use for the schemaLocation in their API documentation. On Jul 19, 2012 8:45 AM, "George Loring" <george.lor...@wal-mart.com<mailto:george.lor...@wal-mart.com>> wrote: Based on the warnings given from WSDL2C do you have a schemaLocation tag in the import section of your WSDL, similar to the structure given here? http://www.w3.org/2002/ws/databinding/examples/6/09/ImportSchema/ -----Original Message----- From: Elijah Snyder [mailto:elijah.snyd...@gmail.com<mailto:elijah.snyd...@gmail.com>] Sent: Wednesday, July 18, 2012 8:53 PM To: c-user@axis.apache.org<mailto:c-user@axis.apache.org> Subject: Axis2C and SalesForce Hi. I'm trying to use Axis2c to create some bindings for a C++ program that will work as a client to the SalesForce API. After many days of trying, I can't make anything that ever compiles. Neither the Enterprise or Partner WSDLs produce any useful output. The version of Axis2c is 1.6.0. Here is my call to WSDL2C: WSDL2C -uri SalesForce.Partner.wsdl -Eofv -g -uw -u -d adb That produces the following errors: Retrieving document at 'SalesForce.Partner.wsdl'. Jul 18, 2012 8:33:32 PM org.apache.axis2.schema.SchemaCompiler compile WARNING: No schemaLocation for import of urn:partner.soap.sforce.com<http://partner.soap.sforce.com>; compilation may fail Jul 18, 2012 8:33:32 PM org.apache.axis2.schema.SchemaCompiler compile WARNING: No schemaLocation for import of urn:sobject.partner.soap.sforce.com<http://sobject.partner.soap.sforce.com>; compilation may fail Jul 18, 2012 8:33:36 PM org.apache.axis2.schema.SchemaCompiler compile WARNING: No schemaLocation for import of urn:sobject.partner.soap.sforce.com<http://sobject.partner.soap.sforce.com>; compilation may fail I attempt to compile with: gcc -I/usr/include -I/usr/include/axis2-1.6.0/ -L/usr/lib -laxutil -laxis2_axiom -laxis2_parser -laxis2_engine -lpthread -laxis2_http_sender -laxis2_http_receiver *.c -o out And then I receive pages of - adb_AllOrNoneHeader.c: In function 'adb_AllOrNoneHeader_free_obj': adb_AllOrNoneHeader.c:144:34: error: 'adb_AllOrNoneHeader_t' has no member named 'qname' adb_AllOrNoneHeader.c:146:54: error: 'adb_AllOrNoneHeader_t' has no member named 'qname' adb_AllOrNoneHeader.c:147:35: error: 'adb_AllOrNoneHeader_t' has no member named 'qname' For nearly every object in the entire output directory. --------------------------------------------------------------------- To unsubscribe, e-mail: c-user-unsubscr...@axis.apache.org<mailto:c-user-unsubscr...@axis.apache.org> For additional commands, e-mail: c-user-h...@axis.apache.org<mailto:c-user-h...@axis.apache.org> This email and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this email in error destroy it immediately. *** Walmart Confidential *** --------------------------------------------------------------------- To unsubscribe, e-mail: c-user-unsubscr...@axis.apache.org<mailto:c-user-unsubscr...@axis.apache.org> For additional commands, e-mail: c-user-h...@axis.apache.org<mailto:c-user-h...@axis.apache.org> This email and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this email in error destroy it immediately. *** Walmart Confidential ***