[Axis2] Using rampart to consume WCF service

2007-06-21 Thread Thomas Jaehnig
Hello,

i want to access a WCF Service which uses WS-Security (WSHttpBinding
with Username Token).

Have someone accomplished this?

When I try to use wsdl2java to generate a client class, it fails with
the following error:

Exception in thread main
org.apache.axis2.wsdl.codegen.CodeGenerationException:
org.apache.axis2.wsdl.codegen.CodeGenerationException:
java.lang.RuntimeException: can't serialize the policy ..
at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
ationEngine.java:256)
...

So i've used a Stub generated from the same service configured without
any security and tried to configure the client behavior in the axis
config file.

Is there an easy way to consume a secure WCF service with Axis2 and Rampart.

If so, can anyone post the configuration he used to get this working.

Thanks in advance

Thomas

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Soap viewer or sniffer

2007-06-21 Thread Thomas Jaehnig
Hi,

i prefer wireshark. This tool has a nice function called Follow TCP
Stream. Using this you can see the whole conversation between the
parties.

regard

Thomas

On Thu, 2007-06-21 at 16:23 +0300, Alexey Zavizionov wrote:
 Hello,
 
 Which tools are you using for debugging web services and viewing soap 
 messages?
 Does anybody use http sniffer for it?
 
 Thanks in advance,
 Alexey
 
 -
 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: Soap viewer or sniffer

2007-06-21 Thread Thomas Jaehnig
No. I didn't know HTTPLook before.

I use Wireshark for many things. Not only for watching HTTP sessions.
It's very adjustable using filters. And it runs on many plattforms :D 

Maybe, HTTPLook is better for analyzing HTTP sessions. I will give it a
try.

Thomas

On Thu, 2007-06-21 at 18:01 +0300, Alexey Zavizionov wrote:
 Look like HTTPLook better than Wireshark.
 Did you use HTTPLook?
 
 Alexey
 
 On 6/21/07, Alexey Zavizionov [EMAIL PROTECTED] wrote:
  Hi, Thomas
 
  Thanks, I'll try it!
  I use the HTTPLook, but it's some times doesn't work.
 
  Regards,
  Alexey
 
  On 6/21/07, Thomas Jaehnig [EMAIL PROTECTED] wrote:
   Hi,
  
   i prefer wireshark. This tool has a nice function called Follow TCP
   Stream. Using this you can see the whole conversation between the
   parties.
  
   regard
  
   Thomas
  
   On Thu, 2007-06-21 at 16:23 +0300, Alexey Zavizionov wrote:
Hello,
   
Which tools are you using for debugging web services and viewing soap 
messages?
Does anybody use http sniffer for it?
   
Thanks in advance,
Alexey
   
-
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: Soap viewer or sniffer

2007-06-21 Thread Thomas Jaehnig
Yes. It also shows the HTTP header and the SOAP body. 
But the body isn't formatted like shown on the picture. 
Wireshark doesn't line wrap, and so it becomes unclear when the soap
body is to big.

thanks for your advice

Thomas

On Thu, 2007-06-21 at 18:18 +0300, Alexey Zavizionov wrote:
 Does Wireshark can show soap body as here on the picture
 http://bp0.blogger.com/_aEfX-L_3RIQ/RcwbginwePI/AAs/X42ssmlnP5s/s1600-h/httplook_screen.JPG
 ?
 I have noticed many snifers, if it will be useful for you look at
 http://zavizionov.blogspot.com/2007/02/http-sniffers.html
 
 Regards,
 Alexey
 
 On 6/21/07, Thomas Jaehnig [EMAIL PROTECTED] wrote:
  No. I didn't know HTTPLook before.
 
  I use Wireshark for many things. Not only for watching HTTP sessions.
  It's very adjustable using filters. And it runs on many plattforms :D
 
  Maybe, HTTPLook is better for analyzing HTTP sessions. I will give it a
  try.
 
  Thomas
 
  On Thu, 2007-06-21 at 18:01 +0300, Alexey Zavizionov wrote:
   Look like HTTPLook better than Wireshark.
   Did you use HTTPLook?
  
   Alexey
  
   On 6/21/07, Alexey Zavizionov [EMAIL PROTECTED] wrote:
Hi, Thomas
   
Thanks, I'll try it!
I use the HTTPLook, but it's some times doesn't work.
   
Regards,
Alexey
   
On 6/21/07, Thomas Jaehnig [EMAIL PROTECTED] wrote:
 Hi,

 i prefer wireshark. This tool has a nice function called Follow TCP
 Stream. Using this you can see the whole conversation between the
 parties.

 regard

 Thomas

 On Thu, 2007-06-21 at 16:23 +0300, Alexey Zavizionov wrote:
  Hello,
 
  Which tools are you using for debugging web services and viewing 
  soap messages?
  Does anybody use http sniffer for it?
 
  Thanks in advance,
  Alexey
 
  -
  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]