This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Servlets and the fly likes http parsing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
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: 17250
    
    6

"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://aspose.com/file-tools
 
subject: http parsing