Personalize

WSDL mode and XML Attributes

Forums :

How do you pass more complex xml to a WSDL mode proxy client request? I read from the WSDL Mode Manual that in order to pass arguments to a proxy client call you either use the classmap or associative arrays. But it can't seem to wrap my head around setting xml attributes with either method.

I'm working with a web service that expects a pretty complicated payload. I've attached a mock SOAP envelope with sensitive and really nonessential information pruned out for an example of what I'd like to be able to do with WSF/PHP.

Thanks in advance!

AttachmentSize
soap_request.txt648 bytes

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Try the nightly build

Hi JKellendonk,

We are planning to support attributes in next wsf/php release which is planned to do at the end of the month. Currently this feature is already implemented in the latest SVN. So you may try the latest nightly build http://wso2.org/downloads/wsf/php/nightly-build.

We are still to update the documentation on this, You can have an idea about the API from this sample

https://wso2.org/repos/wso2/people/dimuthu/09_schema_php/case10/

 

Thanks

Dimuthu

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.