Attributes from extended StructType classes #319
Unanswered
agmattzarb
asked this question in
Q&A
Replies: 1 comment
-
You seem to have the same issue than #315. I always thought it came from the native PHP SoapClient class. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've used the PackageGenerator to generate the classes to connect to a 3rd party SOAP service, but seem to be having issues with the generated XML. Seems to be regarding extended classes. Not sure what I'm doing wrong, or if I should have used some specific options when generating the classes.
What I get in my generated classes is (methods removed for readability):
My code to create and post a new message to the SOAP service is:
When retrieving the last request, this results in:
However, the vendor specs and wsdl say it should look like this:
I can't figure out why the attributes for the PostMessage class show up in the XML but the attributes for the extended class OrderMessage do not.
I also see the erosMessage in the XML has an xsi:type="v1:orderMessage". Is there something I need to do for that to encode?
Beta Was this translation helpful? Give feedback.
All reactions