• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Question on SOAP/WSDL, AXIS2 and digital signing a SOAP message.

 
Ranch Hand
Posts: 430
Android VI Editor Debian
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have been asked to sign a soap message using a certificate that includes a private key. I am very new to this so i have a few questions that i hope someone might be able to clarify.

1. I am using Axis2 and Rampart to digitally sign the SOAP message. I am slightly confused as to whether i need to modify the WSDL file of the service i am supposed to connect to.

According to the AXIS2 guide, i have to update the WSDL file with things like policies etc before i generate the code stubs. Does this mean that i have to download the WSDL file of the service i want to connect to and modify it then use the modified version to create the client stubs?

I had a look at the WSDL file and it does not include anything related to digitally signing the request. Do i have to do this myself by modifying the WSDL file?

2. The Axis2 guide explains how to use a certificate that is in a keystore. The certificate that was sent to me was sent in a PKCS12 file. Can i still use this as it is or do i have to extract the certificate/private key from the PKCS12 file and store it in a keystore before i use it with Rampart?

3. Is there a way i can see the actual SOAP messages(other than using TCPMON)?

Any help will be greatly appreciated.
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is so far beyond "beginning Java", it's not funny!

I'm going to move this to our "XML and Related Technologies" forum.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
3. There is soapUI if you dont want to use TCPMON

Bill
 
reply
    Bookmark Topic Watch Topic
  • New Topic