How I get the right Content with the right Encoder
===

I write a Program that create a Guest Connection to Internet for a certain time and get all Guest Connections in a list. I must use the PROCURVE_MOBILITY from HP and get a Error if I connect to the Switch. The IP is right now. For testing I use a Console or a Webform. I work in 3 tier architecture.

My error:

    Der Inhaltstyp "text/html" der Antwortnachricht stimmt nicht mit dem Inhaltstyp der Bindung (text/xml; charset=utf-8) überein. Wenn Sie einen benutzerdefinierten Encoder verwenden, sollten Sie sicherstellen, dass die IsContentTypeSupported-Methode korrekt implementiert ist. Die ersten 1024 Bytes der Antwort waren: "
    
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    
    
    
    
    <head>
    
    <!-- BEGIN CSS -->
    <link rel="stylesheet" type="text/css" href="/style/v1315002855/style.css">
    <!--[if IE]>
    <link rel="stylesheet" type="text/css" href="/style/v1315002855/iefix.css">
    <![endif]-->
    
    <!-- END CSS -->
    
    <meta HTTP-EQUIV="Pragma" CONTENT="No-Cache">
    <meta HTTP-EQUIV="Expires" CONTENT="-1">
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="expires" content="-1">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta http-equiv="refresh" content="660000">
    
    
    <link REL="shortcut icon" HREF="/favicon.png">
    
    <title>SG135GG051 - Home</title>
    
    <script type="text/javascript" language="JavaScript" src="/incl/js/v1315002855/prototype.js"></script>
    
    <script type="text/javascript" language="JavaScript" src="/incl/js/v1315002855/provisioning_common.js"></script>
    
    
    </head>
    
    <body scroll="no" id="mainlayout" bgcolor="#FFFFFF" text="#000000" link="#CC0000" alink="#CCCCCC" vlink="#CC0000">
    
    <!-".

My Code: 


  

    PROCURVE_MOBILITY_MSMPortTypeClient bam = new PROCURVE_MOBILITY_MSMPortTypeClient();
    
        
            GetSubscriptionPlanListResponseList plan = new GetSubscriptionPlanListResponseList();
    
            plan = bam.GetSubscriptionPlanList(); 
    
            Response.Write(plan.ToString()); //Here I get the Error


What is this for a Error :( 

tarasov


