Closed Enkrod closed 4 years ago
Is it possible to have the WSDL? You can contact me at contact@mikael-delsol.fr if necessary.
Happy new year!
I've mailed you the WSDL-file as well as the XML-response that fails to parse.
Happy New Year too!
I think there is no way to have a the XML data mapped to PHP object as the CalcZusatzversicherungResult
is defined by the class:
class CalcZusatzversicherungResult extends AbstractStructBase
{
/**
* The schema
* Meta information extracted from the WSDL
* - ref: s:schema
* @var \DOMDocument
*/
public $schema;
/**
* The any
* @var \DOMDocument
*/
public $any;
}
Based on the XML schema:
<s:element minOccurs="0" maxOccurs="1" name="calcZusatzversicherungResult">
<s:complexType>
<s:sequence>
<s:element ref="s:schema" />
<s:any />
</s:sequence>
</s:complexType>
</s:element>
So it can be whatever the WS provider wants! Good luck!
Ah damn. But thank you for your time and help.
So, apparently the Microsoft .NET SOAP-Server utilizes diffram-tags in their answers, which are not addressed in the WSDL or in schemes.
Consequently, at the point my result-object should contain an object of the class KVErgebnis it instead contains XML looking like this:
If I understand this correctly, the schema should inform the new objects being build, but it does not contain the diffgram and as a result the XML of the diffgram-tag does not get turned into php-objects?
I don't have the slightest Idea how to work around that and if I remove the diffgram by hand, how to reevaluate the xml into an object.
Could you please advise? Thank you very much!