Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Subscribe To
Posts
All Comments
Links
WSF/PHP
WSO2 Oxygen Tank
WSO2
WSO2 con is probably the biggest open source IT event happening in Sri Lanka. Apart from the other open source events that
Contributors took place in the past like FOSSSL and Apache Con Asia, WSO2 Con is the only IT conference that brings together industry
leaders from around the world to share their knowledge and experiences in Sri Lanka.
Chintana Wilamuna
Dimuthu Modeled after Apache Con, WSO2 Con has added tutorial tracks to the conference this year in addition to speaker sessions and
Malinda Kaushalye key notes. Just like it was in last year, some greats in the industry will be delivering keynotes. Also some fantastic sessions have
Kapuruge been lined up to share experiences in building open source middleware and solving integration problems using those software.
Manjula
If you want to dive deep and learn stuff hands on , don’t miss the tutorial tracks. There is nothing like learning from someone
Milinda Lakmal
Pathirage who has actually been there and done it.
Nandika Jayawardana
Add to that the great food that will be served, you are in for an event you will remember.
Samisa Abeysinghe
Supun Find out more about WSo2 Con at http://wso2.com/events/wso2con-2011-colombo/
Kamburugamuve
Thilanga Pitigala
Http (1)
Http (1) Often you would need to use https transport and plaintext username password instead of a signed username token. You can
Http Basic easily enable this option by specifying a policy file and an empty transportBinding element within it as follows.
Authentication (6)
https (5)
<wsp:Policy xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
IIS (1)
xmlns:sp="http://docs.oasisopen.org/wssx/wssecuritypolicy/200702">
install (6)
<wsp:ExactlyOne>
installation (2)
<wsp:All>
Integration (1)
<sp:TransportBinding>
Interoperability (5) <wsp:Policy>
Interoperable (4) </wsp:Policy>
Java (4) </sp:TransportBinding>
LAMP (1) <sp:SignedSupportingTokens>
libraries (1) <wsp:Policy>
library (1) <sp:UsernameToken
linux (2) sp:IncludeToken="http://docs.oasisopen.org/wssx/ws
list (1) securitypolicy/200702/IncludeToken/AlwaysToRecipient">
mashup (1) <wsp:Policy>
mashup server (1) <sp:WssUsernameToken10 />
Mashups (3) </wsp:Policy>
message level security </sp:UsernameToken>
(5) </wsp:Policy>
Messages (1) </sp:SignedSupportingTokens>
MIXED (1) </wsp:All>
modules (1) </wsp:ExactlyOne>
MSSQL (1) </wsp:Policy>
MTOM (7)
News (1)
NuSOAP (3) Now create the WSPolicy object by using the policy file.
online (1)
Open Source (5) $policy = new WSPolicy($policy_string);
openssl (2)
operations (1) In the WSClient options change “to” endpoint from “http” to “https” and specify the “CACert” option.
opParams (1)
Posted by Nandika Jayawardana at 11:09 AM 10 comments
OSCON (1)
Payload (1)
pecl (1) How to configure https for Apache2.2 and consume PHP web services
perfomance test (1)
pgsql (1) over https
Photos (1)
PHP (68) Step 1.
PHP 5.3 (1)
php.ini (1) Create a Certificate Authority, CA.
php2wsdl (2)
phpt (1) openssl genrsa des3 out ca.key 4096
Plugin (1) openssl req new x509 days 365 key ca.key out ca.crt
policy (2)
polymorphism (1)
portName (1) Now we have a certificate authority certificate to sign the certificate for the server.
postgresql (1)
Step 2.
Proxy Authentication
(2)
proxyHost (1) Generate a key for the server.
proxyPort (1)
Public Web Servies (2) openssl genrsa des3 out server.key 4096
relative dir (1)
Release 1.2.1 (4)
Release 1.3.0 (2)
Generate a certificate signing request
release 1.3.1 (1)
replay attack (1)
response time (1) openssl req new key server.key out server.csr
REST (21)
RESTful (4)
restrictinon (1) Optional step : remove the passphrase from the key
RIA (1)
RM (1)
Rename server.key to server.key.bac.
RPC Encoded (1)
RPCEnc (1) openssl rsa in server.key.bac out server.key
rpm (1)
Sample (1)
Samples (3)
Step3.
schema (3)
schema types (1)
schema types (1)
Sign the generated key with certificate authority
scratch (1)
screencast (1) openssl x509 req days 365 in server.csr CA ca.crt CAkey ca.key set_serial 01 out server.crt
Security (6)
Serialization (1)
serviceName (1)
short note (1) Now we have the necessary keys and certificates to configure Apache2.2 server to enable https
signing (3)
Step4.
simple types (2)
simpleContent (1)
simpleType (1) copy the generated keys, certificates to a directory named keys under the conf directory.
simplexml (1)
SOA (20) Uncomment ssl module and ssl configuration file in httpd.conf.
SOAP (18)
LoadModule ssl_module modules/mod_ssl.so
SOAP 1.1 (1)
SOAP 1.2 (1)
Include conf/extra/httpdssl.conf
SOAP Action (1)
SOAP Fault (1)
soap headers (3)
SoapParam (1) Step 5.
SoapVar (1)
configure https in httpd-ssl.conf file located in conf/extra directory. Use the default settings and specify the following Files to
solutions (1)
match your local settings.
sql query (1)
SQLite (1)
steps (1) SLCertificateFile "F:/Apache2.2/conf/keys/server.crt"
Stock Trader (3)
Support (1) SSLCertificateKeyFile "F:/Apache2.2/conf/keys/server.key"
SWA (5)
SSLCACertificateFile "F:/Apache2.2/conf/keys/ca.crt"
TechEd (1)
testcases (2)
#SSLVerifyClient require
testsuit (1)
The Uniform Server (1) SSLVerifyDepth 1
third party hosting (1)
timestamp (1)
tools (3)
Training (2) SSLVerifyClient and SSLVerifyDepth options would only be required, if you want the client to authenticate to the server using a
certificate and a passphrase.
transport security (2)
traversing (1)
Now you have successfully configured https for your server.
troubleshooting (1)
Tutorial (6) When connecting to the server, you can obtain the servers certificate by using openssl.
ubuntu (3)
union (1) openssl s_client –connect localhost:443 > scert.pem
URL Mapping (1)
usernameToken (4) Now open the scert.pem and remove the unnecessary. Only the content within the -----BEGIN CERTIFICATE----- and -----END
video (1) CERTIFICATE----- needed for the certificate. You certificate would look like
WAMP (2)
WampServer (3) BEGIN CERTIFICATE
Web Service
Framework for PHP (3) END CRETIFICATE
Web Services (52)
Webinar (1) Step 6.
webservices (5)
Now we can connect to a service deployed in Apache server using https and consume it.
windows (1)
WOA (1)
wordpress (1) $client = new WSClient(array(“to”=>”https://localhost/webservices/service1.php”,
WS* (1)
WSAddressing (1) “CACert”=>”cert.pem”));
WSPolicy (3)
$response = $client->request($input);
WSSecurity (10)
WSAAction (1)
WSAS (3)
WSClient (12) Much more detailed discussion on implementing https alone with Axis2/C is available here.
WSDL (21)
WSDL Generation (7) Posted by Nandika Jayawardana at 10:45 AM 1 comments
WSDL mode (19)
wsdl1.1 (1)
wsdl2.0 (1)
BAM Tool for PHP
wsdl2php (9) Thursday, February 25, 2010
wsfsecurity policy (1)
Business Activity Monitoring (BAM), open source tool, can be used to monitor PHP Web services as well.
wsf.home (1)
WSF/Perl (2)
WSF/Perl (2) You can use the generic mode of the tool and monitor Web services as well as all PHP deployments in general.
WSF/PHP (75)
WSF/PHP 1.2.2 (1) Here is an article on Business Activity Monitoring An Introduction to learn more about BAM
wsf/php 2.0.0 (5) Posted by Samisa Abeysinghe at 8:18 AM 7 comments
WSF/Python (1) Labels: BAM, SOA, Web Services
WSF/Ruby (1)
WSF/Spring (1)
WSFault (3)
SOA Workshop
WSHeader (1) Monday, October 12, 2009
WSMessage (4)
WSMessasge (1) Here is an opportunity to
WSO WSF/PHP (8) get hands on experience
WSO2 (6) on implementing SOA.
WSO2 Oxygen Tank (3)
WSO2 WSAS (1)
WSO2 WSF/PHP (11)
WSService (3)
x509 (2)
XAMPP (2)
XML (4)
XML inout (1)
xml schema (4)
XML Signature (2)
xpath (1)
xsi:type (1)
Yahoo (2)
Zend (1)
Zend Core (2)
Zend Framework (2)
Posted by Nandika Jayawardana at 11:18 AM 0 comments
So easiest thing to do, if you want to run a client with HTTPS on Linux with a certificate created on windows, just do a dos2unix
on the certificate. :)
Posted by Nandika Jayawardana at 10:25 AM 1 comments
Labels: certificate, https
First download both PHP 5.3.0 source and binary distributions from php.net. You will also need to download the binary tools
such as bison.exe which are required to build the PHP source.
Next you need to run the buildconf.bat contained with the php source in order to build the windows specific headers.
Now cd to wsfphp directory and open the configure.in file and set php configurations as follows.
PHP_SRC_DIR = E:\php\php-5.3.0
PHP_BIN_DIR = E:\php\php-5.3.0-Win32
BINDLIB_DIR = E:\php\bindlib-cvs-vc8
Of course you need to set the other dependencies according to your machine configurations.
Now run the build.bat file. This will build wsf/php binary for php 5.3.0
Posted by Nandika Jayawardana at 10:04 AM 7 comments
Labels: PHP 5.3
What is your wishlist when it comes to PHP Web servies? What tools are you looking for?
How about something similar to PHP MyAdmin for PHP Web services? Point to the service, and just use it?
What about hosting? Do you have trhoube consuming services from hosted PHP instances?
What about IDE integration? Would you like it to be intergated with, say, Eclipse?
WSO2 Web Services Framework for C++ (WSO2 WSF/C++) 2.0.0 Released
=================================================================
WSO2 WSF/C++ team is pleased to announce the release of WSO2 WSF/C++ 2.0.0.
WSO2 Web Services Framework for C++ (WSO2 WSF/C++) is a standards compliant, enterprise
grade, open source, C++ library for providing and consuming Web services in C++, based on the popular,
http://wso2.org/projects/wsf/cpp
-------------
Key Features
=============
* ServiceClient class with one-way and two-way service invocation support
* Options class to facilitate configuring the client for both SOAP and REST options.
3. WS-Addressing
* Submission
4. WSPolicy
5. WS-Security
* Signing
* Encryption
* WS-Trust
* By providing a wsdl and options, generate client stubs and service skeletons
8. WS-Reliable Messaging
--------------------------------
================================
3. Documentation Improved.
-------------------
Known Issues
-------------------
-------------------
Reporting Problems
===================
https://wso2.org/jira/browse/WSFCPP
----------------------
Contact Us
===========
Please subscribe to our user or developer mailing lists. For details on how
Posted by Nandika Jayawardana at 10:46 PM 2 comments
Posted by Nandika Jayawardana at 5:33 AM 5 comments
Older Posts