Hi,

Sorry for the delay. Would you please open a JIRA and attach the test case there? The stacktrace will be helpful too.

Thanks,
Raymond

----- Original Message ----- From: <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, June 18, 2007 10:09 PM
Subject: NPE at HelperProvider.getDefaultContext


I have been trying to use SDO revision 536345 (for the fix for http://issues.apache.org/jira/browse/TUSCANY-1250) to generate data objects for use with various revisions of SCA, and have been banging my head against wall after wall. I decided to take the helloworld-ws sample from the 0.90 release and modify it to use SDO databinding as a simple test, and I am getting a NullPointerException at HelperProvider.getDefaultContext. I took the wsdl from the sample and modified it as per below, pointed the XSD2JavaGenerator (from revision 536345) at it to generate the data objects, modified the HelloWorldService interface and impls, and added the dbosdo factory=... to the composite file. I have attached a zip with my files, which the mailing list will strip out, but I can send to anyone who would like to take a look. If anyone can give me some directions it would be much appreciated.

<wsdl:types>
<schema elementFormDefault="qualified" targetNamespace="http://helloworld"; xmlns="http://www.w3.org/2001/XMLSchema";>
<element name="getGreetings">
 <complexType>
   <sequence><element name="greeter" type="tns:Person"/></sequence>
 </complexType>
</element>
...
<xsd:complexType name="Person">
 <xsd:sequence>
   <xsd:element name="name" type="xsd:string" />
 </xsd:sequence>
</xsd:complexType>
</schema>
</wsdl:types>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to