• 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 ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

SOAPUI and Tomcat

 
Ranch Hand
Posts: 1329
3
Netbeans IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am sending .json with an email format (email, subject, message_text) using SoapUI. It gives back a HTTP/1.1 200

On the other hand, I have a Spring App which should send an email, it uses local Tomcat. In the server.xml I placed this kind of code



Also when I run Tomcat in a Debug mode and I run successfully SOAP UI the debug points are not reached, it is like if there would not be any connection between the local Tomcat and SOAPUI (Embedded Tomcat in Spring Boot).

Anyone could give me some ligth about this, please?

Regards, Isaac
 
Angus Ferguson
Ranch Hand
Posts: 1329
3
Netbeans IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As a first step I am trying to generate a war file of the Spring Boot app. I am following the next https://www.mkyong.com/spring-boot/spring-boot-deploy-war-file-to-tomcat/ but any war file is generated in the target folder.
 
Sheriff
Posts: 6033
157
Eclipse IDE Postgres Database VI Editor Chrome Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, an HTTP response of 200 just means the connection is okay, not that your program logic is working.  I would log your progress in the app with a logging.  Place them liberally to test your assumptions.  
 
Angus Ferguson
Ranch Hand
Posts: 1329
3
Netbeans IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The thing is that it doesnt reach thte application, looks like a remote debug mode needs to be set up.
 
Knute Snortum
Sheriff
Posts: 6033
157
Eclipse IDE Postgres Database VI Editor Chrome Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is why I suggested using a logger.  It's easier to setup and you won't have to worry about whether your debugging is working.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!