thanks to all, i should have enought elements now to find a solution (no i don't use EJB)
i think i will use Castor or Zeus, and bind myjava object into a simple XML, based upon my xsd file

regards,
elise, xml learning girl :)

--------------------------------------------
Elise Dupont
Software developer
Technology Development Group Europe
Lionbridge Technologies - France
Buropolis 1 - 1240 route des Dolines
06560 Sophia-Antipolis
www.lionbridge.com



"Scott Nichol" <[EMAIL PROTECTED]>

02/20/2002 05:57 PM
Please respond to soap-dev

       
        To:        <[EMAIL PROTECTED]>
        cc:        
        Subject:        Re: java client for .NET webservice and Co



I hope someone else on this list has maintained a more current knowledge of
the market than I.  The Java alternatives I am familiar with are WASP
(http://www.systinet.com) and GLUE (http://www.themindelectric.com).  These
seem like very nice products and have what appear to be reasonable licensing
schemes.  Also, what might have been Apache SOAP 3.x is called Axis
(http://xml.apache.org/axis/index.html).  This is still in alpha, but there
is (or at least was) the intention of including some sort of proxy
generation from WSDL.

I took a quick look at Castor (http://castor.exolab.org/), and it sounds
like more-or-less what you need to generate Java from XSD.  I do not know
where Castor stands with respect to Sun's Java Architecture for XML Binding
(JAXB: http://java.sun.com/xml/jaxb/index.html), but I don't know that it
matters for what you need to do.

Also, something I did not mention is that if your Java classes are beans,
you can use the Apache SOAP BeanSerializer to serialize/deserialize, rather
than implementing Serializer and/or Deserializer in your classes.

Scott Nichol

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 20, 2002 11:16 AM
Subject: Re: java client for .NET webservice and Co


> I've heard recently of Castor, a data binding for Java. the code seems
> very simple, with many shema struture supported. maybe is it the solution
> for my problem ? this would transform my java object into an XML object
> right ?
>
>
>
> --------------------------------------------
> Elise Dupont
> Software developer
> Technology Development Group Europe
> Lionbridge Technologies - France
> Buropolis 1 - 1240 route des Dolines
> 06560 Sophia-Antipolis
> www.lionbridge.com
>
>
>
>
> "Sergei Meleshchuk" <[EMAIL PROTECTED]>
> 02/20/2002 05:04 PM
> Please respond to soap-dev
>
>
>         To:     <[EMAIL PROTECTED]>
>         cc:
>         Subject:        Re: java client for .NET webservice and Co
>
>
> There is another object in ADO.NET - DataReader. It is pretty close to
> JDBC.
> Usual way *when client is receiving* data is to expose it as DataReader,
> and
> then load DataSet from DataReader.
>
> You have different problem.
> DataSet serialized representation is documented (I don't have the docs
> right
> now), so one of the options is to use it. However, this means some work.
>
> I beleive much easier solution is to send (from client to server) just
> XML.
> It could be propriatery XML, or SOAP.
> Sergei Meleshchuk.
> ----- Original Message -----
> From: "Scott Nichol" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, February 20, 2002 7:42 AM
> Subject: Re: java client for .NET webservice and Co
>
>
> > A DataSet is a construct that ADO.NET works with, right?  If so, to have
> an
> > Apache SOAP client send a DataSet, you need to create a DataSet Java
> class
> > that implements the org.apache.xml.Serializer interface.  That interface
> has
> > a single method named marshal, which is responsible for writing the XML
> > representation of the DataSet that is carried within the SOAP message.
> >
> > Scott
> >
> > ----- Original Message -----
> > From: <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, February 20, 2002 7:17 AM
> > Subject: Re: java client for .NET webservice and Co
> >
> >
> > > okay so after have looked at many documentation, i didn't find the
> > > solution so i post my question here :
> > >
> > > what i must create is a java client that sends a DataSet to a .NET
> > > webservice. This webservice takes the DataSet and add it into a SQL
> server
> > > database.
> > > My problem is : how to create a DataSet understandable by Microsoft ?
> I
> > > first have a java object (myCompanyObject, with the name, the address
> > > etc...)
> > >
> > > So is the DataSet created by a class that transforms objects into
> DataSet
> > > ? or is it performed by a xml, wsdl, something file ? (my knowledge
> about
> > > wsdl is very small) ??? even better : how would look like the code for
> a
> > > "object to DataSet" transformation in some sample lines ?
> > >
> > >
> > > here is the doc about my .NET webservice :
> > >
> > > SOAP
> > > The following is a sample SOAP request and response. The placeholders
> > shown need to be replaced with actual values.
> > >
> > >
> > > POST /PCS_Integration/SynchronizeProfiles.asmx HTTP/1.1
> > > Host: biztalk
> > > Content-Type: text/xml; charset=utf-8
> > > Content-Length: length
> > > SOAPAction: "http://tempuri.org/WS_UpdateProfileAgency"
> > >

> > > <?xml version="1.0" encoding="utf-8"?>
> > > <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > > xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> > >   <soap:Body>
> > >     <WS_UpdateProfileAgency xmlns="http://tempuri.org/">
> > >       <dsComp>dataset</dsComp>
> > >     </WS_UpdateProfileAgency>
> > >   </soap:Body>
> > > </soap:Envelope>
> > >
> > >
> > >
> > >
> > >
> > > HTTP/1.1 200 OK
> > > Content-Type: text/xml; charset=utf-8
> > > Content-Length: length
> > >
> > > <?xml version="1.0" encoding="utf-8"?>
> > > <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > > xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> > >   <soap:Body>
> > >     <WS_UpdateProfileAgencyResponse xmlns="http://tempuri.org/">
> > >
> <WS_UpdateProfileAgencyResult>boolean</WS_UpdateProfileAgencyResult>
> > >     </WS_UpdateProfileAgencyResponse>
> > >   </soap:Body>
> > > </soap:Envelope>
> > >
> > >
> > > Regards,
> > > Elise
> > >
> >
> >
>
>
>
>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



Reply via email to