Skip to content

FAULTDETAIL  #50

@victorgp89

Description

@victorgp89

Hi,

I wanted to see a problem I have about the Fault class.
When a web service returns an object inside the FaultDetail like this:

image

I have seen that a FaultHandler had been created.

What it does is insert the node as a string when it deserializes it:

[detail:Igm\Synergy\SoapClient\Envelope\SoapEnvelope12\Parts\Fault:private] => <ns3:LinkHotelException xmlns:ns3="http://ws.link.test.hotelresb2b.com/exception"><ns3:errorCode>0221</ns3:errorCode><ns3:language>2</ns3:language><ns3:message>The room with this affiliation does not exist in the system.[asdsadsad]</ns3:message></ns3:LinkHotelException>

Is it possible to emulate the behavior of HeaderPlaceHolder to be able to insert any type of object always inside?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions