Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Got Empty Std::class Response #175

Open
ksspam opened this issue Nov 6, 2019 · 0 comments
Open

Got Empty Std::class Response #175

ksspam opened this issue Nov 6, 2019 · 0 comments

Comments

@ksspam
Copy link

ksspam commented Nov 6, 2019

I got empty std:class response for this below code

$this->soapWrapper->add('CN_Number', function ($service) {
            $service->wsdl("http://<url>?wsdl")
            ->trace(true)
            ->cache(WSDL_CACHE_NONE)
            ->options([
            'login' => $this->username,
            'password' => $this->password,
            // 'soap_version'=> SOAP_1_2,
            'exceptions'=>true,
            'stream_context' => stream_context_create(
            array(
                'ssl' => array(
                    'verify_peer'       => false,
                    'verify_peer_name'  => false,
                )
            )
        )
        ]);
        });
       $xml="XML_REQUEST";
        $query = new \SoapVar($xml, XSD_ANYXML);
        // dd($query);
       $result=$this->soapWrapper->call('CN_Number.GetCbt_ntc_validat_cn_no_ser',[$query]);
       print_r($result);
       exit;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant