• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web services, need help on 2 things

 
gino jersey
Greenhorn
Posts: 21
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The application I'm looking into sends an XML file to an external vendor.
The vendor has a web service that we use.

I am relatively new to Java and have very basic knowledge of XML and web services. I need help on 2 items:

1. We use cron to run the job every 5 minutes. Can anyone provide guidance on how I can this process locally on my machine - I have JBuilder X.

2. We have an issue and we would like to be able to see the data we're sending. It uses XML to transfer the data. Is there a way to display it's contents? What would I need to do to achieve that?

Thank you.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15150
31
Android IntelliJ IDE Java Scala Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. What OS is running on your local machine? If it's Linux, you could just create a cron job there?

2. You need an HTTP sniffer program. Maybe this one works: http://www.bizon.org/ilya/sniffer80.htm or this one: http://www.httpsniffer.com/ (both Windows only). Otherwise, search Google for "HTTP sniffer" and you'll find lots of alternatives.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Instead of using an HTTP sniffer, it would probably be easier to use a tool like TCPMon, which understands web service requests, and can show request and reply in a very nice, structured view. It acts as a WS proxy, so after starting it up, you need to point your WS requests to it, and tell TCPMon where to send them. That's all explained in the documentation, and not hard to set up.
 
gino jersey
Greenhorn
Posts: 21
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jesper, I have Windows XP
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15150
31
Android IntelliJ IDE Java Scala Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To schedule a program in Windows XP, go to Start / Control Panel / Scheduled Tasks and add a new task for running your program.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic