ActionBarSherlock - Home: "ActionBarSherlock"
This Blog is first of all memos for me!! From time to time I get exposed to new and cool stuff for developers and architects ,most of the time its a solution for a problem or tips or tricks, so, I would like to track my memos and share it with you, it can save your time and nervous, I hope you will enjoy it - by Yaniv Tzanany.
Search This Blog
Monday, March 18, 2013
Saturday, March 16, 2013
AXIS C++ - starter kit for client on windows- WS from C++
To call Webservice from C++ (VC6 in may case) consider using AXIS C++ - gSoap is also a good option.
before starting your code , its very important to set the axis c++ correctly, i get many "system exception" until i figure out that i need to set the environment properly.
after downloading your version (axis-c-1.6b-Win32-trace-bin) and extract it.
set the this environment variable:
- AXISCPP_DEPLOY=D:\MyStuff\axis-c++\axis-c-1.6b-Win32-trace-bin\ -- [ your path]
- add %AXISCPP_DEPLOY%\bin to your PATH.
- download - xerces 2.2 , grab the dll from the bin directory and put it in the %AXISCPP_DEPLOY%\bin directory.
- Create file axiscpp.conf at %AXISCPP_DEPLOY%
in the file set the next rows - use full path:
#ClientLogPath is for axis trace - leave empty in case you dont want
ClientLogPath:D:\MyStuff\axis-c++\axis-c-1.6b-Win32-trace-bin\logs\AxisLog.txt
XMLParser:D:\MyStuff\axis-c++\axis-c-1.6b-Win32-trace-bin\bin\AxisXMLParserXerces.dll
Transport_http:D:\MyStuff\axis-c++\axis-c-1.6b-Win32-trace-bin\bin\HTTPTransport.dll
Channel_HTTP:D:\MyStuff\axis-c++\axis-c-1.6b-Win32-trace-bin\bin\HTTPChannel.dll
Channel_HTTP_SSL:D:\MyStuff\axis-c++\axis-c-1.6b-Win32-trace-bin\bin\HTTPSSLChannel.dll
you are done - its configured properly.
to create your C++ classes from WSDL:
- get the wsdl
- open cmd windows
- set the classpath
- e.g set CLASSPATH=D:\MyStuff\axis-c++\axis-c-1.6b-Win32-trace-bin\lib\axis\wsdl2ws.jar;D:\MyStuff\axis-c++\axis-c-1.6b-Win32-trace-bin\lib\axisjava\axis.jar;D:\MyStuff\axis-c++\axis-c-1.6b-Win32-trace-bin\lib\axisjava\commons-discovery.jar;D:\MyStuff\axis-c++\axis-c-1.6b-Win32-trace-bin\lib\axisjava\commons-logging.jar;D:\MyStuff\axis-c++\axis-c-1.6b-Win32-trace-bin\lib\axisjava\jaxrpc.jar;D:\MyStuff\axis-c++\axis-c-1.6b-Win32-trace-bin\lib\axisjava\saaj.jar;D:\MyStuff\axis-c++\axis-c-1.6b-Win32-trace-bin\lib\axisjava\wsdl4j.jar
- run the command
- java org.apache.axis.wsdl.wsdl2ws.WSDL2Ws any_wsdl.wsdl -lc++ -sclient
you should see your header/cpp files in the directory.
happy coding
Yaniv Tzanany
Tuesday, March 12, 2013
.NET - Choosing the Right Data Access Technology for Your Application
Data Development GPS: Guidance for Choosing the Right Data Access Technology for Your Application Today | Tech·Ed North America 2010 | Channel 9: "Guidance for Choosing the Right Data Access Technology for Your Application Today"
Monday, March 11, 2013
Wednesday, March 6, 2013
Usefull MQ command
here are some usefull comand to use when working with MQ
command to display the queuestatus of a queue:
dis qs() type(handle) all
command to display the queuestatus of a queue (and only display the pid) :
dis qs() type(handle) pid
command to display the queuestatus of a queue (and display the applicationtag and the pid) :
dis qs() type(handle) appltag pid
display all the queues that contains more then 0 messages: dis ql(*) where (curdepth gt 0)
start an api trace:
strmqtrc -m [QM] -t api
(the -t has several options. Logs are written to:/trace)
end a trace:
endmqtrc -m [QM]
on windows you can read the TRC files via text viewer.
Enjoy
Yaniv Tzanany
command to display the queuestatus of a queue:
dis qs(
command to display the queuestatus of a queue (and only display the pid) :
dis qs(
command to display the queuestatus of a queue (and display the applicationtag and the pid) :
dis qs(
display all the queues that contains more then 0 messages: dis ql(*) where (curdepth gt 0)
start an api trace:
strmqtrc -m [QM]
(the -t has several options. Logs are written to:
end a trace:
endmqtrc -m [QM]
on windows you can read the TRC files via text viewer.
Enjoy
Yaniv Tzanany
Tuesday, February 19, 2013
Wdcil meeting notes
Mock framework for .net to simulate mockup objects.
Application routing - could be added to .net as package to control routing.
Application routing - could be added to .net as package to control routing.
Create github project
Clone it to disk via tortoys for git.
Create project in app harbor.
App harbor will let you deploy your stuff in the cloud with db.
Connect github to appharbor. As service hook. And collorbation.
Add nuget to your project.
Upload to git.
Deploy in appharbor.
Clone it to disk via tortoys for git.
Create project in app harbor.
App harbor will let you deploy your stuff in the cloud with db.
Connect github to appharbor. As service hook. And collorbation.
Add nuget to your project.
Upload to git.
Deploy in appharbor.
Mind Meister good Web.
Dev http client. Very good Dev plugin for chrome.
There are many Mvc framework for the client.
Bootstrap and jquery mobile very good for mobile development.
Bootstrap and jquery mobile very good for mobile development.
Backbone its mvc in the client
Sunday, February 10, 2013
Visual Studio 6 (VC++) under Windows 7 64 bit - process not killed
there is a fix from Dr.Hoiby ,
You need to check the version of the file DM.dll that located into "Common/MSDev98/Bin" is 6.0.9782.0..
i used sp6.
i used sp6.
replace the file from http://www.dr-hoiby.com/TLLOC.dll (28KB) with the current TLLOC.dll in your Common/MSDev98/Bin.
its works for me .
Yaniv Tzanany
Subscribe to:
Posts (Atom)