• Post Reply Bookmark Topic Watch Topic
  • New Topic

JAX-WS InputStream Parsing

 
pavan aryan
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

i am trying to develop a SOAP webservice, the service will read xml as InputStream from Client..and parse it.

Yes, i am aware of the SOAP mechanism. But i need to develop similar to this for my class project.
example code i am trying


The basic idea is a client will send the XML in the form of InputStream ..the server parses it and stores in a DB. I am getting runtime erros about trouble in creating InputStream initialzing and XML Unmarshall exception

some of the lines from server log


Thanks in Advance,
Pavan.
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
It sounds to me like you want to develop a endpoint implementation class that processes raw XML.
In my SCDJWS 5 study notes, there is an example showing how to do this in section 9.4.
You can download the document for free here: http://www.javaforum.se/jforum/posts/list/549.page
Best wishes!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!