Hi again,

I now learned aboput attaching binary data using MTOM using base64 encoding. Is 
this in your opinion the optimal way to send embedded "dumb" xml data (dumb 
means without schema information) via SOAP? Or may I embed any XML into the 
SOAP message, e.g. as string?

Ulf


-------- Original-Nachricht --------
Datum: Thu, 23 Nov 2006 16:49:17 +0100
Von: "Ulf Heyder" <[EMAIL PROTECTED]>
An: [email protected]
Betreff: Re: [AXIS2] WSDL2Java, codegenerator, binding to JAX-B generated 
classes


The longer I think about it I come to the point, that I have to transport the 
XML data (with the complex xsd structure) as attachment using SwA. I don't 
think that I become happy trying to bind 12800 JAX-B classes or xmlbeans to 
AXIS. 

Any hints for defining soap attachments in wsdl for later codegeneration with 
Eclipse Axis2_Codegen_Wizard_1.2.0 plugin?

Thanks, Ulf

-------- Original-Nachricht --------
Datum: Thu, 23 Nov 2006 06:56:18 -0500
Von: "robert lazarski" <[EMAIL PROTECTED]>
An: [email protected]
Betreff: Re: [AXIS2] WSDL2Java, codegenerator, binding to JAX-B generated 
classes

When you say "too complex for Axis2_Codegen_Wizard and ADB", have you
considered xmlbeans?

Robert

On 11/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> Hello,
>
> I started implementing a webservice to receive SOAP request for
> asynchonous
> creation of more or less complex XML products. Both request and response
> have to transport XML objects following a rather big and complex (and
> third
> party) XML schema. I successfully use a heap of JAX-B created java classes
> based on that XML schema (it took me some effort and tricks regarding the
> complexity of the XML schema).
>
> Using the AXIS2 Code Generator plugin for Eclispe I successfully created
> client and server code from my WSDL defining a few low level first step
> requests/responses transporting only string data. After implementing the
> sceletons synchronous and asynchronous communication worked fine.
>
> Like I expected Code Generation for requests/responses containing my
> complex XML objects did not work. I received an incomplete message box
> telling me about a "ClassdefNotFound exception". No further information.
> No
> Code is created.
>
> Now I look for a solution to get my XML objects (based on xml schema too
> complex for Axis2_Codegen_Wizard and ADB) into the SOAP request/response.
> May I define a request/response message of type "anyXmlData"? Is there a
> chance to bind to my (12800!) JAX-B classes? Do I have to use SOAP
> attachments instead?
>
> Thanks in advance,
>
> Ulf
>
>
> My environment: Tomcat5.5, AXIS2 1.1, Eclipse 3.2 with newest plugins
> Axis2_Codegen_Wizard_1.2.0 and Axis_Service_Archiver_1.0.0, Win32 (NT, XP,
> 2000), Linux (SLES 9 x86- 64)
>
>
> --
> "Ein Herz für Kinder" - Ihre Spende hilft! Aktion:
> www.deutschlandsegelt.de
> Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's
> Cup-Yacht!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

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

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

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

Reply via email to