Need some help to make webservice work.
I’ve been worked on 1 week but cant get it done yet.
I was testing webservice using Eclipse 3.3.1
what I need to do is make a simple webservice with attachment.
It’s first time to try with attachment, so I not sure what’s wrong on
version : IS 7.1.2
flow has only one field = ‘FILENAME’
WSD Setting : attachment enabled = true
Binder Setting :
SOAP version = 1.2
SOAP binding style = document
SOAP binding use = literal
SOAP binding transport = http://schemas.xmlsoap.org/soap/http
java version : 1.5
library jars :
java Client code
WSDLattatchment requestParam = new WSDLattatchment();
java.io.File file = new java.io.File(“d:\string.class”);
DataHandler dh = new DataHandler(new FileDataSource(file));
WSDLattatchmentResponse response = response=stub.WSDLattatchment(requestParam);
it works fine without line
but with the line, it occurs error below
[ISC.0088.9328E] MTOM Attachments Processing Failed: Cannot de-serialize the input MIME Stream; value of the ‘type’ parameter of the ‘Content-Type’ header of the MIME message is not equal to ‘application/xop+xml’