473,672 Members | 2,637 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

secure soap connection where server is in java ?


I have been trying to figure out apache/rampart soap security. We
have a soap server in java and the client is PHP. I just read this
article which concerns me because it seems to imply rampart/java won't
work with PHP. Are there any other good solutions, particularly simple
ones ? I have been trying to get rampart/java working for the past 3
days and haven't even gotten to the PHP client part as of yet, then it
occured to me to do a google search to see if the client being in PHP
might be an issue:

in interview from this past february:

http://wso2.org/library/805

OT: There is also Apache Rampart/Java [2]. What is the relationship
between these two?

Kaushalye: Well...Rampart/ Java is our big brother. Just like Apache
Rampart/Java serves for Apache Axis2/Java, Apache Rampart/C serves for
Apache Axis2/C. We are trying our best to keep both implementations
similar, especially to keep the configurations similar. This is a bit
challenging due to the differences in the platforms. The C
implementation is not just for C developers. Our aim is to let PHP, C+
+, and Perl developers use Apache Rampart/C. So we have to make the
Apache Rampart/C implementation more flexible. We also need to provide
easy-to-use APIs for all these platforms.

Jul 19 '07 #1
4 3503
Rik
On Thu, 19 Jul 2007 13:58:12 +0200, wb*******@yahoo .com
<wb*******@gmai l.comwrote:
I have been trying to figure out apache/rampart soap security. We
have a soap server in java and the client is PHP. I just read this
article which concerns me because it seems to imply rampart/java won't
work with PHP.
Am I missing something here? The reason to work with SOAP connections is
so anything can communicate with anything, is it not? As long as client
and server follow protocol, communication should be OK.
Are there any other good solutions, particularly simple
ones ? I have been trying to get rampart/java working for the past 3
days and haven't even gotten to the PHP client part as of yet, then it
occured to me to do a google search to see if the client being in PHP
might be an issue:

Kaushalye: Well...Rampart/ Java is our big brother. Just like Apache
Rampart/Java serves for Apache Axis2/Java, Apache Rampart/C serves for
Apache Axis2/C. We are trying our best to keep both implementations
similar, especially to keep the configurations similar. This is a bit
challenging due to the differences in the platforms. The C
implementation is not just for C developers. Our aim is to let PHP, C+
+, and Perl developers use Apache Rampart/C. So we have to make the
Apache Rampart/C implementation more flexible. We also need to provide
easy-to-use APIs for all these platforms.
Well, AFAIK it just states that a module for PHP has yet to be written,
including an API. That doesn't mean you cannot write it in PHP itself,
just means more work. I don't know anything about java/rampart, but as
long as it works with SOAP, you should be able to get it working using the
SOAP extention.
--
Rik Wasmus
Jul 19 '07 #2
Hi,

you might want to checkout the NuSOAP library at
http://dietrich.ganx4.com/nusoap/. I know that when you look at the
website the project seems dead, but oh well the library is still
available for download and for me it does what it has to do: it talks
SOAP :)

Kind regards,

Harrie Verveer
---
http://www.ibuildings.nl/blog/authors/Harrie-Verveer
Jul 19 '07 #3
WSO2 for PHP is probably what you need:

http://wso2.org/projects/wsf/php

On Jul 19, 7:58 am, "wbsurf...@yaho o.com" <wbsurf...@gmai l.comwrote:
I have been trying to figure out apache/rampart soap security. We
have a soap server in java and the client is PHP. I just read this
article which concerns me because it seems to imply rampart/java won't
work with PHP. Are there any other good solutions, particularly simple
ones ? I have been trying to get rampart/java working for the past 3
days and haven't even gotten to the PHP client part as of yet, then it
occured to me to do a google search to see if the client being in PHP
might be an issue:

in interview from this past february:

http://wso2.org/library/805

OT: There is also Apache Rampart/Java [2]. What is the relationship
between these two?

Kaushalye: Well...Rampart/ Java is our big brother. Just like Apache
Rampart/Java serves for Apache Axis2/Java, Apache Rampart/C serves for
Apache Axis2/C. We are trying our best to keep both implementations
similar, especially to keep the configurations similar. This is a bit
challenging due to the differences in the platforms. The C
implementation is not just for C developers. Our aim is to let PHP, C+
+, and Perl developers use Apache Rampart/C. So we have to make the
Apache Rampart/C implementation more flexible. We also need to provide
easy-to-use APIs for all these platforms.

Jul 19 '07 #4
wb*******@yahoo .com wrote:
I have been trying to figure out apache/rampart soap security. We
have a soap server in java and the client is PHP. I just read this
article which concerns me because it seems to imply rampart/java won't
work with PHP.
No -- it means that you can't use PHP with it on the *server*.

Your client can be any programming language capable of talking SOAP. PHP
included. I recommend the SOAP Client library from PEAR.

--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.12-12mdksmp, up 29 days, 15:26.]

Parsing an HTML Table with PEAR's XML_HTTPSax3
http://tobyinkster.co.uk/blog/2007/0...table-parsing/
Jul 20 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2462
by: Li Ma | last post by:
Just want to share my experience on XML-RPC. We were working on a messaging middleware. We were using XML-RPC as communication protocol amoing client apps and server. Client could be written by Java, C/C++, VB, Delphi on both Windows or Unix platforms. Seams like XML-RPC( similiar to SOAP as you know) was a good choice for us. But while the project went on, I encountered some critical problems: First of all, performance problem....
0
6890
by: Stephen Chell | last post by:
I'm using SAAJ 1.2 (from jwsdp-1.3) and JDK 1.4.2_03. I've written a client application that uses the SAAJ api to send a SOAP message to a servlet. The servlet successfully receives the message and returns a SOAP response containing a single element in the SOAP body. The client receives the response and writes its content to standard out via the SOAPMessage.writeTo() method. The response received looks correct: <SOAP-ENV:Envelope...
4
5422
by: Lorenzo | last post by:
hi you all, first of all apologies for having cross-posted this message but really i did not know where to post it. please let me know what ng you consider the most suitable for the described issue. i wrote a program made by a client and a server that communicate via RMI premise 1) everything has been developed and executed on WinXP Professional and the following jre
0
4204
by: bigbinc | last post by:
I have setup a soap machine on linux and similar configuration works properly. on a windows mahcine, I get these erros on the addressbook, samples, any ideas. I am pretty sure my classpaths are setup correctly. using jboss-tomcat engine. This looks like text formatting issues.
5
12506
by: Nate | last post by:
We are attempting to make a request to a web service (we will refer to it as XXXServices) hosted on a Web Logic server from a C# SOAP client. The server responds with a 401 Unauthorized error (that appears in plain text), and causes the client to crash. This C# code has been deployed both as an ASP.NET application and a WinForms app, each of which produced the same result. Further, moving the clients from a Windows XP machine to Windows...
1
2558
by: The Doctor | last post by:
Dear all, I am currently trying to re-implement an existing connection-oriented locking mechanism that was originally written in C. The company that supplied us the original system has recently implemented a SOAP package that we can use to expose some of the internal functions. However, how does one re-implement connection-oriented resource locking with a connection-less protocol which I presume SOAP is. The external system that is...
31
2832
by: Bryan Dickerson | last post by:
Ok, simple question: from a VB.Net web service (as I've said before, I'm a newbie to SOAP), how would I get the SOAP body into a string? My boss and I concur that it, at least from our perspective, should be as simple as defining an object and viewing a parameter on that object. My boss has worked with it and I'm still tryin'... TIA! -- TFWBWY...A
2
6760
by: furrypop | last post by:
Hi, I'm trying to get the Perl SOAP::Lite examples to work on a Windows PC, running Apache 2.2.4. Apache is definitely serving CGI scripts, as I've tested a dummy Hello World thing. I'm also definitely getting a hit when I use a browser to get to my hibye.cgi server (well, a blank page rather than a 404). However, when I run my hibye.pl client, I receive a 503 Service Unavailable at H:\scripts\hibye.pl line 25. It works when I...
1
8279
by: parimalb | last post by:
Hi All, I want to pass an array argument to the java webservice from perl client using SOAP::LITE package. Please let me know if anyone knows about this. The web method declaration in java is like this publishSimpleMetric(Arraylist<String> appinfo,Arraylist<String> metricinfo,String seperator); Now i tried to call the web service from perl client as follows ...
0
8505
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8947
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8645
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8699
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7479
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6261
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5722
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4245
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4442
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.