ProcessRequest Error - StatusCode 4004

MMS library for .NET

Moderator: alt

Post Reply
dg
Posts: 8
Joined: Mon Nov 24, 2008 3:54 am

ProcessRequest Error - StatusCode 4004

Post by dg » Wed Aug 31, 2011 8:10 am

Good Afternoon alt,

We are running an C# ashx solution for MO MM7 activity.

The method ProcessRequest (for the ashx) looks something like:

public void ProcessRequest(HttpContext context)
{
MM7Server server = new MM7Server();
server.DeliverRequest += new DeliverEventHandler(server_DeliverRequest);
server.ProcessRequest(context);
}

When we get POSTed an MM7 (v6.8.0) delivery request from our MMSC, the DeliverRequest event doesn't fire, and we respond with:

<?xml version="1.0" encoding="utf-8"?><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelop ... ing>Client error</faultstring><detail><VASPErrorRsp xmlns="http://www.3gpp.org/ftp/Specs/archive/2 ... Validation error</StatusText><Details>Value cannot be null.
Parameter name: value</Details></Status></VASPErrorRsp></detail></env:Fault></env:Body></env:Envelope>

or

<?xml version="1.0" encoding="utf-8"?><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelop ... ing>Client error</faultstring><detail><VASPErrorRsp xmlns="http://www.3gpp.org/ftp/Specs/archive/2 ... Validation error</StatusText><Details>Buffer cannot be null.
Parameter name: buffer</Details></Status></VASPErrorRsp></detail></env:Fault></env:Body></env:Envelope>

I am wondering if this is a version incompatibility or perhaps something else - is there a way we can look at this further.

Let me know if you need any more info.

Thanks,
Damien
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Re: ProcessRequest Error - StatusCode 4004

Post by alt » Thu Sep 01, 2011 8:26 am

Hi DG,

I need to check what has come from MMSC. Please make sure that you have following config in your App.config file

Code: Select all

  <system.diagnostics>
    <sources>
      <source name="Inetlab.MMS.MM7.ServerSource" switchValue="Verbose">
        <listeners>
          <add name="MMSServerLog" />
        </listeners>
      </source>
    </sources>
    <sharedListeners>
      <add name="MMSServerLog" initializeData="mms_server.log"
         type="System.Diagnostics.TextWriterTraceListener" />
    </sharedListeners>
    <trace autoflush="true" />
  </system.diagnostics>
and post here or send to my email MMSC request from mms_server.log
dg
Posts: 8
Joined: Mon Nov 24, 2008 3:54 am

Re: ProcessRequest Error - StatusCode 4004

Post by dg » Fri Sep 02, 2011 12:17 am

Hey alt,

Thanks for getting back to me!
I have emailed the details through and look forward to your response.

Cheers,
dg
Post Reply