BTW, I forgot to mention that I get 2 warnings from wsdl2java when
generating the stubs.
I am now convinced that the problems these warnings are talking about are
what is causing the marshaling errors.
Especially the warning involving the namespace
urn:enterprise.soap.sforce.com.

wsdl2java generates two warnings:
WARNING: 
/Users/rpoindex/Projects/jobcontrol_tomee/src/main/java/resources/META-INF/
enterprise.wsdl [29,21]: src-resolve.4.2: Error resolving component
'tns:ID'. It was detected that 'tns:ID' is in namespace
'urn:enterprise.soap.sforce.com', but components from this namespace are
not referenceable from schema document
'file:/Users/rpoindex/Projects/jobcontrol_tomee/src/main/java/resources/MET
A-INF/enterprise.wsdl#types1'. If this is the incorrect namespace, perhaps
the prefix of 'tns:ID' needs to be changed. If this is the correct
namespace, then an appropriate 'import' tag should be added to
'file:/Users/rpoindex/Projects/jobcontrol_tomee/src/main/java/resources/MET
A-INF/enterprise.wsdl#types1'.
Oct 8, 2012 9:37:31 AM org.apache.cxf.tools.common.ToolErrorListener
addWarning
WARNING: 
/Users/rpoindex/Projects/jobcontrol_tomee/src/main/java/resources/META-INF/
enterprise.wsdl [7461,21]: src-resolve.4.2: Error resolving component
'ens:sObject'. It was detected that 'ens:sObject' is in namespace
'urn:sobject.enterprise.soap.sforce.com', but components from this
namespace are not referenceable from schema document
'file:/Users/rpoindex/Projects/jobcontrol_tomee/src/main/java/resources/MET
A-INF/enterprise.wsdl#types2'. If this is the incorrect namespace, perhaps
the prefix of 'ens:sObject' needs to be changed. If this is the correct
namespace, then an appropriate 'import' tag should be added to
'file:/Users/rpoindex/Projects/jobcontrol_tomee/src/main/java/resources/MET
A-INF/enterprise.wsdl#types2'.

miles




>[email protected]<applewebdata://6D7C2D39-4D16-42A7-8457-9A8F
>CE0ED464/[email protected]>
>
>


Reply via email to