How to use a PHP client to a WSE .NET web service?

Last post 04-15-2009 10:41 PM by Murugesan7. 11 replies.

Sort Posts:

  • How to use a PHP client to a WSE .NET web service?

    02-18-2006, 11:38 PM
    • Member
      276 point Member
    • aarnott
    • Member since 05-13-2003, 4:18 PM
    • Kirkland, WA
    • Posts 54
    I'm using username token without encryption WSE 3 features on my web service.  How can a PHP client consume my web service?  Is this a totally unheard of use case?  I can't find anything on it.
    Andrew L Arnott
    Visual Studio Platform & Ecosystem
  • Re: How to use a PHP client to a WSE .NET web service?

    03-09-2006, 12:16 PM
    • Member
      5 point Member
    • sferwin
    • Member since 03-09-2006, 5:16 PM
    • Posts 1
    Did you ever get an answer to this and if so could you share? Having the same issue
  • Re: How to use a PHP client to a WSE .NET web service?

    03-09-2006, 3:06 PM
    • Member
      276 point Member
    • aarnott
    • Member since 05-13-2003, 4:18 PM
    • Kirkland, WA
    • Posts 54
    I'm afraid I didn't.  I got as far as an unencrypted, username token authentication WSE web service, but I still haven't gotten a PHP client to be able to pass the credentials in as required.

    You'd think this would be a more popular issue.
    Andrew L Arnott
    Visual Studio Platform & Ecosystem
  • Re: How to use a PHP client to a WSE .NET web service?

    10-06-2006, 7:19 AM

    Hello guys,

    I can share my knowledge with you if you are still interesting in this topic.

  • Re: How to use a PHP client to a WSE .NET web service?

    10-06-2006, 9:24 AM
    • Member
      276 point Member
    • aarnott
    • Member since 05-13-2003, 4:18 PM
    • Kirkland, WA
    • Posts 54
    Yes, I am still interested. Smile
    Andrew L Arnott
    Visual Studio Platform & Ecosystem
  • Re: How to use a PHP client to a WSE .NET web service?

    10-27-2006, 3:35 PM
    • Member
      5 point Member
    • ajaxboy
    • Member since 10-27-2006, 6:44 PM
    • Posts 1

    I have some experience with this as well.  I've also dealt with using a PHP client to consume a webservice using through a WSDL using a hashed password option.

    Let me know if you still need help.

  • Re: How to use a PHP client to a WSE .NET web service?

    11-11-2006, 12:03 PM
    • Member
      276 point Member
    • aarnott
    • Member since 05-13-2003, 4:18 PM
    • Kirkland, WA
    • Posts 54

    Yes, I'm still interested in learning how to do this.  Where do I start?  I already have my ASP.NET web service.  In fact now that .NET 3.0 is released I might switch it to an WCF Service, but that may not even matter, as I'm told the two are pretty compatible. 

    Thanks for your offer to help.  I look forward to your response.

    Andrew L Arnott
    Visual Studio Platform & Ecosystem
  • Re: How to use a PHP client to a WSE .NET web service?

    11-27-2006, 9:31 AM
    • Member
      17 point Member
    • Bouha
    • Member since 11-09-2006, 8:18 PM
    • Posts 4

    hi!

    me too i'm interested in that subject. Indeed there's no article describing how a java,php, coldfusion or any... can interact with WSE 3.0 .net web services. For that, i even hesitate to work with it, cause i'm not sure if it is really interoperanble or simply intended for .net clients cause i also found a WSE 3.0 runtime... !? i'm really confused...

    help would be really appreciated thx in advance. 

  • Re: How to use a PHP client to a WSE .NET web service?

    12-05-2006, 4:38 AM
    • Member
      22 point Member
    • ltransler
    • Member since 10-13-2006, 3:13 PM
    • Posts 5

    Hi!

    If someone has got more information, I'm interested too.

  • Re: How to use a PHP client to a WSE .NET web service?

    01-09-2007, 2:41 PM
    • Member
      2 point Member
    • danielliu888
    • Member since 01-09-2007, 7:38 PM
    • Posts 4

    Anyone can share your knowledge? We have a WSE 3.0 asp.net web services, our ColdFusion client needs to consume it.

    thanks

     

     

  • Re: How to use a PHP client to a WSE .NET web service?

    07-31-2008, 2:12 PM
    • Member
      4 point Member
    • azade
    • Member since 07-31-2008, 7:32 AM
    • Posts 2

    i create a web service with asp.net and want to use it in php,i save the wsdl as Service.wsdl in c:\wamp\www and then use this code but it doesn't work:

       $client = new SoapClient("Service.wsdl");
     echo "Hello";
     $param=array('name'=>'azade',);
     $result =  $client->__soapCall('HelloWorld',$param);
     print_r($result);

    could u help me? 

     

  • Re: How to use a PHP client to consume Base64Binary datatype

    04-15-2009, 10:41 PM
    • Member
      2 point Member
    • Murugesan7
    • Member since 04-15-2009, 10:34 PM
    • Posts 1

    I am trying to create PHP client which consume the ASP.NET webservice.I have one web method that will returns the array of bytes as value.

    My wsdl mapping this data type as Base64Binary value only.But I could not see the Binary string or something blah..blah string to decode them and utilise them in PHP.

     

    I am naive to PHP.What should I do now to get encoded binary string in order to use in my PHP client ?

     <?php
    require_once('lib/nusoap.php');
    $client = new soapclient('http://localhost/website1/Service.asmx?WSDL','wsdl');
    echo $client->call('GenerateReport');
    ?>

     This will shows only the word  Array.

     

     

    Be a programmer by coding.,not in talking!
Page 1 of 1 (12 items)