If a datatype is an extension of another datatype, the wsclient only imports the elements of the derived datatype but not the elements of the parent datatype. Then the derived datatype must be manually updated by adding the elements of the parent datatype.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | jobrequest.png | 47.21 KB | blainelang |
Comments
Comment #1
blainelang commented@tuccio, I am looking at using this module as well and have hit the same issue. When the WSDL was imported in by wsclient, only the derived (extension) parms where defined and not the parent. Can you describe how you worked around this if you did.
Below is an extract from the WSDL and I've attached the image of the wsclient definition created.
Comment #2
tuccio commentedI had to add manually the fields of the parent type. I found the parent type by looking at the
attribute and looking up the definition of the XXX type. This issue is surely to cause problems and should at least documented. What really helped me was to use dpm() from th Devel module and print out the returned object in each case.