karishma-tirthani / odata4j

Automatically exported from code.google.com/p/odata4j
0 stars 0 forks source link

android and OCreateReques.execute() #39

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When it is called OCreateReques.execute() it is seen: "Could not find method 
com.sun.jersey.api.core.ExtendedUriInfo.getBaseUri, referenced from method 
org.odata4j.format.xml.AtomEntryFormatWriter.write".

Please help with solving this issue. Thanks in advance.

code example:
OCreateRequest<OEntity> newEntity = oDataConsumer2.createEntity("tableName");
...
newEntity.execute();

Original issue reported on code.google.com by frantise...@gmail.com on 23 May 2011 at 1:52

GoogleCodeExporter commented 8 years ago
I have solved it by building odata4j-nojpabundle-0.4 except of 
odata4j-clientbundle-0.4. It is good solution?

Original comment by frantise...@gmail.com on 23 May 2011 at 6:01

GoogleCodeExporter commented 8 years ago
That sounds like a bug/packaging problem - I don't see that (required) class 
included in the client bundle.

The android-example project references the client bundle - but only reads, does 
not write, and hence did not hit this codepath.
http://code.google.com/p/odata4j/source/browse/#svn%2Ftags%2F0.4%2Fodata4j-andro
id%2Flib

Your workaround of using the nojpa bundle should be fine, it is a superset of 
the client bundle.

Original comment by john.spurlock on 23 May 2011 at 10:48

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 6b447d5865f0.

Original comment by john.spurlock on 5 Nov 2011 at 11:36

GoogleCodeExporter commented 8 years ago

Original comment by john.spurlock on 6 Nov 2011 at 3:09