• 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
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

SOAPUI and Tomcat

 
Ranch Hand
Posts: 1397
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: 1397
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: 6364
172
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: 1397
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: 6364
172
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.
 
The happiness of your life depends upon the quality of your thoughts -Marcus Aurelius ... think about this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!