Page 1 of 1

Call asmx Web service in PHP using nusoap

Posted: Tue Aug 12, 2008 10:15 pm
by rsingh
I am facing a problem to call a web service (asmx - dotnet) in using nusoap library in PHP.

Could you please help me to sort out this? When I call this in dot net(C#) it is called successfully. I think the problem is in webservice structure but not confirm.

Below is information about WSDL

http://merchantapi.rega-staging.polipay ... erchantAPI Service.asmx?WSDL

Method of webservice: InitiateTransaction

When you would see the WSDL structure you would find that the method would take two parameters one is authentication code and other one is a complextype. This complex type would take a list of parameters and this is my confusion point.

I have attached the code which I used to call webservice.

MerchantCode and Authanticationcode are dummy in this.

I have spent a lot of time on this but no luck. Please help me!!!

Thanks in advance

Re: Call asmx Web service in PHP using nusoap

Posted: Tue Nov 25, 2008 3:36 pm
by wild_PHP
Read the article at the

http://heidisoft.com/blog/using-nusoap- ... ice-10-min

This will be more help full to you. :)

Thanks