Hi Rick

Could'nt locate DataHandler as published 'SOAP DataType'
http://manuals.sybase.com/onlinebooks/group-as/asg1252e/wbsrvcs/@Generic__BookTextView/7117;pt=6647

Could'nt locate DataHandler as .NET DataType (is there a more comprehensive Datatype listying available?)
http://msdn2.microsoft.com/en-us/library/ms937754.aspx

yes you can represent DataHandler via MTOM with Axis2
http://docs.huihoo.com/apache/axis2-1.0-docs/xdocs/1_0/mtom-guide.html

Out of curiosity..Will you be publishing Struttin with Struts2 ???

Thanks!
Martin--

This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

----- Original Message ----- From: "Rick Reumann" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, June 14, 2007 4:17 PM
Subject: Re: Curious why .NET's VS stub generation creates an easier to use API than Axis2 ?


On 6/14/07, robert lazarski <[EMAIL PROTECTED]> wrote:

I'm not sure that your example is a good comparison, as the .net example
uses a string and the adb example uses a file.

I'm confused why it's not a good comparison?. The .NET one is taking a
byte[] as a param (which is what I would have expected to be produced
for the Axis2 stubs as well). The Axis2 one created the DataHandler -
this is why I used a File.. not that I wanted to use a File - I wanted
to just use a String - but it seemed sort of silly to have to make a
File out of a String just to pass it to the Datasource to then pass to
the DataHandler.


With xmlbeans for example, there is no DataHandler. To populate via a file,
you'd do:

GetReport getReport = GetReport.Factory.parse(new File("/home/rick
>
/projects/eds/testsrc/testresources/testspecs/pgm1.xml"));

Cool. I'll try having the client code created with xmlbeans and see
how that works out. Thanks again.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to