08-31-2009
xml and c programming for unix
Does anyone can tell me what is the best way to post a xml request to a web service on C. I am using expat for parsing the response, but until now i build my xml request with a bunch of strcat functions, then connect to the port and send it that way. I am wondering if there are libraries or a command line tool that would make my job easier since the xml requests/response are getting a little bit more complex and longer. If your have any input and samples if possible, i would be very thankfull.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
can someone tell me some programming commands on unix? (2 Replies)
Discussion started by: fretis
2 Replies
2. Programming
i would like advice on the usbject of c programming (in the middle of reading a book on C). could i benefit more if i apply that knowledge in the unix format if i were able to, or would that take the point out of learning C, basically I want to stay away from strying too far away from unix and use... (1 Reply)
Discussion started by: moxxx68
1 Replies
3. Programming
Hi all,
I am suppose to write a program that will take in a xml file and display the value of each attribute that is in the xml file. i have some code but i didn't know where should some of the file be written.
Can some one help me?
#include <stdio.h>
#include <string.h>
#include... (3 Replies)
Discussion started by: dianazheng
3 Replies
4. UNIX for Dummies Questions & Answers
hi guys,
I m from india. I m working as programmer in one of MNC. Since 3 years im working on Microsoft platform on dot net and platforms.
but now i decided to shift my future to unix , Linux side. I want to be the part of this open source family.
and with this i want to make my future also.... (6 Replies)
Discussion started by: d_swapneel14
6 Replies
5. Shell Programming and Scripting
Several months ago I found a link that explained the difference between how a Unix Systems Admin would do scripting compared to what a Unix Programmer would do.
It showed a basic script and then show several iterations that explained how the Systems Admin would change it to make it better. I was... (0 Replies)
Discussion started by: BCarlson
0 Replies
6. UNIX for Dummies Questions & Answers
Hello,
I am trying to learn Networking Programming in C in unix enviorment. I want to know how good it is to become a network programmer. i am crazy about Network programming but i also want to opt for the best carreer options. Anybody experienced Network Programmer, please tell me is my... (5 Replies)
Discussion started by: vibhory2j
5 Replies
7. UNIX for Dummies Questions & Answers
I asked this over on the "High Level Programming Section" but there must be a secret handshake or something that I am missing.....anyway....if a person wanted to start some C programming in UNIX what would be the best compiler to start with ??
I am fairly familiar with visual studio and have done... (2 Replies)
Discussion started by: zapper222
2 Replies
8. Programming
hey guys.
im currently trying to make a program in unix (redhat, compiling the .c file using gcc) and i need urgent urgent help.
i need to save objects of structures in a file but they dont seem to be saving properly. ive been on it for a whole day now. dunno why i cant do it.
when i try to... (4 Replies)
Discussion started by: mjumrani
4 Replies
9. Shell Programming and Scripting
hey guys im trying to create a batch file that makes directories
i have this code atm
#!/bin/sh
echo "Please enter file name:"
read Filename
echo "enter number of files to be created "
read created
for (( i = 1; i < &created; 1++ ))
do
mkdir $Filename$i
done
assume i enter... (7 Replies)
Discussion started by: josh111
7 Replies
10. UNIX for Dummies Questions & Answers
How does unix system administration, unix programming, unix network programming differ?
Please help. (0 Replies)
Discussion started by: thulasidharan2k
0 Replies
LEARN ABOUT DEBIAN
occi-storage
OPENNEBULA(1) User Commands OPENNEBULA(1)
NAME
OpenNebula - OpenNebula occi-storage
SYNOPSIS
occi-storage <COMMAND> [OPTIONS] [PARAMETERS]
DESCRIPTION
occi-storage - Manages OCCI storage resource
OPTIONS
--help, -h
Show help
--username <id>, -U <id>
The username of the user
--password <key>, -P <key>
The password of the user
--url <url>, -R <url>
Set url as the web service url to use
--timeout <seconds>, -T <seconds>
Sets a timeout for the http connection
--debug, -D
Enables verbosity
--multipart, -M
Use 'multipart-post' library instead of Curb/Curl
--verbose
Show resources in verbose mode
COMMANDS
create <occi xml file>
creates a new storage resource described by the provided <occi xml file>
list
lists available storage resources
show <storage id>
retrieves the OCCI XML representation of the storage resource identified by <storage id>
update <occi xml file>
updates the representation of the storage resource represented by the provided <occi xml file>
delete <storage id>
deletes the storage resource idenfitied by <storage id>
COPYRIGHT
Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may
obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
OpenNebula 3.4.1 April 2012 OPENNEBULA(1)