Friday, January 7, 2011
How to view webservices inside jdeveloper 11g
Tuesday, December 21, 2010
ADF 11g: My XSD does not include Child VO details
After generating the client proxy I could see the parent VO SDO but it was missing the child VO SDO to pass child details. So, in such situations the most obvious place to look for is the parent xsd generated by jdeveloper. I looked into it and to my surprise the child vo details were not included in the parent vo xsd.
I retried the process of generating the service interface of my application module number of times and every time it failed to generate the child vo details in the parent vo xsd. The natural thing came to my mind was a bug in jdeveloper in this case. I was about to do that and by chance I just navigated to child VO details and saw that child vo is not exposed as a service. So, I manually did that and bingo!!! The smart jdeveloper automatically updated my parent vo xsd to include its details.
So, I would conclude it saying that when I generated the service interface for my AM at that time while including parent vo it should automatically take care to generate the child vo xsd as well.
Thursday, July 9, 2009
Innovator award
Tuesday, July 1, 2008
XMLHttpRequest and security restrictions
XMLHttpRequest object the heart of AJAX programming is having security implications due to its power to run code remotely using javascript.
To keep the things secure you cannot use a URL in the XMLHttpRequest which is not from the domain where the javascript is executed. For example if there is a xml file news.xml at http://mydomain.com/news.xml you cannot read this xml using a javascript on a web page which is not deployed in the http://mydomain.com domain.
So, same stuff holds true for the webservices which are deployed in other domains. You cannot invoke them from your domain by just using XMLHtppRequest. there are two solutions to this.
1. Digital signing: You can sign your javascript and it will inform the webservice host that it guarantees not to be malicious. But that is a bit difficult to do.
2. Second approach is using proxy . You can send your request through a proxy resource located in the same domain where the web service is deployed. this proxy forwards the request to the webservice and returns the result to the browser.