RE: need some help, plz

2008-02-28 Thread Samy Mechiri
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]



RE: need some help, plz

2008-02-28 Thread Samy Mechiri
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: Do you know a tool to easily visualize a wsdl file ?

2007-01-18 Thread Samy Mechiri
Ok thank you everyone for your proposals.
In the end I will probably end writing that small app myself.
Everything your proposed are fine tools but none outputs the results
with the simplicity I aim.
 
What I want is when you look at an operation you have a direct insight
of what are the inputs and what are the ouputs (in term of primitives)
What I don't want is when you look at an operation you have the name of
input/output messages then you have to search those messages which may
be complex types and then you have to naviguate to those types and go
back the messages for the name of the next complexType you wanted to
look and then go back to the types definition (when it's not in another
file) etc.
 
Since I don't mean to use it on huge wsdls, I will write a small program
doing what I want.
Thank you again for taking the time to answer.
 
regards,
 
Samy MECHIRI - Software Engineer
KXEN - 92158 Suresnes CEDEX
FRANCE
 



From: Cox, Brian (GE Infra, Energy) [mailto:[EMAIL PROTECTED] 
Sent: mercredi 17 janvier 2007 19:40
To: axis-user@ws.apache.org
Subject: RE: Do you know a tool to easily visualize a wsdl file
?


Although it is not necessarily small application, you might try
NetBeans 5.5 with the Enterprise pack.  I have attached a screen
capture.  The "Port Types" section displays the information you are
interested in, however, no text/html dump that I am aware of.
 
 
 
 
 
 
-Original Message-
    From: Samy Mechiri [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 17, 2007 8:53 AM
To: axis-user@ws.apache.org
Subject: Do you know a tool to easily visualize a wsdl file ?
 
Hi everyone,
 
do you know any small, easily usable tool to visualize what
operations (and their arguments) are available on a wsd file ?
 
There seem to be nusoap having such a tool (i've read about it
on http://www.xml.com/lpt/a/1388) but I could not find any reference to
it on nusoap's web page.
 
Ideally it would output the results as a txt or html file
 
Thank you for reading.


RE: Do you know a tool to easily visualize a wsdl file ?

2007-01-17 Thread Samy Mechiri
I am on Windows/CygWin

I am not sure it is what I searching for.
I don't want a simple xml editor. What I want is really specific to wsdl
files.

The idea is to get rid of overload of all the xml grammar

An example of output would be:
"""
configureMyThing: 
-thingName: [xsd:string]
-thingConfig: [myns:ThingConfiguration]
-thingCount: [xsd:int]
-thingLinks: [xsd:string]
...
...
"""

There you see all the arguments of the functions are separated with
potentially the name of the argument and it's type (when type is not a
primitive it is also recursively detailed)


regards,
 
Samy MECHIRI - Software Engineer
KXEN - 92158 Suresnes CEDEX
FRANCE

-Original Message-
From: ChadDavis [mailto:[EMAIL PROTECTED] 
Sent: mercredi 17 janvier 2007 17:18
To: axis-user@ws.apache.org
Subject: Re: Do you know a tool to easily visualize a wsdl file ?

What platform / os are you on?

On linux, I had trouble with several xml editors being able to handle
long wsdl's.  The best I'v found is called MLView.  I'm not sure its
what your looking for, in terms of graphical representation, but it is
super fast and represents the document as a DOM hieararchy, which makes
it very easy to see the various elements and regions of a wsdl.
Or you can view the document as the raw document but with element based
"code folding" which also makes it very easy to peruse lengthy
documents.



On 1/17/07, Samy Mechiri <[EMAIL PROTECTED]> wrote:
>
>
> Hi everyone,
>
> do you know any small, easily usable tool to visualize what operations

> (and their arguments) are available on a wsd file ?
>
> There seem to be nusoap having such a tool (i've read about it on
> http://www.xml.com/lpt/a/1388) but I could not find any reference to 
> it on nusoap's web page.
>
> Ideally it would output the results as a txt or html file
>
> Thank you for reading.

-
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]



Do you know a tool to easily visualize a wsdl file ?

2007-01-17 Thread Samy Mechiri
Hi everyone,
 
do you know any small, easily usable tool to visualize what operations
(and their arguments) are available on a wsd file ?
 
There seem to be nusoap having such a tool (i've read about it on
http://www.xml.com/lpt/a/1388) but I could not find any reference to it
on nusoap's web page.
 
Ideally it would output the results as a txt or html file
 
Thank you for reading.