[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: HashMap in an XML document


hashmap to xml


Hi Michael,

     Can we use SOAP without bringing Web Services into picture. I want to ask
is whether I have to publish my Message Driven bean at server end as a web
service to make SOAP work. I want asynchronous communication but without Web
Services.

Regards
Ashish Rajvanshi




"Michael Kay" <michael.h.kay@n...> on 07/11/2002 02:43:51 PM

Please respond to michael.h.kay@n...

To:   Ashish Rajvanshi/HSS@HSS
cc:   "'xml-dev'" <xml-dev@l...>

Subject:  RE:  HashMap in an XML document




I sounds as if you are inventing your own RPC mechanism. There are
plenty of good ones around already. Why not use SOAP?

Michael Kay
Software AG
home: Michael.H.Kay@n...
work: Michael.Kay@s...


> -----Original Message-----
> From: arajvanshi@h... [mailto:arajvanshi@h...]
> Sent: 11 July 2002 08:51
> To: michael.h.kay@n...
> Cc: 'xml-dev'
> Subject: RE:  HashMap in an XML document
>
>
>
>
> Hi Michael,
>
>     The purpose of my application is to invoke an API on the
> server, and the user is going to tell which API at runtime.
> I have to pass this information regarding the API (which
> includes APINAME, APIRETURNTYPE, PARAMETERS and some
> transaction attributes) in an XML document. On the server
> side, the parser parses the information and invokes the
> appropriate API using Reflection(java.lang.reflect.*).
>    The problem is that some APIs have complex arguments like
> Vector, HashMap which needs to be passed using XML. If I have
> to extract each and every element of HashMap to form a new
> element in the XML doc, it will be a big overhead. I wanted
> to ask whether we can directly pass an Object (like HashMap,
> Vector) in an XML document by some means.
>
> Regards
> Ashish Rajvanshi
>
>
>
>
>
>
> "Michael Kay" <michael.h.kay@n...> on 07/11/2002 01:10:48 PM
>
> Please respond to michael.h.kay@n...
>
> To:   Ashish Rajvanshi/HSS@HSS, "'xml-dev'" <xml-dev@l...>
> cc:
>
> Subject:  RE:  HashMap in an XML document
>
>
>
>
> > Hi All,
> >  Can anyone tell me how to pass a java.util.HashMap in an XML
> > document.
> >
> > Regards
> > Ashish Rajvanshi
>
> You'll have to explain a lot more carefully what you mean. Do
> you mean perhaps that you have some data in a java HashMap
> and you want to represent the same data in XML?
>
> Michael Kay
> Software AG
> home: Michael.H.Kay@n...
> work: Michael.Kay@s...
>
>
>
>
>
>
>








PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.