Simple type parameters getting set to WSFUnknownSchemaConstruct
I'm trying to use WSService to expose a php function (in wsdl mode) to a .NET web client.
the wsdl & service code are attached.
the request XML coming from the .NET client looks like this:
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><getFormEchelon xmlns="http://www.wso2.org/php"><elementId>123</elementId><physId>4321</physId><message>hello World</message></getFormEchelon></soap:Body></soap:Envelope>
When logging the php function the params for the function getFormEchelon don't get passed in properly and their types are WSFUnknownSchemaConstruct.
This one is really stumping me. The complex type returns perfectly, which is good! I just need to figure out how to accept the simple types.
Any help?
Thanks,
Mike Nelson
| Attachment | Size |
|---|---|
| WSFFormService.wsdl | 2.59 KB |
| wsservices.php_.txt | 1.28 KB |
- Login or register to post comments
- Printer friendly version
- 186 reads











I figured this one out on my own
I don't really know why, but the 'classmap' option in the Service was messing things up. I removed it and it started working.
'classmap'ed service behaves differently
Hi realrunner,
Yea the 'classmap'ed services are behaving differently and not working with the wsdl generation. This is fixed in the wsf/php 1.2.2 which is to be released in the next week.
Thanks
Dimuthu