plumstein | 1 Apr 2004 03:03
Picon
Favicon

Sending XML Document to a Server

I need to send an XML Document to an HTTP Server.  I need to use the C
programming language to write this client.  I thought that XML-RPC was
the answer, but after looking at the library at
http://xmlrpc-c.sourceforge.net/ I'm not so sure that this is the
right choice.  It appears that this library has a strong bias to
making an actual RPC (marshalling parameters, making the RPC and
returning the result) and nothing else.

So, could someone confirm my suspicion that I'm on the wrong track and
if so could you recommend the correct library to use to send an XML
Document to an HTTP server.

Thanks,
Brian

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/xml-rpc/

<*> To unsubscribe from this group, send an email to:
     xml-rpc-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/

webmaster | 1 Apr 2004 03:06
Picon

New Message: Sending an XML Document to a HTTP Server

A new message was posted:

Address: http://www.xmlrpc.com/discuss/msgReader$2583

By: Brian Plummer (bplummer <at> hotmail.com)

I need to send an XML Document to an HTTP Server. I need to use the C
programming language to write this client. I thought that XML-RPC was
the answer, but after looking at the library at
http://xmlrpc-c.sourceforge.net/ I'm not so sure that this is the
right choice. It appears that this library has a strong bias to
making an actual RPC (marshalling parameters, making the RPC and
returning the result) and nothing else.

So, could someone confirm my suspicion that I'm on the wrong track and
if so could you recommend the correct library to use to send an XML
Document to an HTTP server.

Thanks,
Brian

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/xml-rpc/

<*> To unsubscribe from this group, send an email to:
     xml-rpc-unsubscribe <at> yahoogroups.com

(Continue reading)

Ryan Hoegg | 1 Apr 2004 09:59

Re: New Message: Sending an XML Document to a HTTP Server

Yes, you are on the wrong track.  You are looking for something more 
along the lines of REST [1].  All you need to do is HTTP POST your XML 
document.  What is the server supposed to do with it once it gets it?  
 From where does the client get the XML document?

XML-RPC uses XML as the format for RPC between clients and servers 
possibly on different platforms and written in different languages.  
When you actually write an XML-RPC client or server using one of the 
many libraries that are available, you rarely if ever work directly with 
XML.

--
Ryan Hoegg
ISIS Networks
http://www.isisnetworks.net/

[1] http://webservices.xml.com/pub/a/ws/2002/02/06/rest.html

webmaster <at> userland.com wrote:

>A new message was posted:
>
>Address: http://www.xmlrpc.com/discuss/msgReader$2583
>
>By: Brian Plummer (bplummer <at> hotmail.com)
>
>I need to send an XML Document to an HTTP Server. I need to use the C
>programming language to write this client. I thought that XML-RPC was
>the answer, but after looking at the library at
>http://xmlrpc-c.sourceforge.net/ I'm not so sure that this is the
(Continue reading)

mah | 1 Apr 2004 05:57
Gravatar

Re: Sending XML Document to a Server

"plumstein" <bplummer <at> hotmail.com> writes:

> So, could someone confirm my suspicion that I'm on the wrong track and
> if so could you recommend the correct library to use to send an XML
> Document to an HTTP server.

You should use SOAP, not XML-RPC for this.

Or, depending on your needs, just use REST and POST or PUT it to the
server.

Mark.

--

-- 
A choice between one man and a shovel, or a dozen men with teaspoons
is clear to me, and I'm sure it is clear to you also.
    -- Zimran Ahmed <http://www.winterspeak.com/>

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/xml-rpc/

<*> To unsubscribe from this group, send an email to:
     xml-rpc-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/

(Continue reading)

mah | 1 Apr 2004 05:53
Gravatar

Re: Sending XML Document to a Server

"plumstein" <bplummer <at> hotmail.com> writes:

> So, could someone confirm my suspicion that I'm on the wrong track and
> if so could you recommend the correct library to use to send an XML
> Document to an HTTP server.

You should use SOAP, not XML-RPC for this.

Or, depending on your needs, just use REST and POST or PUT it to the
server.

Mark.

--

-- 
A choice between one man and a shovel, or a dozen men with teaspoons
is clear to me, and I'm sure it is clear to you also.
    -- Zimran Ahmed <http://www.winterspeak.com/>

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/xml-rpc/

<*> To unsubscribe from this group, send an email to:
     xml-rpc-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/

(Continue reading)

holyman | 1 Apr 2004 17:35
Picon
Favicon

XML- HTML

Hi,

I have data as follows,

<Year> 2004 <q1>a</q1>
<year> 2004 <q2>b</q2>
<year> 2003 <q4>c</q4>

I m getting this data in the above fashion, I need to design HTML 
thru XML as shown,

2004 Q1 Q2 Q3 Q4
     -  - 
2003 Q1 Q2 Q3 Q4
              -

Those quarters having data will get hyperlink n the rest dont.

I used distinct query n able to write the quarters with data n having 
hyperlinks i m not able to get those quarters without data
(ex 2004 Q1 Q2).
         -  - 

Give me a better solution for this.

Thanks,
Holy.

 
Yahoo! Groups Links
(Continue reading)

brian plummer | 1 Apr 2004 19:07
Picon
Favicon

Re: Sending XML Document to a Server

Hi Mark:

Thanks for the response!  In the end I've decided to use XMLRPC making a 
call to a method on my server that will take a single argument that is a 
string that will be my XML Document.  This seems to work fine and is far 
more precise that what I was trying to consider.  I should add that I am a 
complete novice with respect to this subject...

Thanks Again,
Brian

>From: mah <at> everybody.org
>Reply-To: xml-rpc <at> yahoogroups.com
>To: xml-rpc <at> yahoogroups.com
>CC: plumstein <bplummer <at> hotmail.com>
>Subject: Re: [xml-rpc] Sending XML Document to a Server
>Date: Wed, 31 Mar 2004 21:57:09 -0600
>
>"plumstein" <bplummer <at> hotmail.com> writes:
>
> > So, could someone confirm my suspicion that I'm on the wrong track and
> > if so could you recommend the correct library to use to send an XML
> > Document to an HTTP server.
>
>You should use SOAP, not XML-RPC for this.
>
>Or, depending on your needs, just use REST and POST or PUT it to the
>server.
>
>Mark.
(Continue reading)

Ryan Hoegg | 1 Apr 2004 19:16

Re: Sending XML Document to a Server

You may run into trouble with this approach when it comes to encoding 
issues.  You will probably be better served by simply POSTing the XML.

brian plummer wrote:

>Hi Mark:
>
>Thanks for the response!  In the end I've decided to use XMLRPC making a 
>call to a method on my server that will take a single argument that is a 
>string that will be my XML Document.  This seems to work fine and is far 
>more precise that what I was trying to consider.  I should add that I am a 
>complete novice with respect to this subject...
>
>Thanks Again,
>Brian
>
>
>  
>
>>From: mah <at> everybody.org
>>Reply-To: xml-rpc <at> yahoogroups.com
>>To: xml-rpc <at> yahoogroups.com
>>CC: plumstein <bplummer <at> hotmail.com>
>>Subject: Re: [xml-rpc] Sending XML Document to a Server
>>Date: Wed, 31 Mar 2004 21:57:09 -0600
>>
>>"plumstein" <bplummer <at> hotmail.com> writes:
>>
>>    
>>
(Continue reading)

sidney9worth | 4 Apr 2004 15:14
Picon
Favicon

the disappearing rpc::xml::server

Am concerned about trying perl module rpc::xml::server with my ISP. 
The ISP says the module is installed already, but it looks like once 
the rpc server script is started that i won't be able to stop it.
The last perl statement, $srv->server_loop; comment says it never 
returns. (See code snippet from CPAN below)

Q: would I need superuser rights to stop/re-start rpc::xml::server? 
Most ISP's do not give accounts sufficient rights to kill processes. 
Is this even a consideration?

Q: how would i add new methods to the perl rpc::xml::server in the 
future if the server loop never returns?

Q: would the rpc:xml server need to be on some port other than 80 if 
web content is being served as well? If so, kindly comment on 
alternate ports? (have previously seen 1080 or 8080?)

======== excerpt from CPAN ==========
 use RPC::XML::Server;
    ...
    $srv = RPC::XML::Server->new(port => 9000);
    # Several of these, most likely:
    $srv->add_method(...);
    ...
    $srv->server_loop; # Never returns <--- THIS IS WHAT WORRIES ME

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
(Continue reading)

Vohra, Meenakshi | 5 Apr 2004 23:40

undefined symbol such as HTXML_new errors when compiling xmlrpc-c-0.9.9 using cygwin

Hello Everyone,

In order to write a xmlrpc-c wrapper over my c-server I am trying to
compile w3c-libwww-5.4.0 and xmlrpc-c-0.9.9 using Cygwin on my Windows
2000 platform using the foll. commands

Copied the following files:

*       w3c-libwww-5.4.0.zip

*       libwww-win32.zip  (repackaging of w3c-libwww-5.4.0 release)

*       xmlrpc-c-0.9.9

At Cygwin prompt typed the foll. commands:

$ cd d:/w3c-libwww-5.4.0

$./configure -with-zlib -with-expat

$ make

$ make install

Above got compiled and installed with no errors. Then ran the foll.

$ cd d:/xmlrpc-c-0.9.9

$ ./configure

(Continue reading)


Gmane