Search found 6 matches

by benward
Tue Mar 30, 2010 4:50 am
Forum: PHP - Code
Topic: need to take SOAP headers out of a simplexml object
Replies: 5
Views: 3118

Re: need to take SOAP headers out of a simplexml object

Magic! It works :) Thanks!

Can you please explain why it works? Don't fully understand..

I'm guessing it looks for SOAP-ENV: values for the name of the element but I dont understand the ->children("")-> part?

Thanks
by benward
Tue Mar 30, 2010 3:21 am
Forum: PHP - Code
Topic: need to take SOAP headers out of a simplexml object
Replies: 5
Views: 3118

Re: need to take SOAP headers out of a simplexml object

Request XML is: <?xml version="1.0" encoding="UTF-8" ?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xml...
by benward
Tue Mar 30, 2010 3:16 am
Forum: PHP - Code
Topic: Creating an XML client - what extensions to use?
Replies: 7
Views: 426

Re: Creating an XML client - what extensions to use?

I've done it now with Curl, just having a few problems processing the response.

Just being very new to PHP, I didn't know what I should be using and just went on what my training manual said.

I'm sending the XML in the CURL post array and it seems to be working a treat :)

Thanks
Ben
by benward
Mon Mar 29, 2010 11:31 am
Forum: PHP - Code
Topic: need to take SOAP headers out of a simplexml object
Replies: 5
Views: 3118

need to take SOAP headers out of a simplexml object

Hi Guys, I have been arguing with my computer all day. It just doesn't want to do as it's told! essentially I have been able to build an xml file in the format that I want using simplexml and stick it in a soap header, send it to a server in a post array and get a response. This is a huge victory fo...
by benward
Mon Mar 29, 2010 5:46 am
Forum: PHP - Code
Topic: Creating an XML client - what extensions to use?
Replies: 7
Views: 426

Re: Creating an XML client - what extensions to use?

Thanks Guys. This is why I posted, I didn't have any particular reason for choosing soapClient other than the fact that one of our test services needed a soap header so I was mucking around with that, plus the training manual I have uses PEAR SOAP for all of it's xml examples... I want to make sure ...
by benward
Wed Mar 24, 2010 12:28 pm
Forum: PHP - Code
Topic: Creating an XML client - what extensions to use?
Replies: 7
Views: 426

Creating an XML client - what extensions to use?

Hello, I have been tasked with creating a new web application for internal use at my office. This application has to pull data in from an external website. In order to achieve this we have asked the owners of the external website to produce an xml web service to run over https, which they will write...