logo       

Re: AW: How do you pass an XML document between Axis and .Net Client?: msg#00759

Subject: Re: AW: How do you pass an XML document between Axis and .Net Client?
The issue isn't about passing a simple number, what I'd like to figure out how to do is to pass a large XML document from/to axis to/from the client. If anybody has a straightforward way to do this (RPC or Messaging) I would really appreciate the example being shown. I'm sure this isn't difficult, I just haven't been able to figure out how to do it.

Bob Evans

Andrew Vardeman wrote:

But I guess what I'm confused about is why you don't just write a messaging client that manually adds this element to the request:

<someNumber xsi:type="xsd:int">8</someNumber>

and then sucks the returned XML out of the SOAP Body? Seems so much more straightforward...

Andrew

At 05:25 PM 5/30/2002 +0200, you wrote:

Hi,

I have some methods which need an in-parameter (in most cases a primitive
type like int) and return a XML document.

Sadly, I haven´t found a way to tell Axis to use RPC mode for the request and don´t apply any deserializers on the response, so that I can extract the
XML document from the response.

So, I have to return the XML document as a string.

-----Ursprüngliche Nachricht-----
Von: Andrew Vardeman [mailto:andrewv@xxxxxxxxxxx]
Gesendet am: Donnerstag, 30. Mai 2002 17:17
An: axis-user@xxxxxxxxxxxxxx
Betreff: RE: How do you pass an XML document between Axis and .Net
Client?

I have limited programming experience, and I don't know what sorts of
things people are using SOAP for out there. One thing I wonder (possibly because I just haven't needed to do it yet) is why so many people want to
write an RPC client that passes an XML document as a parameter.  What is
the advantage of this over document-style messaging? Are you passing other
objects along with the document that you don't want to manually
deserialize, or is it just to avoid making a couple DOM calls to extract
the document from the SOAP Body?

Just curious,

Andrew

At 05:01 PM 5/30/2002 +0200, you wrote:
>Bob,
>
>  - use the system.xml.xmldocument to create a XMLDocument (DOM) object
>  - use the loadxml method to load a string into it
>
>the precise syntax depends on which .net dialect you use
>
>greetings,
>Gertjan
>
>
>-----Original Message-----
>From: Robert Evans [mailto:bob@xxxxxxxxxxxxxxxxxxxxx]
>Sent: donderdag 30 mei 2002 15:06
>To: axis-user@xxxxxxxxxxxxxx
>Subject: How do you pass an XML document between Axis and .Net Client?
>
>
>Greetings,
>
>I have been trying to figure out how to pass an XML document to/from an
>axis web server from/to a .Net client.
>
>As near as I can tell, on the Java side I need to convert the XML
>document to/from a string (no problem).  The part I can't figure out is
>how to convert the Xml String to a .Net XML document.
>
>I realize this isn't exactly an Axis issue, but I figured this mailing
>list would have somebody who has done something like this already.
>
>Any hints would be appreciated.
>
>Bob Evans











<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe