Hai Aarno
I tried with the change you suggested but still I am getting the same problem. (Is there any thing to change in the configuration file ot any problem with xmlParseMemory() function.?
Thanks for your suggestion.
Suman
On Fri, 01 Apr 2005 [EMAIL PROTECTED] wrote :
>Send users mailing list submissions to
> users@kannel.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
> http://www.kannel.org/mailman/listinfo/users
>or, via email, send a message with subject or body 'help' to
> [EMAIL PROTECTED]
>
>You can reach the person managing the list at
> [EMAIL PROTECTED]
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of users digest..."
>
>
>Today's Topics:
>
> 1. Error writing 729 octets to fd 12336 (Russel Stromin)
> 2. Re: Error while sending XML document... (Aarno Syvänen)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Fri, 1 Apr 2005 09:51:44 +0200
> From: "Russel Stromin" <[EMAIL PROTECTED]>
>Subject: Error writing 729 octets to fd 12336
>To: <users@kannel.org>
>Message-ID: <[EMAIL PROTECTED]>
>Content-Type: text/plain; charset="iso-8859-1"
>
>Hi
>
>Can anyone please shed some light on the error:
>
>Error writing 729 octets to fd 12336:
>
>Cheerio
>
>Russel
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: http://www.kannel.org/mailman/private/users/attachments/20050401/eea5dcf9/attachment-0001.htm
>
>------------------------------
>
>Message: 2
>Date: Fri, 1 Apr 2005 12:13:44 +0200
> From: Aarno Syvänen <[EMAIL PROTECTED]>
>Subject: Re: Error while sending XML document...
>To: Suman Choudary <[EMAIL PROTECTED]>
>Cc: users@kannel.org
>Message-ID: <[EMAIL PROTECTED]>
>Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed
>
>XML source has an error. The scheme should be file:///gw/settings.dtd
>(3 /:s after file:) Please try this.
>
>Aarno
>
>On 1.4.2005, at 08:37, Suman Choudary wrote:
>
> >
> > Hello all
> >
> > I am using kannel-1.4.0 for WAP push. I got a problem while
> > sending the XML document containing OTA settings. While sending from
> > HTTP url I got an error at smsbox. Here I am using fakesmsc Why I am
> > getting such an error? Is there any mistake in the configuration file
> > or at XML file. I saved the XML file at ../gateway-1.4.0/test
> > directory with name
> > MyURLEncodedXMLdocument.xml
> >
> > Here I am attaching the logfile...
> >
> > 2005-04-01 11:45:49[5641] [3]INFO: smsbox: Got HTTP request
> > </cgi-bin> from <xxx.xxx.xxx.xxx>
> > 2005-04-01 11:45:49[5641] [3]INFO: sendsms used by <otauser>
> > 2005-04-01 11:45:49[5641] [3]DEBUG: OTA service with XML document
> > Entity: line 1: error: Start tag expected, '<' not found
> > MyURLEncodedXMLdocument.xml
> > ^
> > 2005-04-01 11:45:49[5641] [3]ERROR: OTA: No document to parse.
> > Probably an error in OTA source
> >
> > 2005-04-01 11:45:49[5641] [3]DEBUG: Status: 400 Answer: <Erroneous
> > ota source, cannot compile
> > >
> >
> >
> >
> > My configuration file is as follows:
> >
> > #core
> > group = core
> > admin-port = 14000
> > smsbox-port = 14001
> > wapbox-port = 14002
> > admin-password = adpass
> > status-password = stpass
> > admin-allow-ip = "127.0.0.1"
> > box-allow-ip = "127.0.0.1"
> >
> >
> >
> >
> > #SMSC connections
> > group = smsc
> > smsc = fake
> > smsc-id = ID2
> > port = 11000
> >
> >
> >
> >
> > #WAPbox
> > group = wapbox
> > bearerbox-host = "127.1.0.0"
> > syslog-level = 0
> >
> >
> >
> >
> > #SMSbox
> > group = smsbox
> > smsbox-id = s1
> > bearerbox-host = localhost
> > sendsms-port = 14003
> > sendsms-chars = "1234506789hello+=-"
> > global-sender = yyyyyyyyyy
> > reply-couldnotfetch = "Server down"
> >
> > #Services
> > group = sms-service
> > keyword = nop
> > text = "No operation"
> >
> >
> > group = sms-service
> > keyword = default
> > text = "This is a default"
> >
> >
> >
> >
> > #send-smsusers
> > group=sendsms-user
> > username=otauser
> > password=otapass
> > concatenation=true
> > max-messages=50
> >
> >
> > And My xml file is as ...
> >
> > <?xml version="1.0"?>
> > <!DOCTYPE CHARACTERISTIC-LIST SYSTEM "file://gw/settings.dtd">
> > <CHARACTERISTIC-LIST>
> >
> >
> > <CHARACTERISTIC TYPE="ADDRESS">
> > <PARM NAME="BEARER" VALUE="GSM/CSD"/>
> > <PARM NAME="PROXY" VALUE="xxx.xxx.xxx.xxx"/>
> > <PARM NAME="PORT" VALUE="9200"/>
> > <PARM NAME="CAD_DIALSTRING" VALUE="+12345678"/>
> > <PARM NAME="PPP_AUTHTYPE" VALUE="PAP"/>
> > <PARM NAME="PPP_AUTHNAME" VALUE="tester"/>
> > <PARM NAME="PPP_AUTHSECRET" VALUE="foobar"/>
> > <PARM NAME="CSD_CALLTYPE" VALUE="ISDN"/>
> > <PARM NAME="CSD_CALLSPEED" VALUE="9600"/>
> > </CAHRACTERISTIC>
> > <CHARACTERISTIC TYPE="URL" VALUE="http://wap.company.com"/>
> > <CHARACTERISTIC TYPE="NAME">
> > <PARM NAME="NAME" VALUE="Your WAP company"/>
> > </CHARACTERISTIC>
> > </CHARACTERISTIC-LIST>
> >
> > The HTTP URL I am passing is :
> >
> >
> > http://xxx.xxx.xxx.xxx:14003/cgi-bin/sendota?
> > username=otauser&password=otapass&to=yyyyyyyyy&text=MyURLEncodedXMLdocu
> > ment.xml&type=settings
> >
> >
> >
> > Advanced Thanks for help...
> >
> >
> > Regards
> > G.S.Choudary
> >
> > <inbox.gif>
>
>
>
>------------------------------
>
>_______________________________________________
>users mailing list
>users@kannel.org
>http://www.kannel.org/mailman/listinfo/users
>
>
>End of users Digest, Vol 16, Issue 2
>************************************
G.S.Choudary