Win a copy of Head First Go this week in the Go forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

SOAP implementation in Java from SoapUI.xml project  RSS feed

Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all, I come from this question:

Well continuing with this job, I found some more doubts along the path. This time, their server will offer webservices to me, which I have to invoke via SOAP. They gave me a SoapUI project to test the webservice, I tested it and generated an wsdl from the project, which I used to generate java classes but in the end I couldn't make it work on java (in souapUI it worked). I'm using Spring boot and Jaxb. The webservice uses 2 certificates SoapUI asks for, but java project doesn't, and this is where my firs question comes from:

  • It's usually enough with the WSDL generated from the SoapUI project or should I ask them to give me a "full WSDL"? It's my first time working with SOAP outside college and I don't want to sound too stupid too soon.

  • If the answer to this is a solid YES, then probably the rest of this post is useless, but just in case I will continue:

    The second part is about what if I don't have a full functioning WSDL but they gave me written specifications. I would like to know some good open library I could use and some good tutorial about it, but not just SOAP in general, but some more specific tutorial because they ask for several requisites:

    WSDL 1.1/1.2; SOAP 1.1/1.2; WS-SECURITY 1.1 to sign SOAP messages; creator must include "Created" timestamp inside WS-Security Timestamp; the SOAP body must by digitally sign by the creator, and also the creator has to calculate the digital sing for each element; clients must include certificate in request using the "Direct Reference" mechanism from WS-Security 1.1; digital signing using X.509 certificates with id "Binary Security Token"; service should implement X.509 Token Profile 1.1; service will use PKI as security credentials; all comunications will be cyphered using SSL protocol.

    (I haven't written these as a list because the message would be too big, but if you think it's better as a list tell me and I will change it)

    The thing is, all this requisites are automatically fullfilled in SoapUI (except for the location of the two certificates), but in my java project I'm missing some stuff, and that's another reason for my first question. Can you help me solve some of this doubts?

    Thanks in advance,

    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!