![]() |
XML SOAP experts, i need a heads up
I have a piece of xml, like this:
Code:
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:uniface:applic:services:DELAPRBWS"> Code:
Its not working at all. I keep getting blank results. Is there a function to check if we are getting through at all? I keep getting this result, no matter what: Code:
Array |
And yes, i do call the client first
Code:
$client = new SoapClient('http://domain.com/DELAPRBWS?wsdl'); |
The best heads up I can give you is :
"Don't use SOAP unless you are washing your ass". But until then, use this class I wrote : PHP Code:
PHP Code:
That's all the time I can spend on this though. |
Thanks, i will have a look.
Its annoying as hell, should have had this done yesterday. |
Issue is though, i think i need to get this format:
Code:
$params = array('stuff'=>$stuff,'morestuff'=>$morestuff); Code:
<PL69_IN xsi:type="xsd:string"><![CDATA[<?xml version="1.0" ?> |
$params = array('BERICHTTYPE'=>'PL69','INITIATOR_ID'=>'ATP', 'RESPONDENT_ID'=>'DELA'.......);
|
Quote:
|
Quote:
I posted that. $params = array('stuff'=>$stuff,'morestuff'=>$morestuff); |
Quote:
I appreciate the help though, don't get me wrong!! |
Quote:
Fuck you idiot! :1orglaugh |
Quote:
I have two projects here that needed fixing yesterday. Always great when shit hits the fan on more than one project at the same time. It makes my vision blurry:-p |
Quote:
Give up programming now... its not for you. |
Quote:
Luckily i am not a 'real programmer'. I'm just very very resourcefull at times....:pimp |
20 bucks for who helps me fix this little crap, it needs to be done today.
dykwia at gmail dottercom or 125586484 |
That raw SOAP envelope doesn't help much.. Better post the full WSDL URL and most of your code, that'll probably contain the key the solve this.
SOAP & PHP generally doen't play well together.. Maandag kan ik je helpen, maar 20 USD is wel een beetje weinig ;) |
Quote:
Quote:
Voor de kenner die mijn script ziet, vast binnen half uurtje voltooid. Ik ken alleen SOAP mbt het halen van gegevens, niet voor het posten én halen;-) |
Glad to find out i am not a COMPLETE idiot. My input file/format is just wrong, i tested with some default xml data and that gave some valid output, whereas the SOAP envelope doesn't do me any good. Seems i need to read up on that first:-(
|
xml is dead, everyone should use json
|
i cant afford soap... :(
But I guess most of you knew that already... |
Quote:
|
Quote:
use csv for regular data exchange |
All times are GMT -7. The time now is 02:52 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123