[
http://issues.apache.org/jira/browse/AXIS2-1065?page=comments#action_12432395 ]
robert lazarski commented on AXIS2-1065:
----------------------------------------
Hmm, I was working off of the xmime wsdl ... but even still using your code and
example_image_uploader.wsdl with the latest svn I get some strange errors:
[java] Bad .mime.types entry: type=application/x-crossover-xml desc=XML
Document exts="xml"
[java] Bad .mime.types entry: type=application/x-crossover-xsl desc=XSL
Stylesheet exts="xsl"
[java] Bad .mime.types entry: type=text/xml desc=XML Document exts=""
[java] 03/09/2006 20:44:16 org.apache.axis2.engine.AxisEngine receiveFault
[java] INFO: Received Error Message with id
urn:uuid:D43754EDA01279289011573270545801
[java] org.apache.axis2.AxisFault:
java.lang.UnsupportedOperationException: The parser is already consumed!
[java] at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:302)
[java] at
org.apache.axis2.samples.mtomDatabinding.endpoint.ImageHandlerServiceStub.uploadImage(ImageHandlerServiceStub.java:138)
[java] at client.ADBMTOMClient.main(ADBMTOMClient.java:26)
If this continues to work for you I guess I'll try working on something else
;-) . Maybe you could pass me your wsdl2java flags ... the latest svn gives me
a file size of 12639 for my ImageHandlerServiceStub.java where your file size
is 12511 . I'm following your skeleton and client exactly though.
Robert
> ADB / MTOM databinding is broken
> --------------------------------
>
> Key: AXIS2-1065
> URL: http://issues.apache.org/jira/browse/AXIS2-1065
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: databinding
> Reporter: robert lazarski
> Assigned To: Ajith Harshana Ranabahu
> Attachments: ADBMTOMClient.java, ImageHandlerServiceSkeleton.java,
> MTOMDataBinding_Client.tar.gz, MTOMDataBInding_server.tar.gz
>
>
> The tutorial written by Ajith does not work with the latest SVN, as
> acknowledged by Ajith:
> http://www.wso2.net/articles/axis2/java/2006/08/10/binary-with-adb
> I have some samples to put into the mtom guide and perhaps the userguide and
> integration tests once I can get it to work. Just thought I'd track the
> issue.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]