need some help, plz
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: need some help, plz
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: need some help, plz
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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: need some help, plz
You may be interested in the soap monitor if you are wanting to see the messages being sent/received. http://ws.apache.org/axis/java/user-guide.html#AppendixUsingTheSOAPMonitor -Original Message- From: Noé Amorim [mailto:[EMAIL PROTECTED] Sent: jeudi 28 février 2008 16:59 To: axis-user@ws.apache.org Subject: Re: need some help, plz 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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: need some help, plz
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:[EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]