329 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Jobs | Twitter | Bookmarks | Pods | Blogs | Search | myPL | About 
 
Latest 7 Posts
How To : Prevent xp:comboBox Jumps on Next Line in Read Mode ?
Tue, Feb 12th 2013 236
Debug BlackBerry WebWorks Application on Device
Tue, Feb 5th 2013 239
How To : Prevent xe:dropDownButton Jumps on Next Line ?
Tue, Jan 22nd 2013 267
Another Turkish Char Problem in XPages Editor (XPages Editorde Türkçe Karakter Problemi)
Thu, Jan 10th 2013 309
Blue Now …
Thu, Dec 13th 2012 538
Ben de bir IBM Şampiyon ‘um :)
Thu, Dec 13th 2012 317
StackOverflow Question (XPages – xp:fileDownload Control in xp:repeat Control)
Thu, Nov 1st 2012 342
Top 10
Blue Now …
Thu, Dec 13th 2012 538
OneUI (v2.0 & v2.1) Documentation Links
Tue, Nov 22nd 2011 453
StackOverflow Question (XPages – xp:fileDownload Control in xp:repeat Control)
Thu, Nov 1st 2012 342
Ben de bir IBM Şampiyon ‘um :)
Thu, Dec 13th 2012 317
Another Turkish Char Problem in XPages Editor (XPages Editorde Türkçe Karakter Problemi)
Thu, Jan 10th 2013 309
XPages – Simple PickList Dialog
Fri, Jul 6th 2012 288
Blackberry Uygulama Geliştirme – Part 3 (Eclipse’de Geliştirme)
Tue, Dec 28th 2010 285
XPages – Expression Language (EL) – Some Useful Links & Sample
Thu, Oct 18th 2012 281
How To : Prevent xe:dropDownButton Jumps on Next Line ?
Tue, Jan 22nd 2013 267
jQuery UI – DatePicker in XPages
Sun, Oct 14th 2012 259


Call WebService from Java (SSJS – XPages) (XSnippets)
Best Coder    


Development GUIDE

1. Create WSDL Stub Files using wsimport

1.1. Open Command Prompt (Run > cmd)

1.2. write “wsimport -d C:FakeWSFiles -keep http://www.bestcoder.net:80/samples/FakeWS?wsdl”
“C:FakeWSFiles -> Stub Files will be stored in this folder”

1.4. If everything is fine, you will see these messages on cmd.

parsing WSDL…
generating code…
compiling code…

2. Open Domino Designer, goto XPages Perspective, Open Your XPages Application and goto Package Explorer

2.1. Create src folder under WebContentWEB-INF

2.2. Right click on src and click on Build Path > Use as Source Folder menu.

2.3. Goto C:FakeWSFiles folder and open *.java file in notepad and copy package name.

2.4. Right click on WebContentWEB-INFsrc folder and New > Other > Java (Package)

2.5. Paste package name on next screen (Name field)

2.6. Click on Finish.

2.7. Goto C:FakeWSFiles folder and copy all *.java files. (Select All *.Java Files and CTRL + C)

2.8. Select your Package under WebContentWEB-INFsrc and click CTRL + V

3. Now, all Java files is copied under your package.

4. Create another Class and write your own code inspired by this sample code.

Finally,

5. Add grant for related class at Domino JVM Security file

Open java.policy file from …IBMLotusDominojvmlibsecurity
Append grant string after “// Notes java code gets all permissions”
grant {
permission java.lang.RuntimePermission “setContextClassLoader”;
permission java.lang.reflect.ReflectPermission “suppressAccessChecks”;
};
Or
grant {
permission java.security.AllPermission;
};
tell http q
load http

// *******************
USAGE in SSJS under Button (Server Options : Full Update) : com.domino.openntf.WSFake.Exec()
// *******************

Share and Enjoy



---------------------
http://www.bestcoder.net/2012/05/25/call-webservice-from-java-ssjs-xpages-xsnippets/?utm_source=rss&utm_medium=rss&utm_campaign=call-webservice-from-java-ssjs-xpages-xsnippets
May 25, 2012
233 hits



Recent Blog Posts
236


How To : Prevent xp:comboBox Jumps on Next Line in Read Mode ?
Tue, Feb 12th 2013 6:10p   Ferhat Bulut
Why ComboBox object becomes “table” when you are in Read Mode ? It looks like this. Add this CSS properties and It looks good display: inline -> Life Save in XPages ) lotusFormTable is a parent form table class name. (custom class name) table.lotusFormTable td table { display: inline; } table.lotusFormTable td table tbody tr td { display: inline; margin: 0px; padding: 0px; } Share This : Share on Facebook Retweet this Submit this t [read] Keywords: xpages css facebook linkedin properties twitter
239


Debug BlackBerry WebWorks Application on Device
Tue, Feb 5th 2013 5:10p   Ferhat Bulut
BlackBerry WebWorks Cihaz uzerinde Web Inspector ile gelistirilen uygulamanin cihaza yuklendikten sonra cihaz uzerinde calisirken PCden debug edilmesi / incelenmesi. Super ozellik tek kelimeyle … Share This : Share on Facebook Retweet this Submit this to [read] Keywords: application blackberry facebook linkedin twitter
267


How To : Prevent xe:dropDownButton Jumps on Next Line ?
Tue, Jan 22nd 2013 5:13p   Ferhat Bulut
How to prevent xe:dropDownButton jump on next line between regular buttons of your XPages ? I mixed CSS properties and finally solved. First of all, working on Latest ExtLib (853.20121217-1354) Notes 8.5.3 FP3 @ Domino 8.5.3 FP2 64bit Now Its looking like this : After following update …. (for xe:dropDownButton -> style=”display:inline”) Retweet t [read] Keywords: domino ibm notes xpages css facebook javascript linkedin properties twitter xml
309


Another Turkish Char Problem in XPages Editor (XPages Editorde Türkçe Karakter Problemi)
Thu, Jan 10th 2013 6:13a   Ferhat Bulut
Biran geliştirdiğim XPages sayfasını kaybettiğimi sandım ama şükür sorunu tahmin yöntemiyle buldum ve kurtardım yazdığım kodları Yapmamanız gereken kodu özetle şu şekildedir ark.lar. Öncelikle sistem özellikleri : Windows 7 64bit IBM Domino Designer 8.5.3 FP2 with Upgrade Pack 1 Sorunun oluşma şekli : Custom Control oluşturun. Property Definition bölümünde bir değişken oluşturun. (Örnek : Title) Design Definition bölümünde istediğiniz tasarımı XML ile ya [read] Keywords: domino ibm xpages bug development facebook java linkedin twitter xml
538


Blue Now …
Thu, Dec 13th 2012 5:16p   Ferhat Bulut
Ed Brill announed that the IBM Notes & Domino 9 Social Edition betas are now available for download. Download IBM Notes & Domino 9 Social Edition Beta IBM Notes & Domino 9 Social Edition Beta Forum for Feedbacks I just installed IBM Notes & Domino 9 Social Edition (Public Beta) on my computer. When installation ended, tried to open http task but not loaded. Domino displayed warning “there is no httpd.cnf” file. I saw this error when I installed Domino 8.5.3 on [read] Keywords: domino ibm ldd lotus notes xpages application facebook linkedin twitter
317


Ben de bir IBM Şampiyon ‘um :)
Thu, Dec 13th 2012 5:16p   Ferhat Bulut
Dün Joyce Davis, 2013 IBM Champions for Collaboration Solutions listesini açıkladı. Ben de bu ünvana layık görülerek bir IBM Champion olmaktan büyük onur ve mutluluk duyduğumu belirtmek isterim. Evet artık ben de bir IBM Şampiyon ‘um Bu ünvanın ne demek olduğunu değerli dostum Serdar Başeğmez çok güzel paylaşmıştı geçen sene, 50 kişinin içinde yer alarak gururlandırmıştı bizi. Kendisini ayrıca tekrar tebrik ediyorum hem bu başarısını devam ettire [read] Keywords: collaboration connections ibm lotus lotusphere facebook linkedin twitter
342


StackOverflow Question (XPages – xp:fileDownload Control in xp:repeat Control)
Thu, Nov 1st 2012 9:13a   Ferhat Bulut
Do you have any idea how can I use xp:fileDownload control in a xp:repeat control ? I binded xp:repeat control to view. So I am available to get NotesViewEntry per line. But I didnt get attachments using var variable in xp:fileDownload control. I placed xp:repeat in xp:panel and created data document in panel object. I placed fileDownload control inside this panel. And binded document data source to fileDownload. Not worked ! Have an idea ? I have 10 documents and every document has one more att [read] Keywords: xpages facebook javascript linkedin twitter




241


Login Manager is now available …
Sat, Oct 20th 2012 7:11a   Ferhat Bulut
It helps to easy login during application tests. No need to memorize user login details, no typing pass. Just two click to login. Try demo application. Share This : Share on Facebook Retweet this Submit this to [read] Keywords: application development facebook linkedin twitter
281


XPages – Expression Language (EL) – Some Useful Links & Sample
Thu, Oct 18th 2012 6:11a   Ferhat Bulut
A JSTL primer, Part 1: The expression language JSF Techniques – EL Resolvers Simple If – Then for rendered properties in table – tr using view column data. [Column value of GorusTipi equals "Zorunlu"] AND [Column value of UygunlukDurumu IS NOT EMPTY] Table 2. The EL operators Category Operators Arithmetic +, -, *, / (or div), % (or mod) Relational == (or eq), != (or ne),  (or gt), = (or ge) Logical && (or and), || (or or), ! (or not) [read] Keywords: ibm xpages facebook java linkedin properties twitter
205


Working on Login Manager …
Thu, Oct 18th 2012 6:11a   Ferhat Bulut
Simple commercial product. Will become ready in a few days. I hope, you will love & download it Share This : Share on Facebook Retweet this Submit this to [read] Keywords: facebook linkedin twitter




Created and Maintained by Yancy Lent - About - Blog Submission - Suggestions - Change Log - Blog Widget - Advertising - Mobile Edition