Forum Discussion

jandal's avatar
jandal
New Contributor
16 years ago

Can the web services with binary xml communication be tested and how?

We are using on our project Silverlight 3 and its default binary xml communication to web services. I tried to make test scenario by SoapUI tool but the error message 'HTTP/1.1 415 Cannot process the message because the content type 'application/soap+xml;charset=UTF-8;action="urn:DeptorsService/GetDeptors"' was not the expected type 'application/soap+msbin1' appears. I just imported WSDL and submit the one of the existing requests:


 

 
     
       
        10
       
        5
     

 


The response is:

HTTP/1.1 415 Cannot process the message because the content type 'application/soap+xml;charset=UTF-8;action="urn:DeptorsService/GetDeptors"' was not the expected type 'application/soap+msbin1'.
Server: Microsoft-IIS/5.1
Date: Mon, 06 Jul 2009 13:44:40 GMT
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Length: 0

Please, could everyone tell us how to make tests for binary xml communication? 
  • Hi,

    sorry, this isn't currently supported.. could you please add a feature request at sourceforge so we can get this into the loop?


    regards!

    /Ole
    eviware.com
  • jandal's avatar
    jandal
    New Contributor
    Thank you for reply. Added at sourceforge as a feature request.
  • Just a quickie, as I've had exactly the same problem.

    Until such time that it's supported by soapUI, you can use WcfTestClient.exe to test your webservice.  It's included in visual studio 9 and the beta of 10, and on my PC sits in:

    C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\

    It's only a simple tool, but a simple tool is better than no tool
  • Herve's avatar
    Herve
    Occasional Contributor
    Hi,

    What is the status of this issue ?
    Is there a definitive plan to enable SoapUI to test WebServices with binary encoding ?
    My personnal need is to deal with Web services developped with .Net and requiring "application/soap+msbin1" content type.

    Thanks.
  • Hi Herve,

    this is a bit down on our list for now.. maybe you can help us forward by finding some good pointer(s) on the soap+msbin1 format?

    regards!

    /Ole
    eviware.com
  • Herve's avatar
    Herve
    Occasional Contributor
    Hi,
    Thanks for the quick reply.
    We have developped webServices with .Net for some of our business and our developper has deployed the web services with the MS custom binding "binaryMessageEncoding" for performance purposes. This service expect application/soap+msbin1 message.

    More information on MS site :
    http://msdn.microsoft.com/en-us/library/ms731780.aspx

    Hope this clarifies....

    Hervé.
  • Hi,

    thanks.. we need a more "low-level" specification of this encoding so we can implement support for it in java.. any ideas?

    regards!

    /Ole
    eviware.com