File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

http parsing

 
lian_a
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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
 
friso dejonge
Ranch Hand
Posts: 162
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic