Return-Path: X-Original-To: apmail-axis-c-user-archive@www.apache.org Delivered-To: apmail-axis-c-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 25301D69D for ; Thu, 14 Feb 2013 21:58:03 +0000 (UTC) Received: (qmail 38188 invoked by uid 500); 14 Feb 2013 21:58:02 -0000 Delivered-To: apmail-axis-c-user-archive@axis.apache.org Received: (qmail 38078 invoked by uid 500); 14 Feb 2013 21:58:02 -0000 Mailing-List: contact c-user-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache AXIS C User List" Delivered-To: mailing list c-user@axis.apache.org Received: (qmail 38068 invoked by uid 99); 14 Feb 2013 21:58:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Feb 2013 21:58:01 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of George.Loring@wal-mart.com designates 161.165.225.14 as permitted sender) Received: from [161.165.225.14] (HELO PPES-Mail-E1.wal-mart.com) (161.165.225.14) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Feb 2013 21:57:54 +0000 Received: from pps.filterd (PPES-Mail-E1 [127.0.0.1]) by PPES-Mail-E1.wal-mart.com (8.14.4/8.14.4) with SMTP id r1ELuvd2021156 for ; Thu, 14 Feb 2013 15:57:32 -0600 Received: from honts3563.homeoffice.wal-mart.com ([172.26.160.241]) by PPES-Mail-E1.wal-mart.com with ESMTP id 1ah6mds2kd-1 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Thu, 14 Feb 2013 15:57:32 -0600 Received: from HONTS3029XCH.homeoffice.Wal-Mart.com ([172.26.155.178]) by HONTS3563.homeoffice.Wal-Mart.com ([172.26.160.241]) with mapi; Thu, 14 Feb 2013 15:57:31 -0600 From: George Loring To: Apache AXIS C User List Date: Thu, 14 Feb 2013 15:57:30 -0600 Subject: RE: Need to Know how web services client /server will get the info to develop the payload to send to the opposite side. Thread-Topic: Need to Know how web services client /server will get the info to develop the payload to send to the opposite side. Thread-Index: Ac4KYMGyxCj/szMbTC+EcnIuf3bjewAnNUvQ Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_B6F6FBD6E89F0F47872A604E7F661A49410777CAHONTS3029XCHhom_" MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327,1.0.431,0.0.0000 definitions=2013-02-14_07:2013-02-14,2013-02-14,1970-01-01 signatures=0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_B6F6FBD6E89F0F47872A604E7F661A49410777CAHONTS3029XCHhom_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" If I understand your question correctly when you configure the axis2c modul= e with httpd (in the httpd configuration file) you set the location that wi= ll cause httpd to invoke the axis2c module and cause the request to be pass= ed through that module (and ultimately invoke your web service). Here's an= example: LoadModule axis2_module modules/libmod_axis2.so Axis2LogLevel error Axis2MaxLogFileSize 2 SetHandler axis2_module From: Venkataragavan Vijayakumar [mailto:venkataragavan.v@gmail.com] Sent: Wednesday, February 13, 2013 9:09 PM To: Apache AXIS C User List Subject: Re: Need to Know how web services client /server will get the info= to develop the payload to send to the opposite side. Thanks josef. Answering your questions. Actually we are working on linux environment. we have a linux server written in C,and we need somehow the linux server sh= ould contact the webservice already running in the other network. So we need some webservice and client to do the job of the linux server. so= we thought we will develop the service and client in the axis2C to the con= tact the webservice in the other network. Here i come to know Axis2c will be run as a module in the Apache HTTP serve= r. So currently what we need to know is how the linux server will contact the = Axis2C module running in the Apache HTTP server for giving the inputs for s= ending the payload. On Wed, Feb 13, 2013 at 11:48 PM, Stadelmann Josef > wrote: Are you saying you develop an agent which acts as a web service at one time= but acts as web service client toward a next web service at another time? Being new to Axis2 Java and C, I would start and work through some simple t= utorials first. There are in my mind more tutorials available for Axis2/Java then for Axis2= /C. Up to you, but start simple without Rampart first. framing the payload: Axis2/C has axutil and axiom too, an OM model can be serialized easy using = either the Java or the C implementations of axiom. De-serializing an SOAP/XML Payload is more of a challenge. Again - Start simple, understand what you do and don't hope that tools will= answer what you don't master yourself. My mind: Build Axis2/C using a good IDE like Visual Studio 2008 and greater, then watch, running / debugging the Axiom Tests and learn how to do it, how= to work with Axiom in C/C++. It helps tremendously! BTW: --- what are your platforms --- is the client i.e. running on Windows = using WCF 4.0 and servers agents run on ???? Or is it the opposite around? What is it, what will it be? Do you control a= l or only apart of the overall system? Two different platforms may make you have INTEROP ISSUES (quite a bunch of = it) Best to be mastered (my own mind) using Java JAXWS/JAXB on the server side,= and VS 2010 or greater on the Client Side. This results sooner in service providing objects AND using i.e. Visual Stud= io helps to generate the client side stubs, ready to use. TCP/IP Connections is OK, TCP/IP being the Truck! Because it carries HTTP a= nd HTTP has XML which carries after all SOAP/XML and this TRAFFIC is best watched with the TCP Monitor. Or the SOAP UI or Wi= reShark. Avoid doing the agent upfront; master your simple CL/SV situation first in = any aspect, then add complexity by making your SV a Agent calling other services. It might well happen that yo= u need to implement some a synchronicity, this is a challenge by itself i.e. call-backs =E9 all. i.e= . Addressing issues, Listeners and Transports. During the development keep any time an eye on securing issues using Rampar= t =E9 all. STS i.e. Define early what needs to be encrypted, encrypting all using SSL / HTTPS m= ight perhaps not be what you want. Maybe you need to encrypt only a few things, a few fields of your XML Paylo= ad, yes I know it's not standard; But it has the advantage that you don't need the burden of Rampart; JCE is = start. Particular in mixed environments; i.e. Windows WCF Client and a secured Apache Axis2 Service Environment. AND be warned, when it comes to encryption, no protocol analyzer can be sni= ffed in-between, can help you. (at least not the ones I know) As you can see, there is many thing to master, so do not forget over all to= have a good architecture for your overall system. When you design your physical system you need to have it as it brings in co= nstraints, many constraints. Josef Von: Venkataragavan Vijayakumar [mailto:venkataragavan.v@gmail.com] Gesendet: Mittwoch, 13. Februar 2013 13:10 An: c-user@axis.apache.org Betreff: Need to Know how web services client /server will get the info to = develop the payload to send to the opposite side. Hi All, I am very much new to Web services. I am working on the Feature where it sh= ould run a Webservices to contact the other services. So it should act eith= er client or server on a particular time. So we planned to use axis2C for exchanging the payload and Rampant C to use= for security. our setup is a single C server running and giving inputs to the AXIS2C engi= ne for framing the payloads to send to the opposite side. So i want know, what kind of connection the we can made between C server an= d AXIS2C engine. We planned to make a TCP connection between them. Is it right way or any ot= her way is there? Please do the needful. Thanks, Venkat This email and any files transmitted with it are confidential and intended = solely for the individual or entity to whom they are addressed. If you have= received this email in error destroy it immediately. *** Walmart Confident= ial *** --_000_B6F6FBD6E89F0F47872A604E7F661A49410777CAHONTS3029XCHhom_ Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="iso-8859-1"

If I unde= rstand your question correctly when you configure the axis2c module with ht= tpd (in the httpd configuration file) you set the location that will cause = httpd to invoke the axis2c module and cause the request to be passed throug= h that module (and ultimately invoke your web service).=A0 Here’s an = example:

 =

LoadModule axis2_module modules/libm= od_axis2.so

=A0=A0 =A0Axis= 2LogLevel error

=A0=A0=A0 = Axis2MaxLogFileSize 2

=A0= =A0=A0 <Location /services>

=A0=A0=A0=A0=A0=A0=A0 SetHandler axis2_module

=

=A0=A0=A0 </Location>

 

F= rom: Venkataragavan Vijayakumar [mailto:venkataragavan.v@gmail.com]
= Sent: Wednesday, February 13, 2013 9:09 PM
To: Apache AXIS= C User List
Subject: Re: Need to Know how web services client /s= erver will get the info to develop the payload to send to the opposite side= .

 

Thanks josef. 

An= swering your questions.  Actually we are working on linux environment.=

we have a linux server writt= en in C,and we need somehow the linux server should contact the webservice = already running in the other network.

So we need some webservice and client to do the job of the linux s= erver. so we thought we will develop the service and client in the axis2C t= o the contact the webservice in the other network.

Here i come to know Axis2c will be run as a module in= the Apache HTTP server.

 

So currently what we need = to know is how the linux server will contact the Axis2C module running in t= he Apache HTTP server for giving the inputs for sending the payload.

 

On Wed, Feb 13, 2013 at 11:48 PM= , Stadelmann Josef <josef.stadelmann@axa-winterthur.ch> wrote:<= /o:p>

Are you saying you develop an agent which ac= ts as a web service at one time but acts as web service client toward a nex= t web service at another time?<= /p>

 

Being new to Axis2 Java and C, I would start and work through some si= mple tutorials first.

 

&n= bsp;

There are i= n my mind more tutorials available for Axis2/Java then for Axis2/C. Up to y= ou, but start simple without Rampart first.<= /o:p>

 

framing the payload:

Axis2/C has axutil and axiom too, an OM model can = be serialized easy using either the Java or the C implementations of axiom.=

De-serializing= an SOAP/XML Payload is more of a challenge.

Again – Start simple, understand what y= ou do and don't hope that tools will answer what you don't master yourself.=

 <= span lang=3DDE-CH>

My mind: Build Axis2/C = using a good IDE like Visual Studio 2008 and greater,

then watch, running / debugging the = Axiom Tests and learn how to do it, how to work with Axiom in C/C++.=

 

It helps tremendously!

 

BTW: --- what are your platforms= --- is the client i.e. running on Windows using WCF 4.0 and servers agents= run on ????

Or = is it the opposite around? What is it, what will it be? Do you control al o= r only apart of the overall system?

 

<= p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:= auto'>Two different platforms may make you have INTEROP ISSUES (quite = a bunch of it)

= Best to be mastered (my own mind) using Java JAXWS/JAXB on the server side,= and VS 2010 or greater on the Client Side.<= /o:p>

This results sooner in service providing object= s AND using i.e. Visual Studio helps to generate the client side stubs, rea= dy to use.

&nbs= p;

TCP/IP Connec= tions is OK, TCP/IP being the Truck! Because it carries HTTP and HTTP has X= ML which carries after all SOAP/XML

 

<= p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:= auto'>and this TRAFFIC is best watched with the TCP Monitor. Or the SO= AP UI or WireShark.

<= span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F49= 7D'> 

Avoid= doing the agent upfront; master your simple CL/SV situation first in any a= spect, then add complexity by <= /p>

making your SV a Agent calling other services. It might well= happen that you need to implement some

a synchronicity, this is a challenge by itself i.e= . call-backs =E9 all. i.e. Addressing issues, Listeners and Transports.

 

During the development keep= any time an eye on securing issues using Rampart =E9 all. STS i.e.<= span lang=3DDE-CH>

 

Define early what needs to be en= crypted, encrypting all using SSL / HTTPS might perhaps not be what you wan= t.

 =

Maybe you need to encr= ypt only a few things, a few fields of your XML Payload, yes I know it's no= t standard;

But = it has the advantage that you don’t need the burden of Rampart; JCE i= s start. Particular in mixed environments; <= /o:p>

i.e. Windows WCF Client and a secured Apache Ax= is2 Service Environment.

 

= AND be warned, when it comes to encryption, no protocol analyzer can be sni= ffed in-between, can help you. (at least not the ones I know)

 

As you can see, there is many thing to= master, so do not forget over all to have a good architecture for your ove= rall system.

Whe= n you design your physical system you need to have it as it brings in const= raints, many constraints.

 

Josef

 

 

 

Von: Venkataragavan Vijayakumar [mailto:venkataragavan.v@gmail.com]
Ge= sendet: Mittwoch, 13. Februar 2013 13:10
An: c-user@axis.apache.org
<= b>Betreff: Need to Know how web services client /server will get the in= fo to develop the payload to send to the opposite side.

 

Hi All,

 

I am very much new to Web services. I am working o= n the Feature where it should run a Webservices to contact the other servic= es. So it should act either client or server on a particular time.

So we = planned to use axis2C for exchanging the payload and Rampant C to use for s= ecurity.

 

our setup is a single C server running and giving input= s to the AXIS2C engine for framing the payloads to send to the opposite sid= e.

So i want know, what kind of connection the we can made between C serv= er and AXIS2C engine.

 

We planned to make a TCP connection betwee= n them. Is it right way or any other way is there?

 

Please do the= needful.

 

Thanks,

Venkat

 

<= /div>

 

This email and any files transmitted with it are confidential and intended = solely for the individual or entity to whom they are addressed. If you have= received this email in error destroy it immediately. *** Walmart Confident= ial ***
--_000_B6F6FBD6E89F0F47872A604E7F661A49410777CAHONTS3029XCHhom_--