From hasank at metu.edu.tr Mon Apr 12 10:53:41 2004
From: hasank at metu.edu.tr (hasan karaaslan)
Date: Sun Aug 10 16:54:54 2008
Subject: [Zope-xml] zml.sax
Message-ID: <200404121453.i3CErfR22245@myra.general.services.metu.edu.tr>
Hi,
I am trying to istall an open source, WorkForce Connections v1.4 (or
the most newest version EZRO 2.x. It is a Content Repository type
software based on Python and Zope.
I need some help related with XML and xml.sax.
I am using a Redhat 9.0 system.
The related softwares installed or upgraded as follow:
Zope 2.7.0
Workforce_Connections_linux14
OrderedFolder-0.4.0.tgz
Python 2.3 (and all other related packages such as development etc)
PyXML-0.8.3
4Suite-1.0a3.tar.gz
During the start of the zope the following error message is coming:
2004-04-03T16:09:31 PROBLEM(100) Init Ambiguous name for method of
Products.ContentRepository.RDFContent.RDFContent: "__call__" !=
"index_html"
/usr/lib/python2.3/xmllib.py:10: DeprecationWarning: The xmllib module
is obsolete. Use xml.sax instead.
DeprecationWarning)
If anyone has some suggestions how can solve this problem, I'd very
very glad to hear them. Thanks in advance,
Hasan Karaaslan
--------------------------------------
hasan karaaslan
hasank@metu.edu.tr
From pavant at jataayusoft.com Wed Apr 28 10:57:46 2004
From: pavant at jataayusoft.com (Pavankumar T)
Date: Sun Aug 10 16:54:54 2008
Subject: [Zope-xml] SOAP Problem
Message-ID: <007a01c42d31$2b477fd0$a2020ac0@pavant>
Hello., can you please look at the following problem??
I prepared a SOAP Client application.,it prepares SOAP Envelope and send it to SOAP Server. I used C SOAP library for this.
Here the problem is.,i am getting error messages from the server. If i observe the server logs..the main xml header ( ) doesn't appear in the request.,eventhough i put it in my program. And content type doesn't appear. Actually i didn't set http header. I want to know how to set this. Which function i have to use.
My logic of the application is take xml template and fill the values, parse ti and invoke soap_client_invoke function to send the request.
( Shortly i) doc = xmlParseMemory(xml_in_memory,length+1);
ii) env = soap_env_new_from_doc(doc);
iii) res = soap_client_invoke(env, url, "");
Finally my problems are:
I) How come xml header is missing
2) How to set HTTP Header...
Please find request & response of message:
POST /soap/servlet/messagerouter HTTP/1.1
Host: 202.6.80.67
Date: Wed, 28 Apr 04 16:00:02 GMT
Content-Length: 666
SoapAction:
smsgw
smsgw
919825000359
jTesting
1
HTTP/1.1 500 Internal Server Error
Server: Resin/2.1.6
Cache-Control: private
Set-Cookie: JSESSIONID=a8NMuhIFZXO-; Path=/
Content-Type: text/xml; charset=utf-8
Content-Length: 479
Date: Wed, 28 Apr 2004 10:35:05 GMT
Response:
-------------
SOAP-ENV:Server.Exception:
java.lang.NullPointerException
/soap/servlet/messagerouter
-----------------
$USERID
$PASSWORD
$DESTINATION
$MESSAGE
$MSGTYPE
How to solve this?? Please guide me
Thanks & Regards,
Pavankumar..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope-xml/attachments/20040428/ea906177/attachment.html
From g9223733 at yuntech.edu.tw Thu Apr 29 02:05:23 2004
From: g9223733 at yuntech.edu.tw (=?big5?B?sOql37azqkys7KfepGq+xy2ufatUs8c=?=)
Date: Sun Aug 10 16:54:54 2008
Subject: [Zope-xml] XMLKit Problem
Message-ID: <1083218723.9462.g9223733@yuntech.edu.tw>
Hello.,=20can=20you=20please=20look=20at=20the=20following=20problem??
I=20am=20a=20new=20one=20about=20using=20zope.=20Now,i=20have=20a=20problem=20=
about=20XMLkit=20.I=20don't=20know=20how=20to=20do=20the=20same=20thing=20ab=
out=20DOM=20or=20SAX=20in=20XMLkit.=20Now=20,=20i=20=20already=20create=20a=20=
XMLDocument=20and=20how=20to=20do=20the=20next??=20How=20to=20solve=20this??=
=20=20
Thanks=20&=20Regards,
kenthsi