Really i need it? it made me crazy

Really i need help coz i am trying to solve this problem from 4 weeks and i can not so please help me

I want to use a web service ( created in ASP.NEt ) in my web site using php coz i will use the result in other php pages.
the web service link is: http://196.218.16.133/onlinereservation/service.asmx?WSDL

function name: xmlReservationData under CreateReservationFile

Is there a tool for PHP or any other way to pass string for xmlReservationData and get an XML file containing the result?

Note: the string is ’

<?xml version="1.0" encoding="UTF-8" standalone="no"?><NewDataSet><ReservationFile><UserName>admin</UserName><UserPassword>admin</UserPassword><ClientName>MRCLient</ClientName><DateFrom>5/22/2010</DateFrom><DateTo>5/23/2010</DateTo><FileLocator>8559</FileLocator></ReservationFile><Hotel><HotelID>873</HotelID><CheckInDate>5/22/2010</CheckInDate><CheckOutDate>5/23/2010</CheckOutDate><HotelRooms><Room><RoomSerial>1</RoomSerial><RoomTypeID>102</RoomTypeID><Names><Name><NameSerial>1</NameSerial><FirstName>Tamer</FirstName><LastName>Mourad</LastName><TitleID>1</TitleID><Age></Age></Name><Name><NameSerial>2</NameSerial><FirstName>Maria</FirstName><LastName>Noshy</LastName><TitleID>1</TitleID><Age></Age></Name></Names></Room><Room><RoomSerial>2</RoomSerial><RoomTypeID>101</RoomTypeID><Names><Name><NameSerial>1</NameSerial><FirstName>Tamer</FirstName><LastName>Mourad</LastName><TitleID>1</TitleID><Age></Age></Name></Names></Room></HotelRooms></Hotel></NewDataSet>

Have you considered employing someone to do the job instead?

For the sake of clarification, I have no interest in doing the job. I’m just throwing the idea out there for consideration.

also notice that i dont know the web service nusoap , only soap is used as u see in the link in the original foorum

i downloaded the source code but how ti fix my problem? i did not find a result on this website… can u help me more?

Have you looked at NuSOAP?

i looked many times on this link and i can not solve this task… any ideas?

I have trouble writing WSDL files, but the beauty of Web Services is that the server and client don’t need to be the same language (i.e. ASP.NET vs. PHP)

Have you seen my reply in your other thread where I used simplexml? http://www.sitepoint.com/forums/showthread.php?t=679304

You should really be using a SOAP Client for that endpoint, check out PHP’s native SOAP Client.

:slight_smile:

(Y)

Implementing SOAP and web services is not quick and easier task to troubleshoot and trace. Also it depends on the service how the web service provider has provided with you. So there might be some problems with the web service provider as well.