Posted by
Hans Bakker on
Jan 20, 2006; 2:06pm
URL: http://ofbiz.116.s1.nabble.com/Users-spezialised-application-overwrites-request-in-other-application-tp136997p137000.html
Yes this is intentional.
The opentravelsystem overrides some services. However they were designed in
such a way that the changes only become active if the login partyId has also
an entry in the partyAcctgPreference table.
If that is not the case, the services should work as normal....
A problem could be however is that the opentravelsystem makes use of the new
accounting system.....and that system is not present in the open source
version....that is why the InvoiceServicesExt.xml file is missing....I did
not try this but you could change that to InvoiceServices.xml in the
accounting application....
Concerning stepping throught the xml code is not possible only stepping
through the java code which excutes the xml code....
--
Regards,
Hans Bakker
ANT Websystems Co.,Ltd (
http://www.antwebsystems.com)
If you want to verify that this message really originates from
from the above person, download the public key from:
http://www.antwebsystems.com/hbakkerAntwebsystems.ascOn Friday 20 January 2006 19:53,
[hidden email] wrote:
> hi,
>
> Im 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.. Im 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 dont know
> where this createInvoice service is called.
>
> -->So Im wondering
.
> Where is the connection between ecommerce/control/processorder and the
> opentravelsystem createInvoice? I cant 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? Ive been reading the docs for a couple of weeks
> now but Im not making as much progress as I would want to.
>
> Im working with IntelliJ idea and Im trying to figure this out via
> debugging, but, well.. it didnt work, I get confused (I cant step through
> all the xml or bsh files as I could through java code, which makes things
> difficult for me) and cant find out where things happen and why they do
> what they do.
>
>
> Maybe you could give me some hints?
> thanks a lot!!
>
> Anna
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users