Users - spezialised application overwrites request in other application (?)

Posted by Anna Schietz on
URL: http://ofbiz.116.s1.nabble.com/Users-spezialised-application-overwrites-request-in-other-application-tp136997.html

hi,

I’m trying to create an ecommerce application with OfBiz as an university
project. I'm new to OfBiz and unfortunately my experience with java based
web applications is also rather basic (which could also be a “small” problem
here.. but well.. I’m learning…).
My problem is no real problem because I figured out how to solve it but I
want to understand why this happens because it seems to be something quite
basic and important:

- When I do not load the the opentravelsystem in the component-load.xml I
can submit an order in the ecommerce component and everything works fine.
- When I load the opentravelsystem, I cannot submit an order (neither from
my own application which I develop in the specialized folder nor from the
ecommerce application) because in the last step (request “processorder”)
some errors occur. The first one is

Service [createInvoiceOfbiz] threw an unexpected exception/error
Exception: org.ofbiz.service.GenericServiceException
Message: Error running simple method [createInvoice] in XML file
[org/ofbiz/accounting/invoice/InvoiceServicesExt.xml]:  (Could not find
SimpleMethod XML document in resource:
org/ofbiz/accounting/invoice/InvoiceServicesExt.xml)

The only place in the source where InvoiceServicesExt.xml is referenced is
in the services.xml of the opentravelsystem in the service
createInvoiceOfbiz. The service createInvoiceOfbiz is called by the service
createInvoice in the services.xml of the opentravelsystem. But I don’t know
where this createInvoice service is called.

-->So I’m wondering….
Where is the connection between ecommerce/control/processorder and  the
opentravelsystem createInvoice? I can’t find it..
How/why does the opentravelsystem affect the ecommerce application? Is there
a request overwritten, how does this work?

Is there a place where I can learn more about stuff like this or is there
just “learning by doing”? I’ve been reading the docs for a couple of weeks
now but I’m not making as much progress as I would want to.

I’m working with IntelliJ idea and I’m trying to figure this out via
debugging, but, well.. it didn’t work, I get confused (I can’t step through
all the xml or bsh files as I could through java code, which makes things
difficult for me) and can’t find out where things happen and why they do
what they do.


Maybe you could give me some hints?
thanks a lot!!

Anna

--
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users