Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
    Bookmark Topic Watch Topic
  • New Topic

Web Service parameter for large xml ?

 
jerry king
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
 
    Bookmark Topic Watch Topic
  • New Topic

Similar Threads