Re: Wappush not sending response back in the proper format

2003-03-28 Thread Stipe Tolj
Ok, I checked this:

When I use your PAP document

 ?xml version=1.0?
 !DOCTYPE pap PUBLIC -//WAPFORUM//DTD PAP 1.0//EN
 http://www.wapforum.org/DTD/pap_1.0.dtd;
 pap
 push-message
 push-id=235http://127.0.0.1:8080/wappush104871366918042893839821184112102
 4 source-reference= 
 address
 address-value=WAPPUSH=+123456789/[EMAIL PROTECTED]/
 quality-of-service priority=medium delivery-method=unconfirmed
 bearer=sms/
 /push-message
 /pap

and run it via test/test_pap I get an error that states that the
address parsing failed, because it could not find TYPE. In fact the
PI seems to write this in lower-case in the address entitiy.

When you switch this manually to upper-case test_pap works, and even a
test/test_ppg call against Kannel's PPG works without a complain. See
attached log of that.

Now the question is who acts wrong:

- Jatayuu PI, because of writing the TYPE in lower-case
- Kannel, because of not accepting lower-case

Anyone checked the specs?!

Stipe

[EMAIL PROTECTED]
---
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
---
wapme.net - wherever you are

ppg.log
Description: application/unknown-content-type-txtfile


Re: Wappush not sending response back in the proper format

2003-03-28 Thread Stipe Tolj
to answer this on my own.

The PAP spec does not quote any must or should be in upper-case.
Even the example in section 12.1. is using this:

pap
push-message push-id=[EMAIL PROTECTED]
address
address-value=wappush=12345/[EMAIL PROTECTED]/address
/push-message
/pap

so obviously in lower-case.

Stipe

[EMAIL PROTECTED]
---
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
---
wapme.net - wherever you are



Re: Wappush not sending response back in the proper format

2003-03-28 Thread Stipe Tolj
I will make a bug report of this to mantis, resolve, fix and close in
a bunch ;)

Fix will be in cvs in a couple of minutes. Could you please try then
the cvs head tree.

Stipe

[EMAIL PROTECTED]
---
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
---
wapme.net - wherever you are