Re: Using SOAP complex types with OfBiz

2008-11-23 Thread Michael Imhof
Please try to develop SOAP service calls step by step. It seems to me that you're searching for a overall solution wich I can't provide because it's too complicated (too many classes involved and our OfBiz version is 2years old!!). 1) Are you able to generate WSDL-Files out of ofbiz service

Re: Using SOAP complex types with OfBiz

2008-11-21 Thread Michael Imhof
of an ofbiz service exported via soap? Thank you very much! Alfredo Michael Imhof wrote: After a while a found a way to create and process SOAP request with complex types in OfBiz: 1). Use Java2WSDL to create a WSDL. This allows you to use complex types. javac: Compile

Re: Creating a .net webservice.

2007-09-20 Thread Michael Imhof
Hi Christoffer, I can't figure out which direction your problem goes: 1.Calling a .NET SOAP service from OFBIZ? 2.Calling a OFBIZ SOAP service from .NET? To the first case I got no experience. We're using the second case. That means we: * Generate WSDL's out of OFBIZ (even with complex

Using Basic Authentication with OFBIZ

2007-09-20 Thread Michael Imhof
Following this link: http://www.unix.org.ua/orelly/java-ent/servlet/ch08_01.htm we can extend the OFBIZ SOAPEventHandler to support basic authentication. Add the following code snipped to the start of SOAPEventHandler.invoke(..): Map serviceContext = new HashMap();

Re: Accessing authentication information

2007-09-20 Thread Michael Imhof
Redirect to this post: http://www.nabble.com/Using-Basic-Authentication-with-OFBIZ-tf4487032.html Michael Imhof wrote: The OFBIZ technique to secure external calls is to add login.username and login.password to the parameters. But we don't want to add this additional parameters to every

Re: java.io.NotSerializableException when using response type url

2007-08-27 Thread Michael Imhof
=listEntries/ /request-map Michael G.Venkata Phanindra wrote: Hi, I donnot see any problem with the request-map u have listed below plese do check if there is any issue with the class u r using. Is the log file added below is complete ... On 4/25/07, Michael Imhof [EMAIL

BasicAuthentication

2007-08-27 Thread Michael Imhof
We got an OfBiz service used by an external client via SOAP. The authentication is made with BasicAuthentication. How can I use BasicAuthentication with OfBiz? Regards Michael -- View this message in context: http://www.nabble.com/BasicAuthentication-tf4334123.html#a12343733 Sent from the

UtilHttp.streamContentToBrowser problem with IE

2007-07-08 Thread Michael Imhof
To download files from server, we're using the Ofbiz method UtilHttp.streamContentToBrowser But this function is not working properly with Internet Explorer (Tested with IE 6.0). I figured out, that the cache control property Pragma causes the error. So, when I comment this line, the download is

Re: Problems with Oracle Database

2007-05-21 Thread Michael Imhof
that it will be commited but at least the idea will be there, opened to everybody... Jacques - Message d'origine - De : Michael Imhof [EMAIL PROTECTED] À : user@ofbiz.apache.org Envoyé : mardi 15 mai 2007 10:05 Objet : Re: Problems with Oracle Database Hi Jacopo, I saw

RE: Problems with Oracle Database

2007-05-21 Thread Michael Imhof
will be there, opened to everybody... Jacques - Message d'origine - De : Michael Imhof [EMAIL PROTECTED] À : user@ofbiz.apache.org Envoyé : mardi 15 mai 2007 10:05 Objet : Re: Problems with Oracle Database Hi Jacopo, I saw this note before, but I don't want to install a trigger on the client

Re: Problems with Oracle Database

2007-05-15 Thread Michael Imhof
'\'' +value '\''; Seems to work fine... Michael Jacopo Cappellato wrote: Michael, have a look at these notes: http://docs.ofbiz.org/x/gAI let me know if they help you and if you have additional suggestions for OFBizOracle Jacopo Michael Imhof wrote: We developed our OfBiz

Problems with Oracle Database

2007-05-14 Thread Michael Imhof
We developed our OfBiz application on a mysql database and all works fine. Deploying the application on the client server with Oracle database I got exceptions with the sandbox: ORA-01861: literal does not match format string This is a problem with the date conversion. On MySql, the

Error in simple-method operation

2007-05-01 Thread Michael Imhof
I got an OutOfMemoryError using simple-method entity-and (same with find-by-and). Error in simple-method operation [entity-and/]: java.lang.OutOfMemoryError: Java heap space The Error occurs only once (the first call of the service). Then it works fine... entity-and entity-name=Country

Re: Error in simple-method operation

2007-05-01 Thread Michael Imhof
: For running ofbiz from command line..instead of java -jar ofbiz.jar you can use java -Xms512m -Xmx1024m -jar ofbiz.jar This will solve ur OutOfMemory problem in any of the ofbiz operations. Regards, Mridul On 5/1/07, Michael Imhof [EMAIL PROTECTED] wrote: I got an OutOfMemoryError using

Last changed by

2007-04-30 Thread Michael Imhof
I would like to store the user login id of the last user changed the data (last changed by). Does somebody has an idea for a generic implementation?? I tried to make it like the ModelEntity.STAMP_FIELD in the GenericDao class, but I don't now any user informationen on the GenericDao level?? (Or

java.io.NotSerializableException when using response type url

2007-04-25 Thread Michael Imhof
I defined the following request: request-map uri=processUpload security https=true auth=true/ event type=java path=ch.nowhow.isgate.file.FileEvents invoke=processLocaleFile/ response name=success type=url value=/archiv/control/listArchiv/ response name=error

Re: missing path for file form field

2007-04-22 Thread Michael Imhof
Any suggestions after the weekend??? (I have to put me back on top of the issue list again:-)) Michael Michael Imhof wrote: I'm using a form with a file input field: field name=filename title=Choose a file file/file /field On submit I call a service

missing path for file form field

2007-04-20 Thread Michael Imhof
I'm using a form with a file input field: field name=filename title=Choose a file file/file /field On submit I call a service wich uses the field filename. But instead of having the whole path string (The input field is filled with: /home/mike/test.dat) I only

Entity condition with multiple entities

2007-04-17 Thread Michael Imhof
Is it possible to make a entity condition joining over multiple entities or do I need a entity-view?? Sample: Show me all UserLogin with permissionId = ADMIN_VIEW (It's just a nonsense sample). For this query I have to join UserLogin with SecurityGroupPermission to get the result. How would