Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you pass XML between sites? 1

Status
Not open for further replies.

Zych

IS-IT--Management
Apr 3, 2003
313
US
Hello,

I am new to XML and have taken a short web based class in it at W3Schools.com. I am also fairly new to PHP but I have figured out how to grab an XML file from a site, take it apart in PHP and assign the XML to variables.

However I need to work on an implementation where one site will send and XML request, I then need to see if it is valid, then send back a XML saying if it is valid or not. This makes it sound like the XML is being sent to my site rather than my site grabbing it from a known location and name. How is this done and how do I send back a file? I am trying to get more info from the site but it is like pulling teeth. Therefore I am checking to see if I am missing a fundamental step or not.

I hope I explained this well. If not just say so and I will try and explain it better.

Thanks,

Zych
 
Take it in steps. First make sure you can get the XML from the other site. Then go from there.

Chip H.


____________________________________________________________________
Click here to learn Ways to help with Tsunami Relief
If you want to get the best response to a question, please read FAQ222-2244 first
 
Thats the problem. If it was just stored on there site I know how to get it. However it sounds like they are pushing it to my site. Is this possible? I thought they would have to send me a link in the URL or something, I could also make this work but I have never seen a reference of pushing XML up to site.

Thanks,

Zych
 
If they say they need to push it to you, you'll have to write something to receive it -- like a web service, or a HTML form with a jumbo textbox or something.

Chip H.


____________________________________________________________________
Click here to learn Ways to help with Tsunami Relief
If you want to get the best response to a question, please read FAQ222-2244 first
 
Thanks for the replies. I am going to give k5tm a star for this one. The application is for Ariba (actually a subset of Ariba) and in the SOAP it mentions Ariba. Therefore this must be the way they transfer the information.

Thanks to both of you for the help. Now it is time for me to go back to school. LOL

- Zych
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top