Commit Graph
21 Commits
Author SHA1 Message Date
Bilgin Ismet Ibryam bb180a0999 Revert cascadeDelete service after Adam and Adrian's feedback.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910256 13f79535-47bb-0310-9956-ffa450edef68
2010-02-15 16:41:35 +00:00
Bilgin Ismet Ibryam 25b998b069 Added a generic cascadeDelete service which can be used for data deletion. It uses recursion to delete all the related data entries.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910235 13f79535-47bb-0310-9956-ffa450edef68
2010-02-15 15:14:32 +00:00
Hans Bakker a6f58e1d8c make the soap tests independent of the application component, contribution by chatree, suggestion by Scott
detail:
1. change from ProductCategory and Product entity to Testing and TestingNode entity in testSOAP service
2. insert login.username and login.password attribute document in message part of WSDL
3. change type of eepk- and eeval- element to map-Map and insert its document in WSDL
4. insert document for cus-obj element in WSDL

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893087 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 06:47:20 +00:00
Hans Bakker ea3a88e1a6 Upgrade Axis1 to Axis2. Ofbiz now supports complex parameters in webservices including WSDL generation. see OFBIZ-3363 for more info. A contribution of Antwebsystems employee Chatree
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892712 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 07:31:58 +00:00
Scott Gray c0cfbd2469 Allow the duration of the blocking service test to be specified by the caller
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835546 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 21:11:04 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Jacques Le Roux 29315e3798 all components
Following best practice.
Changed location="org/ofbiz/......... to location="component:// in the service location attribute.
using <service name=(.*)engine="simple"(.*)location="org/ofbiz => <service name=$1engine="simple"$2location="component://{componentName}/script/org/ofbiz 
with {componentName} done by hand

Also for bsh and groovy (services_test in copmmon). There is no longer any location="org/ofbiz in OFBiz

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755977 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 12:50:51 +00:00
Jacques Le Roux 572b7683e0 All tabs to 4 spaces in *.groovy, *.java, *.xml : less problems in future with that aspect...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@737003 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 11:08:47 +00:00
Andrew Zeneski 60f6102278 added SOAP test service for local loopback testing (OFBiz Client SOAP -> OFBiz Server SOAP)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@669643 13f79535-47bb-0310-9956-ffa450edef68
2008-06-19 18:48:08 +00:00
Scott Gray b28727bcca Removed auth="true" from 2 test services, one of them is on an eca from another test service that doesn't require auth
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659764 13f79535-47bb-0310-9956-ffa450edef68
2008-05-24 08:00:35 +00:00
David E. Jones a713ad4bd7 Added support for groovy services, and an example of the same; cleaned up the way that bsh services work and updated the example and such to match, now returns a context as one would expect
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@657701 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19 00:22:46 +00:00
Jacques Le Roux 042f4b855e Fix a typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@617987 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 13:54:41 +00:00
David E. Jones 75c26763e5 Fairly significant update to correct a long-standing problem; reverted ByteWrapper back for backward compatibility, and then replaced all use of ByteWrapper with java.nio.ByteBuffer; the main point is to both store only the byte[] data in the database and not a serialized object containing the byte[], and at the same time be able to read the old ByteWrapper objects, and there is a service to read and update all old data to be plan bytes instead of wrapped in a serialized object; this includes changing the java-type for blob fields to be java.sql.Blob to greater compatibility and flexibility, ie you can either set a plain byte[] or you can pass in a Blob object to be persisted, you can also get both as get returns java.sql.Blob, but getBytes always returns the byte[], converting as needed; this is tested a fair amount, but obviously needs to be watched as it is new code
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@587433 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 09:52:49 +00:00
Andrew Zeneski 3d856adeb2 added tx timeout to blocking test (to verify tx timeout)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@547442 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 23:22:49 +00:00
David E. Jones 7d70c41c12 Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
Andrew Zeneski 464f744f1b added test service to test map/list conversions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529712 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 19:03:43 +00:00
Andrew Zeneski 8c9e6bd5c6 implemented simple service stream handler; allows reading the inputstream of a request from inside a service; useful for processing non-standard requests
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@526262 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 19:30:22 +00:00
Jacques Le Roux dad67935f7 A (large) patch from Scott Gray "Update ASL header" (https://issues.apache.org/jira/browse/OFBIZ-637).
I put also some svn:ignore for shark build and lib diretories and assetmaint/build 

I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.

I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
Andrew Zeneski f18626034e updated test services to reflect new inline group changes to service defs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@493926 13f79535-47bb-0310-9956-ffa450edef68
2007-01-08 03:19:33 +00:00
Jacopo Cappellato 6c1d55d4a8 Conversion from MIT to ASL2.0 for the files of the common component.
Many thanks to Ashish Vijaywargiya for the patch (Apache OFBIZ-87).

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422421 13f79535-47bb-0310-9956-ffa450edef68
2006-07-16 09:47:46 +00:00
David E. Jones 94fe6d1cda Initial OFBiz import from revision 7923 of the old svn.ofbiz.org SVN repository.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418498 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 19:05:20 +00:00