Re: Problem with a loop's

2016-08-26 Thread Arturo Ulises Castañeda Estrada
rg/guides/rgsvc.html#_rgsvc_api_TransactionService [2] http://isis.apache.org/guides/rgsvc.html#4.7.-sessionmanagementservice On 23 August 2016 at 20:27, Arturo Ulises Castañeda Estrada < arturo.castan...@sisorg.com.mx> wrote: > Hi, Dan > > Im trying to make a loop in Angular JS with a list of id's

Problem with a loop's

2016-08-23 Thread Arturo Ulises Castañeda Estrada
Hi, Dan Im trying to make a loop in Angular JS with a list of id's in order to consume other ws, but when I receive data and this results arrive in no order, I've been trying with all methods to the request wait for the next data and i receive the same result. ¿The DataNucleus JDO is transacti

Re: error 500

2016-06-08 Thread Arturo Ulises Castañeda Estrada
om one end to another. Cheers, Jan-Willem > Op 8 jun. 2016 om 17:28 heeft Arturo Ulises Castañeda Estrada > het volgende geschreven: > > Hi Dan, > > > I have the next problem when I consume a WS with AngularJS. > > > HTTP ERROR 500 > > Problem accessing

error 500

2016-06-08 Thread Arturo Ulises Castañeda Estrada
Hi Dan, I have the next problem when I consume a WS with AngularJS. HTTP ERROR 500 Problem accessing /restful/services/SequenceRepository/actions/findSequenceBySequenceId/invoke. Reason: Server Error Caused by: javax.servlet.ServletException: Filtered request failed.at org.apache.shir

Re: compare pass apache isis

2016-05-20 Thread Arturo Ulises Castañeda Estrada
2016 at 16:05, Arturo Ulises Castañeda Estrada < arturo.castan...@sisorg.com.mx> wrote: > Hi Dan, > > > Im trying to compare the password obtained from apache isis with other > string obtained from a text box, the password obtained from apache isis is > encrypted, do i

compare pass apache isis

2016-05-20 Thread Arturo Ulises Castañeda Estrada
Hi Dan, Im trying to compare the password obtained from apache isis with other string obtained from a text box, the password obtained from apache isis is encrypted, do i have to encrypt my pass obtained from a text box (witch is the base to encrypt)?

Error when I compile the project in the google cloud

2016-05-05 Thread Arturo Ulises Castañeda Estrada
Hi Dan, I'm trying install my app in the google cloud but i get the next error. In my local server I not get this error, Im working with java 7 and MySQL. [s~cqnz-web-app/1.392437955031148096].: INFO - Application - [WicketFilter] init: Wicket extensions initializer 11:25:15.199

error 404 does not exist or is not visible

2016-04-27 Thread Arturo Ulises Castañeda Estrada
Hi dan, I get the next error in some WS with any parameter that I introduce. I can see the WS in the wicket but in my browser get the same error. what mean this? Response Body no content Response Code 404 Response Headers { "date": "Wed, 27 Apr 2016 21:49:43 GMT", "server": "Jetty(9.3

Re: list parameters

2016-04-18 Thread Arturo Ulises Castañeda Estrada
marks ("com.mycompany.myapp.Customer:1") as a way to pass references to objects around; the BookmarkService can be used to create/consume these. HTH Dan On 15 April 2016 at 19:24, Arturo Ulises Castañeda Estrada < arturo.castan...@sisorg.com.mx> wrote: > Hi Dan > > > I'm tr

list parameters

2016-04-15 Thread Arturo Ulises Castañeda Estrada
Hi Dan I'm trying to pass an list as parameter to a method for consume in a WS but i get the error that does not support list as parameter. org.apache.isis.core.commons.exceptions.UnknownTypeException: collections not supported as parameters: domainapp.dom.simple.sequence.SequenceItemReposit

Re: Save image as blob

2016-03-29 Thread Arturo Ulises Castañeda Estrada
Thank's a lot Dan for resolve my problem De: Dan Haywood Enviado: martes, 29 de marzo de 2016 06:10 p. m. Para: users Asunto: Re: Save image as blob The format of the image doesn't look quite right. I just did a quick experiment with the kitchensink app

Save image as blob

2016-03-29 Thread Arturo Ulises Castañeda Estrada
Hi Dan, - I have a problem saving images, consume the next ws: * rel: "urn:org.restfulobjects:rels/invoke;action="addSequenceItem"", * href: "http://xxx.xxx.x.xx:8080/restful/services/SequenceItemRepository/actions/addSequenceItem/invoke

Re: XMLHttpRequest cannot load

2016-03-29 Thread Arturo Ulises Castañeda Estrada
/contactapp/blob/master/backend/webapp/src/main/webapp/WEB-INF/web.xml#L38 On 28 March 2016 at 22:25, Arturo Ulises Castañeda Estrada < arturo.castan...@sisorg.com.mx> wrote: > Hi Dan, > > > I'm trying to persist but the server says that i dont have access and u > get next e

XMLHttpRequest cannot load

2016-03-28 Thread Arturo Ulises Castañeda Estrada
Hi Dan, I'm trying to persist but the server says that i dont have access and u get next error: XMLHttpRequest cannot load http://192.168.0.20:8080/restful/user. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the request

Failed to execute goal org.apache.isis.tool:isis-maven-plugin:1.11.1:swagger

2016-03-19 Thread Arturo Ulises Castañeda Estrada
Hi Dan, I'm getting the next error about the swagger plugin, my log is the next. [INFO] --- isis-maven-plugin:1.11.1:validate (default) @ CQNZ-dom --- log4j:WARN No appenders could be found for logger (org.apache.isis.core.commons.config.IsisConfigurationDefault). log4j:WARN Please initialize

Re: "invalidReason":"Expected a link (because this object's type is not a value)

2016-03-02 Thread Arturo Ulises Castañeda Estrada
Chrome? If you could provide a test app on github demonstrating the problem, then I'll take a deeper look. I'll also record a screencast tomorrow to show how to use the API from chrome, at least, for actions that take object ref. args. On 2 Mar 2016 00:42, "Arturo Ulises Casta

"invalidReason":"Expected a link (because this object's type is not a value)

2016-03-01 Thread Arturo Ulises Castañeda Estrada
Hi, Dan when i consuming the WS the format header is right (section: Query String Parameters) but the server response is wrong and i get the error: "Expected a link (because this object's type is not a value) but found no 'href'", i understand that is because expects an 'href' but the sever res

Re: "invalidReason":"Expected a link (because this object's type is not a value)

2016-02-26 Thread Arturo Ulises Castañeda Estrada
Im using angularJS and this only past when i try consume the WS with angular but with the wicket and postman all done, by any reason does not recognize as JSON only as text. De: Arturo Ulises Castañeda Estrada Enviado: viernes, 26 de febrero de 2016 02

Re: "invalidReason":"Expected a link (because this object's type is not a value)

2016-02-26 Thread Arturo Ulises Castañeda Estrada
ct's type is not a value) Use: shoppingCart:{ value: { href: " http://192.168.0.20:8080/restful/objects/simple.ShoppingCart/140"} } ie, the "href" is within a "value". The error message you received is actually showing the structure required. HTH Dan On 26 F

"invalidReason":"Expected a link (because this object's type is not a value)

2016-02-26 Thread Arturo Ulises Castañeda Estrada
HI Dan I have the problem trying to persist in the DB, i send this shoppingCart:{href: "http://192.168.0.20:8080/restful/objects/simple.ShoppingCart/140"} but returns the next error: {"shoppingCart":{"value":"{\"href\":\"http://192.168.0.20:8080/restful/objects/simple.ShoppingCart/140\"}","inv

Re: instanceId

2016-02-19 Thread Arturo Ulises Castañeda Estrada
Just ensure that it is annotated with @DomainService and is in a package specified by your AppManifest. On 19 Feb 2016 19:08, "Arturo Ulises Castañeda Estrada" < arturo.castan...@sisorg.com.mx> wrote: > As I understand the persist is after the return obj. > > @Domai

Re: instanceId

2016-02-19 Thread Arturo Ulises Castañeda Estrada
el nor a persistent entity, ie is a "transient" entity (not yet persisted to the DB). The RO viewer doesn't support such things (in fact, nor does the Wicket viewer anymore; they are a legacy of an earlier time). The fix, I expect, will be to make sure the entity is a properly

instanceId

2016-02-19 Thread Arturo Ulises Castañeda Estrada
Hi Dan, I have a problem, when i insert data, I get return the resource and i get all JSON, I need the instanceId but for any reason the instanceId it's encrypted. "instanceId" : "ec263491-bb79-4a11-a205-f1dfd2840f36"

About how to consume a ws with angular

2016-02-15 Thread Arturo Ulises Castañeda Estrada
Hi, all. I using isis with angularJS so I have a web service with three variables but does not get hrefs like the video. https://youtu.be/_-TOvVYWCHc?t=3m28s ARGUMENTS: arguments: { shoppingCart: { value: null }, businessLocation: { value: null }, quantity: { value: null } } PARAMS paramet

About how to consume a ws with angular

2016-02-15 Thread Arturo Ulises Castañeda Estrada
Hi, all. I using isis with angularJS so I have a web service with three variables but does not get hrefs like the video. https://youtu.be/_-TOvVYWCHc?t=3m28s ARGUMENTS: arguments: { shoppingCart: { value: null }, businessLocation: { value: null }, quantity: { value: null } } PARAMS paramet

Re: Hot to use up a web service restfull

2016-02-12 Thread Arturo Ulises Castañeda Estrada
API, conforming to the Restful Objects spec [1]; section 2.10 describes how to format the body for a POST or PUT. For a demonstration of how to invoke an action that is non-idempotent (ie invoke with HTTP POST), take a look at this screencast [2]. HTH Dan [1] http://restfulobjects.org [2] https:

Hot to use up a web service restfull

2016-02-10 Thread Arturo Ulises Castañeda Estrada
Hello i would like to know how to use up a web service for insert with post or put?