A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Java
»
EJB and other Java EE Technologies
Author
Web Service parameter for large xml ?
jerry king
Greenhorn
Joined: Nov 05, 2008
Posts: 12
posted
Jan 21, 2009 00:11:33
0
Hi all,
I have implementing a web service with only one method, the method have to receive a 'large' xml as input parameter (let say ~60mb ). I have try to use
string
type, but following error found:
Unable to connect to URL:
http://192.168.5.10:8988/ADF-ADFReceiver-context-root/MyWebService1SoapHttpPort
due to
java.security.PrivilegedActionException
: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html
09/01/21 14:34:26 ; nested exception is:
HTTP transport error:
javax.xml.soap.SOAPException
:
java.security.PrivilegedActionException
: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html
Is there any type (something like inputstream) that can be use as the web service input parameter? Please kinldy advise on this.
Jaikiran Pai
Marshal
Joined: Jul 20, 2005
Posts: 8141
52
I like...
posted
Jan 21, 2009 00:27:06
0
Moved to
http://www.coderanch.com/t/427218/Web-Services/Web-Service-parameter-for-large
[
My Blog
] [
JavaRanch Journal
]
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: Web Service parameter for large xml ?
Similar Threads
How to create XML from XSD dynamically at runtime
java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP
Nondescript "Unsupported Content-Type" error when connecting to https Sharepoint web services
Web Sevice vs Web Application
Need Help in passing a string as a attachment
Web services feature pack for WAS 6.1
unable to connect to .Net web service using axis with java
Urgent: Web Service call Exception
Web Service parameter for large xml ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter