2 Replies - 185 Views - Last Post: 18 December 2017 - 08:59 AM Rate Topic: -----

#1 Ftmjaf  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 18-December 17

Call and set cookiecontainer in php when call .bet web service

Posted 18 December 2017 - 08:44 AM

I called this web service from .net. this is my code:
    CertClientWS ec
            {
                get
                {
                    if (Session["CertClientWS_WS_Localhost"] == null)
                    {
                        CertClientWS _ec = new CertClientWS();
                        _ec.CookieContainer = new CookieContainer();
    
                
                        Session["CertClientWS_WS_Localhost"] = _ec;
                        _ec.Timeout = 400000;
                  }
                    return (CertClientWS)Session["CertClientWS_WS_Localhost"];
    
                }
                set
                {
                    Session["CertClientWS_WS_Localhost"] = value;
                }
            }
:code:

But Now i want to call this web service from php code. How can i write this code i n php? I can't set cookiecontainer in php

This post has been edited by modi123_1: 18 December 2017 - 08:48 AM
Reason for edit:: In the future, please use the [code] tag button in the editor.


Is This A Good Question/Topic? 0
  • +

Replies To: Call and set cookiecontainer in php when call .bet web service

#2 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 13656
  • View blog
  • Posts: 54,487
  • Joined: 12-June 08

Re: Call and set cookiecontainer in php when call .bet web service

Posted 18 December 2017 - 08:50 AM

There's things like wsdl2php you can use..

https://github.com/j...auskas/wsdl2php

Also seen here.
Was This Post Helpful? 0
  • +
  • -

#3 Ftmjaf  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 18-December 17

Re: Call and set cookiecontainer in php when call .bet web service

Posted 18 December 2017 - 08:59 AM

I wrote this question in this address too. This has not answer
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1