function wse-php WSDL fix not working PHP

In Progress Posted 3 years ago Paid on delivery
In Progress Paid on delivery

Im trying to sign a SOAP envelope from a WSDL using WSSESoap PHP plugin. I cant make it work as it throws a 'Hash values do not match' issue. The WSDL is:

[login to view URL]

Im calling from

$sc = new MySoap($wsdl);

$out = $sc->Execute(array("Rut"=>"123456789"));

And getting the 'Hash values do not match' error.

I did a research and seems the problem is when canonizing the Body from the envelop as there is using Inclusivenamespace and prefixes list. I get this working request from SOAPUI.

Here is te reference tag pointing to the Body object.

<ds:Reference URI="#id-99A5113916FE1B896D152461497086267">

<ds:Transforms>

<ds:Transform Algorithm="[login to view URL]">

<ec:InclusiveNamespaces xmlns:ec="[login to view URL]" PrefixList="dgi"/>

</ds:Transform>

</ds:Transforms>

<ds:DigestMethod Algorithm="[login to view URL]"/>

<ds:DigestValue>iWbErI+zKd+Go3r88YKrh+nZmmE=</ds:DigestValue>

</ds:Reference>

I also tried to Canonize the SOAP BODY with C14N, but didnt work.

PHP XML Software Architecture MySQL Java

Project ID: #26171897

About the project

3 proposals Remote project Active 3 years ago

Awarded to:

raghuch2415

Dear Employer, I came across your job post of need fix error. You can check my Previous work: [login to view URL] [login to view URL] [login to view URL] [login to view URL] Seen your More

$35 USD in 2 days
(6 Reviews)
4.2
burzhuy

Hey. I am a professional web developer. Great experience, many examples and good reviews. I will fulfill your task accurately, efficiently and quickly!

$35 USD in 1 day
(4 Reviews)
3.1

3 freelancers are bidding on average $28 for this job

amtech1410

Hello I can fix your problem quick ,I can start work now,As 4+ year experience in PHP , Laravel, CodeIgnitor, JQuery, JavaScript, React etc. Thanks.

$15 USD in 1 day
(1 Review)
0.8