We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am trying to run sample project provided by you . When I am trying to run this, i am getting error SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://currencyconverter.kowabunga.net/converter.asmx?WSDL' : failed to load external entity "http://currencyconverter.kowabunga.net/converter.asmx?WSDL
I have used following code :
$this->soapWrapper->add('Currency', function ($service) { $service ->wsdl('http://currencyconverter.kowabunga.net/converter.asmx?WSDL') // The WSDL url ->trace(true) // Optional: (parameter: true/false) ->classmap([ GetConversionAmount::class, GetConversionAmountResponse::class, ]) ; }); // With classmap $response = $this->soapWrapper->call('Currency.GetConversionAmount', [ new GetConversionAmount('USD', 'EUR', '2014-06-05', '1000') ]);
The text was updated successfully, but these errors were encountered:
@thakurankesh I had the same issue and found a working soloution for me in this SO post.
Explicitly setting a user agent in options did the trick for me:
$this->soapWrapper->add('Currency', function ($service) { $service ->wsdl('http://currencyconverter.kowabunga.net/converter.asmx?WSDL') // The WSDL url ->trace(true) // Optional: (parameter: true/false) ->options([ 'user_agent' => 'PHPSoapClient', // Add this as options ]) ->classmap([ GetConversionAmount::class, GetConversionAmountResponse::class, ]) ; });
Sorry, something went wrong.
the wsdl's url in this package's document is WRONG!!!!! Don't use it!
What is the right /corrette wsdl
Answer in #182
No branches or pull requests
I am trying to run sample project provided by you . When I am trying to run this, i am getting error SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://currencyconverter.kowabunga.net/converter.asmx?WSDL' : failed to load external entity "http://currencyconverter.kowabunga.net/converter.asmx?WSDL
I have used following code :
The text was updated successfully, but these errors were encountered: