php web service to send xml file from client to server

php web service to send xml file from client to server

Page 1 of 1

6 Replies - 8538 Views - Last Post: 31 March 2009 - 03:54 AM Rate Topic: -----

#1 abhayshah  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 26-March 09

php web service to send xml file from client to server

Posted 30 March 2009 - 07:41 AM

I am new to PHP and want to create php web service which sends an xml file from client to server and store data in a database.


Thanks in advance.

Regards. :^:
Is This A Good Question/Topic? 0
  • +

Replies To: php web service to send xml file from client to server

#2 dogtag  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 28-January 08

Re: php web service to send xml file from client to server

Posted 30 March 2009 - 08:14 AM

You can use nusoap.
(Google it)
Was This Post Helpful? 0
  • +
  • -

#3 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6062
  • View blog
  • Posts: 23,514
  • Joined: 23-August 08

Re: php web service to send xml file from client to server

Posted 30 March 2009 - 06:26 PM

Or the built-in PHP SOAP extension, or XML-RPC, or just a simple REST service. There are some more Google terms for you.
Was This Post Helpful? 0
  • +
  • -

#4 abhayshah  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 26-March 09

Re: php web service to send xml file from client to server

Posted 30 March 2009 - 11:01 PM

View Postdogtag, on 30 Mar, 2009 - 07:14 AM, said:

You can use nusoap.
(Google it)

well, using nusoap i've send message(String) but facing problem in sending xml data.
Can i direclty upload xml file to server using web service?

This post has been edited by abhayshah: 31 March 2009 - 12:37 AM

Was This Post Helpful? 0
  • +
  • -

#5 dogtag  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 28-January 08

Re: php web service to send xml file from client to server

Posted 31 March 2009 - 01:51 AM

I think, Yes.

but (I think) you need to connect to server by Socket.
Was This Post Helpful? 0
  • +
  • -

#6 abhayshah  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 26-March 09

Re: php web service to send xml file from client to server

Posted 31 March 2009 - 02:43 AM

View Postdogtag, on 31 Mar, 2009 - 12:51 AM, said:

I think, Yes.

but (I think) you need to connect to server by Socket.


Do you aware with any example link???
Was This Post Helpful? 0
  • +
  • -

#7 dogtag  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 28-January 08

Re: php web service to send xml file from client to server

Posted 31 March 2009 - 03:54 AM

No!

But this is simple.
Is there any problem?

Create a socket (Google it!) and then send the XML file.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1