Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
415 bad event on PUBLISH / Unsupported media type
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
lanceb  
View profile  
 More options Oct 24 2012, 8:11 pm
From: lanceb <ldickinso...@gmail.com>
Date: Wed, 24 Oct 2012 17:11:52 -0700 (PDT)
Local: Wed, Oct 24 2012 8:11 pm
Subject: 415 bad event on PUBLISH / Unsupported media type

I am using the itegrated MSPS and for some reason all publishes, no matter the client are getting 415 bad event.  I have done some extensive searches on this problem and am coming up empty.  I have looked at all the xml presence documents and they appear to be the same.  Seems the presence server does not like 'note' in the xml doc, but I do not understand why this would be an issue if using standard schema.  Please review and let me know what I am missing - THanks in advance!!

12:39:23,857 INFO  [SipResourceAdaptor] Received Request:
PUBLISH sip:xxxxxx9...@xxxxxxxxx.com SIP/2.0
Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:5060;branch=z9hG4bK427dh900306gv75gi7u0.1
Max-Forwards: 69
From: "xxxxxx9930" <sip:xxxxxx9...@xxxxxxxxx.com>;tag=Ib-9NErhmASnXQJWPklfriXSe5UcT11w
To: "xxxxxx9930" <sip:xxxxxx9...@xxxxxxxxx.com>
Call-ID: QkslzzP9wXXqOjTPFpUGc3Bn0VSXljVf
CSeq: 64791 PUBLISH
Event: presence
Expires: 660
User-Agent: xxxx Android 2.0.4
Content-Type: application/pidf+xml
Route: <sip:xxxxxx9...@xxx.xxx.xxx.xxx:5060;lr>
Content-Length: 558

<?xml version="1.0" encoding="UTF-8"?>
<presence entity="sip:xxxxxx9...@xxxxxxxxx.com" xmlns="urn:ietf:params:xml:ns:pidf" xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model" xmlns:rpid="urn:ietf:params:xml:ns:pidf:rpid">
 <tuple id="cpN9g2GZn1U.Osv2pt-Ap2l4Mp9uOkACoG">
  <status>
   <basic>open</basic>
  </status>
  <timestamp>2012-10-19T12:39:38.699Z</timestamp>
  <note>Busy</note>
 </tuple>
 <dm:person id="cpxB6CCxszHqdHXWtWbjjQzvhWHSd-6V.b">
  <rpid:activities>
   <rpid:busy />
  </rpid:activities>
  <dm:note>Busy</dm:note>
 </dm:person>
</presence>

12:39:23,890 ERROR [PublicationControlSbb] failed to parse publication content
org.xml.sax.SAXParseException; cvc-complex-type.2.4.d: Invalid content was found starting with element 'note'. No child element is expected at this point.
        at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
        at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        at org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(U nknown Source)
        at org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source)
        at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)
        at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
        at org.apache.xerces.jaxp.validation.DOMValidatorHelper.beginNode(Unknown Source)
        at org.apache.xerces.jaxp.validation.DOMValidatorHelper.validate(Unknown Source)
        at org.apache.xerces.jaxp.validation.DOMValidatorHelper.validate(Unknown Source)
        at org.apache.xerces.jaxp.validation.ValidatorImpl.validate(Unknown Source)
        at javax.xml.validation.Validator.validate(Validator.java:124)
        at org.mobicents.slee.sipevent.server.publication.AbstractPublicationControl.u nmarshallDocument(AbstractPublicationControl.java:174)
        at org.mobicents.slee.sipevent.server.publication.AbstractPublicationControl.n ewPublication(AbstractPublicationControl.java:94)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:5 7)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.mobicents.slee.container.deployment.interceptors.SbbLocalObjectIntercep tor.invokeAndReturnObject(SbbLocalObjectInterceptor.java:96)
        at org.mobicents.slee.sipevent.server.publication.PublicationControlSbbLocalOb jectImpl.newPublication(PublicationControlSbbLocalObjectImpl.java)
        at org.mobicents.slee.sipevent.server.publication.SipPublicationControlSbb.onP ublish(SipPublicationControlSbb.java:272)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:5 7)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.mobicents.slee.runtime.sbbentity.SbbEntityImpl.invokeEventHandler(SbbEn tityImpl.java:478)
        at org.mobicents.slee.runtime.eventrouter.routingtask.EventRoutingTaskImpl.rou teQueuedEvent(EventRoutingTaskImpl.java:379)
        at org.mobicents.slee.runtime.eventrouter.routingtask.EventRoutingTaskImpl.run (EventRoutingTaskImpl.java:126)
        at org.mobicents.slee.runtime.eventrouter.EventRouterExecutorImpl$EventRouting TaskStatsCollector.run(EventRouterExecutorImpl.java:73)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1 110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java: 603)
        at java.lang.Thread.run(Thread.java:679)
12:39:23,893 INFO  [PublicationControlSbb] publication for resource sip:xxxxxx9...@xxxxxxxxx.com on event package presence has unsupported media type
12:39:23,894 INFO  [ServerTransactionWrapper] ServerTransaction[z9hG4bK427dh900306gv75gi7u0.1] sending response:
SIP/2.0 415 Unsupported media type
To: "xxxxxx9930" <sip:xxxxxx9...@xxxxxxxxx.com>
Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:5060;branch=z9hG4bK427dh900306gv75gi7u0.1
CSeq: 64791 PUBLISH
Call-ID: QkslzzP9wXXqOjTPFpUGc3Bn0VSXljVf
From: "xxxxxx9930" <sip:xxxxxx9...@xxxxxxxxx.com>;tag=Ib-9NErhmASnXQJWPklfriXSe5UcT11w
Accept: application/pidf+xml
Content-Length: 0


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »