Hi Dimuthu,Thank you again for your reply.On POST/GET request, you are right, 
it is using GET request and I also noticed that the PHP Soap client calls to 
web service is in GET request. There is no options or facility to set it to 
POST request in PHP, that I know of in using the PHP. However, it is working 
just fine using GET request.As for "?wsdl" in the endpoint address, this is 
required for PHP to call the service and I have tried to call service without 
"?wsdl" and it failed in calling web service.Is it something to do with 
Rampart? or, extra config is needed to secure the service?Appreciate your 
time.Thanks,Jaskin> Subject: RE: Axis2 - Invoking Rampart UsernameToken-service 
using client    written in PHP> From: [EMAIL PROTECTED]> To: 
[email protected]> Date: Tue, 24 Jul 2007 11:15:22 +0530> > Hi Jaskin,> > 
You have to use HTTP POST request for SOAP. I have never used HTTP GET> for 
SOAP messages.> > The other thing I noticed is the endpoint address. It should 
be> htt
 p://localhost:8081/axis2/services/sample03 > > You have added an extra "?wsdl" 
to the message. This will return the> wsdl of the service. > > So remove the 
end "?wsdl" and try with the POST request.> > Regards,> Dimuthu> > 
http://wso2.org> > On Tue, 2007-07-24 at 11:56 +0800, Jaskin wrote:> > Hi,> > 
The soap body/header is empty and the following is the extract from> > TCPMon.> 
> > > Request:> > GET /axis2/services/sample03?wsdl HTTP/1.0> > Host: 
localhost:8081> > > > And, response returns entire WSDL message.> > > > On the 
other hand, fault/exception should be thrown if security header> > is empty or 
auth failed.> > > > Thanks,> > Jaskin> > > > > > > > > > 
______________________________________________________________________> > > 
Subject: RE: Axis2 - Invoking Rampart UsernameToken-service using> > client 
written in PHP> > > From: [EMAIL PROTECTED]> > > To: [email protected]> > 
> Date: Tue, 24 Jul 2007 07:27:22 +0530> > > > > > Hi Jaskin,> > > > > > > > > 
> On TCPMo
 n, the request is oddly empty but the response returns the> > > > wsdl 
message.> > > > > > Does this mean the SOAP body is empty or security header is 
empty?> > > > > > Regards,> > > Dimuthu> > > > > > > > > On Mon, 2007-07-23 at 
21:02 +0800, Jaskin wrote:> > & gt; > Hi Dimuthu,> > > > Appreciate your reply 
on this matter.> > > > For your information, I am using sample03's service as a 
test> > case.> > > > Basically, I followed the sample guide by starting the 
sample03's> > > > service and run the sample03's client, which is running just 
fine.> > > > > > > > But, when using client written in PHP to access 
sample03's> > service,> > > > the problems occured (as described in previous 
email) and I am> > agreed> > > > with you that failure should be thrown if auth 
failed or security> > > > header is not processed correctly.> > > > > > > > On 
TCPMon, the request is oddly empty but the response returns the> > > > wsdl 
message.> > > > > > > > > > > > Thanks,> > > > Jaskin> > > > > >
  > > > > > > > > > > > Subject: Re: Axis2 - Invoking Rampart 
UsernameToken-service> > using> > > > client written in PHP> > > > > Fro m: 
[EMAIL PROTECTED]> > > > > To: [email protected]> > > > > Date: Mon, 23 
Jul 2007 14:05:09 +0530> > > > > > > > > > Hi Jaskin,> > > > > > > > > > Can u 
please check whether the UsernameToken is included in the> > > > > 
SecurityHeader by looking at the message on the wire. You can> > use> > > > 
the> > > > > TCPMonitor[1] to do this.> > > > > > > > > > Security Header is a 
"Must Understand" header. I think if it is> > not> > > > > processed properly a 
"Must Understand" failure must be thrown> > > > without> > > > > invoking the 
service.> > > > > > > > > > But also check whether you have configured the 
service properly.> > > > Have> > > > > you engaged rampart at the server side 
by editing the> > services.xml> > > > file.> > > > > Please have a look at 
sample03/services.xml> > > > > > > > > > I t has engaged rampart using <module 
ref="r
 ampart"/> element> > and> > > > > specified security items.> > > > > > > > > > 
Regards,> > > > > Dimuthu> > > > > > > > > > 
[1]http://ws.apache.org/commons/tcpmon/> > > > > > > > > > On Mon, 2007-07-23 
at 15:40 +0800, Jaskin wrote:> > > > > > Hi,> > > > > > I am trying out 
UsernameToken (plain text) authentication with> > > > > > Axis2-Rampart.> > > > 
> > However, I am encountered some issue on the CallbackHandler> > when> > > > 
> > in voking the service (Rampart’s sample03).> > > > > > > > > > > > - The 
handle() method is not execute at all when invoking the> > > > service> > > > > 
> using client written in PHP> > > > > > > > > > > > - This has caused the 
service to be invoked although the user> > > > > > name/password is inc 
orrect.> > > > > > > > > > > > On the other hand, the client sample03 provided 
able to> > > > authenticate> > > > > > correctly.> > > > > > Appreciate any 
help/info from you guys.> > > > > > > > > > > > Thanks,> > > > > > Jaskin> > > 
> > > > > > > > >
  > > > > > > > > > > > >> > > >> > 
______________________________________________________________________> > > > > 
> Get 2GB of storage space with the new Windows Live Hotmail.> > Get it> > > > 
> > now!> > > > > > > > > > > > > > >> > > >> > 
---------------------------------------------------------------------> > > > > 
To unsubscribe, e-mail: [EMAIL PROTECTED]> > > > > For additional commands, 
e-mail: [EMAIL PROTECTED] he.org> > > > > > > > > > > > > > > > > 
_______________> > _______________________________________________________> > > 
> Get 2GB of storage space with the new Windows Live Hotmail. Get it> > > > 
now!> > > > > > > > >> > 
---------------------------------------------------------------------> > > To 
unsubscribe, e-mail: [EMAIL PROTECTED]> > > For additional commands, e-mail: 
[EMAIL PROTECTED]> > > > > > > > > 
______________________________________________________________________> > 
Windows Live Spaces is here! 
 It’s easy to create your own personal Web> > site. Check it out!> > > 
---------------------------------------------------------------------> To 
unsubscribe, e-mail: [EMAIL PROTECTED]> For additional commands, e-mail: [EMAIL 
PROTECTED]> 
_________________________________________________________________
Call friends with PC-to-PC calling for free!
http://get.live.com/messenger/overview

Reply via email to