Questions tagged [wsdl2php]

wsdl2php creates PHP objects from WSDLs

wsdl2php creates PHP objects from WSDLs

13 questions
2
votes
2 answers

SoapServer::SoapServer(): SSL operation failed with code 1

i have exposed a couple of web services through Yii. After upgrading to PHP 5.6.33 from PHP 5.5.x, i face the following error SoapServer::SoapServer(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL…
nikolas
  • 723
  • 2
  • 17
  • 37
2
votes
0 answers

Type Hinting for array in class method generated by WSDL2PHP?

I am working with class code generated from the WSDL into PHP. The piece that is hanging me up is the way the class methods were written so that simple arrays appear to be required to be objects of non-existent classes. In particular this…
jerrygarciuh
  • 21,158
  • 26
  • 82
  • 139
1
vote
2 answers

how to use wsdl2php on xampp for Windows

i just have a little bit basic knowledge on PHP, but I should consume an existing WSDL Webservice using PHP. As I found out to create the required classes I may use wsdl2php but I could not find a step by step tutorial how to use it on Windows…
john84
  • 2,431
  • 4
  • 24
  • 30
1
vote
3 answers

How to use Acumatica Web services to connect with website in PHP

I am trying to connect with Accumatica using web services. I am using the following resource from acumatica…
Jas
  • 13
  • 3
1
vote
0 answers

Missing Namespaceprefixes when using soap-clients classmap function

Hi i'm experiencing some strange bug similar to this very old PHP Bug: https://bugs.php.net/bug.php?id=48966 Only difference: i'm using using the classmap function of php's soap-client. Looks something like this: class Client extends…
1
vote
0 answers

Can I use wsdl2php on a plain XSD document?

I'm trying to generate classes for the OVF xsd. I've found a bunch of incomplete/broken projects. I was thinking that wsdl2php might work, but it looks like it expects a WSDLdocument and not an XSD. Is there a way to make it generate the classes…
Gary Richardson
  • 16,081
  • 10
  • 53
  • 48
0
votes
2 answers

Adding a SOAP header with PHP and wsdl2php

I'm a complete newb to PHP programming but have been tasked with writing an example PHP web services client that consumes my company's web service that is written in Java. We have two types of services. Those that require authentication and those…
Andrew Cooper
  • 723
  • 2
  • 14
  • 28
0
votes
1 answer

ArrayOf_apachesoap_Element datatype for php web service client using wsdl2php

I am writing a web service client in PHP. web service is developed ij java using axis. Client proxy is generated using wsdl2php tool. Proxy code include the following code class ValidateDetails { public $elements; // ArrayOf_apachesoap_Element …
Tausif Baber
  • 500
  • 2
  • 8
  • 23
0
votes
1 answer

Error Fetching http headers in wsdltophp.com

I am using wsdltophp.com to generate php files that access a web service. Everything works fine except when I am using one service that will probably take a while to run. After 60 seconds it gives up and I get this error: Error Fetching http…
Andri
  • 453
  • 4
  • 22
0
votes
2 answers

Read data from array in PHP

I'm accessing a WDSL web service and i just want to print the data in HTML $answer2 = $client->call('GetApplicationFields2', array('aToken' => ($aToken))); print_r($answer2); Output -> Array ( [GetCurrentVacanciesResult] => Array ( …
laughs
  • 31
  • 1
  • 2
  • 9
0
votes
1 answer

LendingClub API OrderSubmitOrders action

I am attempting to interface with the LendingClub API using SOAP. I've generated some classes using wsdl2php. The wsdl file can be found here: https://www.lendingclub.com/ws/1.3?wsdl I've successfully executed 4 of the 5 API methods, but the submit…
0
votes
1 answer

convert wsdl file to a usable library for php

Objective: To consume the WSDL file by a php web service client. Additional info: I have a WSDL (SOAP) file that is being generated by a third-party software. In introduction, I am using a .asp web service client and my method on how to consume the…
ChiSen
  • 353
  • 3
  • 8
  • 19
0
votes
0 answers

PHP Service Function Call Error: Object reference not set to an instance of an object

I'm having an annoying difficulty using a webservice written in .Net. Wsdl can be found: http://services.odeontours.com.tr/OdeonWebService.asmx?wsdl I want to call CategoryList function and its service description can be found here I believe it…
DonkeyKong
  • 808
  • 1
  • 10
  • 24