Ditutup

function wse-php WSDL fix not working

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.

Keahlian: PHP, XML, Perancangan Perangkat Lunak, MySQL, Java

Lihat lebih lanjut: png fix working ie6, can find error fix working, function elapsedtime php, png fix working joomla, function updateprice php, flash php file upload working server, php xss fix, mds studio php wsdl, joomla php ini fix, php send mail working web hosting, php google fix url, php wsdl consuming vbnet server, write search function website php, png fix working, delphi php wsdl, php wsdl wse

Tentang Pemberi kerja:
( 0 ulasan ) Montevideo, Uruguay

ID Proyek: #25547803

3 freelancer menawar dengan rata-rata $143 untuk pekerjaan ini

TechnicalKnight

I am experienced in photo/soap requests. I can fix this for you. Send me message over chat so that we can discuss more

$30 USD dalam 2 hari
(82 Ulasan)
5.7
deepthi2889

Hi, I am a Full stack developer in Microsoft technologies.  You can check the reviews in my profile, I have successfully integrated with electronic invoicing systems, which included xml signatures. I can resolve your Lebih banyak

$250 USD dalam 3 hari
(12 Ulasan)
5.2
deerme

Hello, I'm software engineer with more than 14 years of experience on different stacks (java python php linux). About integration I'm expert in SOAP and REST, I developed clients and server in different languages. Est Lebih banyak

$150 USD dalam 2 hari
(5 Ulasan)
3.9