none
The difference between using basicHttpBinding and wsHttpBinding at the service side for a client development

    Question

  • Can we write a client using PHP language if service uses wsHttpBinding instead basicHttpBinding? And what's the difference between these two cases for a client development using PHP?
    I mean, how does it impact on client side development?

    Thursday, October 27, 2011 5:48 AM

Answers

  • If I understand correctly, the web services support of PHP does not support ws-* which is used in wsHttpBinding (mainly ws-addressing and ws-security).

    You might want to take a look at:

    http://wso2.com/products/web-services-framework/php/

    The main difference between wshttp and basicHttp is the use of ws-* (basic doesn't use it) and the soap version - basic uses soap 1.1 and ws uses soap 1.2


    Please mark posts as answers/helpful if it answers your question.
    Senior Consultant on WCF, ASP.NET, Siverlight, and Entity Framework. Author of Microsoft's Official WCF 4 Course. Co-author of the Microsoft HPC/Azure burst whitepaper.
    Visit my blog: http://blogs.microsoft.co.il/blogs/idof
    • Marked as answer by EngineerSpock Thursday, October 27, 2011 11:04 AM
    Thursday, October 27, 2011 7:52 AM

All replies

  • If I understand correctly, the web services support of PHP does not support ws-* which is used in wsHttpBinding (mainly ws-addressing and ws-security).

    You might want to take a look at:

    http://wso2.com/products/web-services-framework/php/

    The main difference between wshttp and basicHttp is the use of ws-* (basic doesn't use it) and the soap version - basic uses soap 1.1 and ws uses soap 1.2


    Please mark posts as answers/helpful if it answers your question.
    Senior Consultant on WCF, ASP.NET, Siverlight, and Entity Framework. Author of Microsoft's Official WCF 4 Course. Co-author of the Microsoft HPC/Azure burst whitepaper.
    Visit my blog: http://blogs.microsoft.co.il/blogs/idof
    • Marked as answer by EngineerSpock Thursday, October 27, 2011 11:04 AM
    Thursday, October 27, 2011 7:52 AM
  • PHP does not support ws-*?

    There is inside your link written that WSO2 Web Services Framework for PHP offers Support for the full Web Service WS-* stack including security and reliable messaging.

    Thursday, October 27, 2011 8:43 AM
  • I'm not that familiar with PHP (or to be more exact, i'm not familiar with PHP), but from checking "php wshttpbinding" online, it seems that the basic support in PHP for web services only supports basicHttp, and for wsHttp you need other libraries like the one I mentioned.
    Please mark posts as answers/helpful if it answers your question.
    Senior Consultant on WCF, ASP.NET, Siverlight, and Entity Framework. Author of Microsoft's Official WCF 4 Course. Co-author of the Microsoft HPC/Azure burst whitepaper.
    Visit my blog: http://blogs.microsoft.co.il/blogs/idof
    Thursday, October 27, 2011 8:48 AM