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

Soap Fault: Server was unable to process request. ---> Object reference not set to an instance of an object. #103

Open
brunolouvem opened this issue Oct 19, 2015 · 0 comments

Comments

@brunolouvem
Copy link

Hello friends, I am having trouble with the following error message when using the bundle:
"Server Was Unable to process request. ---> Object reference not set to an instance of an object."
The WSDL that I am using is: https://ecommerce.userede.com.br/pos_virtual/wskomerci/cap.asmx?WSDL
And the method is: GetAuthorized

I do not understand this error, could help me?

private function getAuthorized($pp){

        $soapClient = $this->get('besimple.soap.client.komerciapi');

        $transaction = $soapClient->GetAuthorized(
            $pp['TOTAL'],
            $pp['TRANSACAO'],
            $pp['PARCELAS'],
            $pp['FILIACAO'],
            $pp['NUMPEDIDO'],
            $pp['NRCARTAO'],
            $pp['CVC2'],
            $pp['MES'],
            $pp['ANO'],
            $pp['PORTADOR'],
            $pp['IATA'],
            $pp['DISTRIBUIDOR'],
            $pp['CONCENTRADOR'],
            $pp['TAXAEMBARQUE'],
            $pp['ENTRADA'],
            $pp['PAX1'],
            $pp['PAX2'],
            $pp['PAX3'],
            $pp['PAX4'],
            $pp['NUMDOC1'],
            $pp['NUMDOC2'],
            $pp['NUMDOC3'],
            $pp['NUMDOC4'],
            $pp['CONFTXN'],
            $pp['ADD_Data'],''
        );

    }
be_simple_soap:
    clients:
        KomerciApi:
            # required
            wsdl: https://ecommerce.userede.com.br/pos_virtual/wskomerci/cap.asmx?WSDL
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