Page 1 of 1

How to use web service on processmaker

Posted: Mon Apr 14, 2014 12:03 am
by denity
Hi everyone,

I'm new to processmaker, and I want to use the web service interface to integrate processmaker and my own system, such as OA. But when I try "Web services test" in "Settings" menu, I always got this error:

SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://localhost:9092/sysworkflow/en/cl ... ices/wsdl2' : Start tag expected, '<' not found

Is there someone can help me out of this?

thanks a lot.

Re: How to use web service on processmaker

Posted: Mon Apr 14, 2014 9:13 am
by liliana
Hi denity,

Do you have to SOAP module install correctly? Also, are you using Linux or Windows?

Regards,

Re: How to use web service on processmaker

Posted: Mon Apr 14, 2014 9:09 pm
by denity
Hi liliana,

Thank you very much. I think this might be a bug with "php-5.4.9-vc10-x64" on my localhost. I searched this forum about this problem and tried several times but fail.

I tried setting up parameters in "Web Services Test"->"setup", and tried changing the "pmos2.wsdl", and tried different browsers, and tried setting a domain in windows hosts files which point to 127.0.0.1, also, I checked php.ini and firewall rules. These all didn't work for me.

I can view the xml file with browser, the url is "http://web.com:9092/sysworkflow/en/clas ... ices/wsdl2". But in php script,

$soap=new SoapClient('http://web.com:9092/sysworkflow/en/clas ... ices/wsdl2', array('cache_wsdl' => 0));

always get the "Start tag expected, '<' not found" error. And I tried some other web services url such as "http://www.webxml.com.cn/WebServices/We ... .asmx?wsdl", it's ok. It worked fine.

Finally, I exported a xml file form "http://web.com:9092/sysworkflow/en/clas ... ices/wsdl2" and used the xml file directly, It worked.

So, I had no idea about this problem. May be there was some conflictions between SoapClient and the web service in processmaker. Please tell me what to do now.

Thanks,

Re: How to use web service on processmaker

Posted: Tue Apr 15, 2014 3:57 pm
by liliana
hi denity,

the problem is we do not support php 5.4 or later versions, that's why you found that problem. Test if everything is working for you now, if not I suggest you to downgrade your PHP version to a 5.3 which we officially support.

Let me know how this is going for you.

Regards.

Re: How to use web service on processmaker

Posted: Tue Apr 15, 2014 8:55 pm
by denity
Thank you Liliana,

I went through most basic functions of processmaker open source version, I found most of them working well except "curls" function. Such as soap, web entry and so on.

Thanks.

Re: How to use web service on processmaker

Posted: Wed Apr 16, 2014 10:03 am
by liliana
So it might be your PHP version, as I suggested if you can downgrade your php version to 5.3 will be great, always backing up your ProcessMaker instance, another solution is to install another ProcessMaker instance using PHP version and run some tests there.

Regards,

Re: How to use web service on processmaker

Posted: Fri Apr 18, 2014 1:34 am
by denity
OK Liliana, Thank you.

Re: How to use web service on processmaker

Posted: Sun Aug 08, 2021 5:16 am
by Nikakhtar
hello, i will thank u if tell me the way u solved the problem...im stuck in the same problem.

Re: How to use web service on processmaker

Posted: Sun Aug 08, 2021 6:16 am
by Nikakhtar
and my problem is solved now,
Code: Select all
$client = new SoapClient('http://192.168.1.15:81/AccountingService.asmx?WSDL');
my string was mising the "?WSDL" ...

Re: How to use web service on processmaker

Posted: Thu Jun 23, 2022 12:34 pm
by hoadao3493
Thien Ha Bet (thabet) is considered as the house that owns the largest and most diverse online game store. There are all forms of sports betting, attractive card games, etc. with high winning rates. Including prizes up to 5 billion VND. Please visit https://thabet99.com/ to join