Jump to content

SOAP - Not as straightforward as I thought


illustrationism

Recommended Posts

Well, I've got the tough part out of the way, which was securely connecting 2 servers using a certificate and a specific, non-standard port, through firewalls and such... Now I need to connect and send the correct parameters via my SOAP app to the client's server.

 

Looking at some SOAP examples, I though: Oh, this stuff is easy, pretty straightforward. That is, until I received, from our client, what I'm supposed to be passing them on connection. So this (below) is a sample request for their specific schema, and I have no idea how to send this...

 

Format: http://www.drivingcreative.com/soap_example.xml

 

My connection code looks like this (so far) and needs to be passing the parameters above to fully work. There's also HTTP Authentication, which is why there's a login and password.

 

$params = array(
		'login' => 'cluser',
		'password' => 'clpass'
		);
$c = new soapclient('https://client.website.org:123/services/ActivityReport', $params);

 

 

So I need to know how to format that XML and send it using this soap connection. Anyone able to give some advice? I'd really appreciate it.

 

Thanks,

David

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.