It's not a secret anymore!*
The moose likes Web Services and the fly likes Webservices Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Webservices" Watch "Webservices" New topic
Author

Webservices

Mahitha Boreddy
Greenhorn

Joined: Dec 23, 2008
Posts: 3
Hi all ,
Can i find any code samples for how to send org.w3c.dom.Document as a parameter instead of primitive data types to web service client ??
--------------------

Thanks & regards
Mahitha
[ December 23, 2008: Message edited by: Mahitha Boreddy ]
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
Welcome to JavaRanch.

Please use a meaningful subject line.

See here and Xml document as a SOAP payload
Mahitha Boreddy
Greenhorn

Joined: Dec 23, 2008
Posts: 3
Thanks Peer.



Regards,
Mahitha.
[ December 23, 2008: Message edited by: Mahitha Boreddy ]
securetechie techie
Greenhorn

Joined: Nov 18, 2008
Posts: 7
Hey,
I know one site who give this type of services.
I suggest you should try or visit this site.
I am saying this because I am also use this site.
So, Try this one
Best of Luck
___________________
Online media outsourcing


Buy SSL certificates today and secure your website. Visit: http://sslstar.com/
Mahitha Boreddy
Greenhorn

Joined: Dec 23, 2008
Posts: 3
Hi ,
Thanks for reply. Where is the site address

When i was Creating Webservice, by sending Document object, iwas getting these error, can any one knows about that error.

Error: The service class "xmlread" does not comply to one or more requirements of the JAX-RPC 1.1 specification, and may not deploy or function correctly.
The value type "org.w3c.dom.Document" used via the service class "xmlread" does not have a public default constructor. Chapter 5.4 of the JAX-RPC 1.1 specification requires a value type to have a public default constructor, otherwise a JAX-RPC 1.1 compliant Web service engine may be unable to construct an instance of the value type during deserialization.
The value type "org.w3c.dom.DOMImplementation" used via the service class "xmlread" does not have a public default constructor. Chapter 5.4 of the JAX-RPC 1.1 specification requires a value type to have a public default constructor, otherwise a JAX-RPC 1.1 compliant Web service engine may be unable to construct an instance of the value type during deserialization.
The value type "org.w3c.dom.DocumentType" used via the service class "xmlread" does not have a public default constructor. Chapter 5.4 of the JAX-RPC 1.1 specification requires a value type to have a public default constructor, otherwise a JAX-RPC 1.1 compliant Web service engine may be unable to construct an instance of the value type during deserialization.
The value type "org.w3c.dom.NamedNodeMap" used via the service class "xmlread" does not have a public default constructor. Chapter 5.4 of the JAX-RPC 1.1 specification requires a value type to have a public default constructor, otherwise a JAX-RPC 1.1 compliant Web service engine may be unable to construct an instance of the value type during deserialization.

[ December 29, 2008: Message edited by: Mahitha Boreddy ]
[ December 29, 2008: Message edited by: Mahitha Boreddy ]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41155
    
  45
"securetechie",

On your way in you may have missed that we have a policy on screen names here at JavaRanch. Basically, it must consist of a first name, a space, and a last name, and not be obviously fictitious. Since yours does not conform with it, please take a moment to change it, which you can do right here.


Ping & DNS - my free Android networking tools app
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41155
    
  45
Did you read the topics Peer linked to? They explain how to send XML as a string, not how to send a Document object (which you should not do). So you need to obtain a String representation of the XML that's contained in the Document object.
 
 
subject: Webservices