axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samy Mechiri" <Samy.Mech...@kxen.com>
Subject RE: need some help, plz
Date Thu, 28 Feb 2008 16:43:08 GMT
As I understood it SOAPMonitor only is an interceptor.
I think you may use it even if you did not use Axis in your project (php client & server).

However I'm not sure I tested it.

-----Original Message-----
From: Noé Amorim [mailto:noe.rocha@gmail.com] 
Sent: jeudi 28 février 2008 17:36
To: axis-user@ws.apache.org
Subject: Re: need some help, plz

The server is php, i only use Axis as client, i don't think the SOAPMonitor is helpfull here.


On Thu, Feb 28, 2008 at 4:15 PM, Simon Steinacker <simon.steinacker@healthatnet.at>
wrote:
> I meant Axis Handler construct, enabling the developer to intercept 
> soap  messages before and after being received / sent by the axis engine.
>  Through that construct you have access to the plain xml produced by 
> axis  and received by axis.
>  For that see the ws.apache.org/axis web page, especially:
>  
> http://ws.apache.org/axis/java/architecture-guide.html#HandlersAndChai
> ns  
> http://ws.apache.org/axis/java/user-guide.html#CustomDeploymentIntrodu
> cingWSDD
>
>  If you are familiar with Servlets, this construct is comparable to Filters.
>
>  I hope that helped,
>  Simon
>
>
>
>
>  Noé Amorim wrote:
>  > could you be more specific.
>  > is this what you mean: javax.xml.rpc.handler ?
>  >
>  > thanks.
>  >
>  >
>  >
>  >
>  > On Thu, Feb 28, 2008 at 3:50 PM, Simon Steinacker  > 
> <simon.steinacker@healthatnet.at> wrote:
>  >
>  >> I would say you should use the Handler / Module construct of Axis / Axis2.
>  >>
>  >>  regards,
>  >>  Simon
>  >>
>  >>
>  >>
>  >>
>  >>  Noé Amorim wrote:
>  >>  > Hello all.
>  >>  > I've trying to get the message content before the call is sent, like
this:
>  >>  >
>  >>  > ServicesBindingStub sservice = new ServicesBindingStub(new  >>
 
> > java.net.URL(location), new org.apache.axis.client.Service());
>  >>  >
>  >>  > sservice.setUsername(username);  >>  > 
> sservice.setPassword(password);  >>  >  >>  > 
> org.apache.axis.client.Call _call = sservice._createCall();  >>  > 
> javax.xml.soap.SOAPMessage _message = 
> _call.getMessageContext().getMessage();
>  >>  >
>  >>  > System.out.println(_message.getSOAPBody());
>  >>  >
>  >>  > but i can't get nothing print, i can print the response BODY although.
>  >>  >
>  >>  > Another thing, i'm trying read more about securing webservices, 
> i  >>  > started by read this  >>  > 
> http://www-128.ibm.com/developerworks/webservices/library/ws-sec1.html
> ,  >>  > but it seems a bit outdated allready, any other articles i 
> could watch  >>  > out ?
>  >>  >
>  >>  > Thanks.
>  >>  >
>  >>  > 
> ---------------------------------------------------------------------
>  >>  > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>  >>  > For additional commands, e-mail: axis-user-help@ws.apache.org  
> >>  >  >>  >  >>  >>  >>  
> ---------------------------------------------------------------------
>  >>  To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>  >>  For additional commands, e-mail: axis-user-help@ws.apache.org  >>  
> >>  >>  >  > 
> ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>  > For additional commands, e-mail: axis-user-help@ws.apache.org  >  >
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>  For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message