This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Servlets and the fly likes http parsing Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "http parsing" Watch "http parsing" New topic
Author

http parsing

lian_a
Greenhorn

Joined: Apr 30, 2004
Posts: 1
Hi all,
If I invoke the URL ...
http://localhost/eai/start.swe?SWEExtSource=wf&SWEExtCmd=Execute&UserName=ADMIN&Password=ADMIN&SWEExtData=<SiebelMessage
MessageId="" MessageType="Integration Object" IntObjectName="Service
Request"><ListOfServiceRequest><ServiceRequest><SRNumber>SMS-0036</SRNumber><RequestorName>-</RequestorName><Source>SMS</Source><Description>Hello
my friend.</Description><Owner>ARLCA</Owner><OwnerGroup>Call
Center</OwnerGroup></ServiceRequest></ListOfServiceRequest></SiebelMessage>
... and the transaction is successful, I get an html doc with only the
following content:
<h1>Update Completed</h1>
... otherwise I get a "Page cannot be displayed".
My question: How do I catch the "<h1>Update Completed</h1>" from a servlet?
Thanks.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17231
    
    1

"lian-a"-
Welcome to the JavaRanch! Please adjust your displayed name to meet the
JavaRanch Naming Policy.
You can change it
here.
Thanks! and welcome to the JavaRanch!
Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
friso dejonge
Ranch Hand

Joined: Jul 11, 2002
Posts: 162
hi,
i dont have the exact code for you, that would be too easy anyway....
but try the follwoing link and read the tutorial
http://jakarta.apache.org/commons/httpclient/
regards,
friso


swimming certificate (A & B), shoelaces diploma, and some useless java ones.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: http parsing
 
Similar Threads
Resin 3 Forms Authentication
problem with j_security_check
Regarding Authentication & Authorization
my servlet can't initialize: null
Tomcat 6.0.32 HTTP Status 403 - Access to the requested resource has been denied