Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to register types for deserialization. #3

Open
johnwc opened this issue Oct 29, 2019 · 0 comments
Open

Unable to register types for deserialization. #3

johnwc opened this issue Oct 29, 2019 · 0 comments

Comments

@johnwc
Copy link

johnwc commented Oct 29, 2019

I am trying to use your library to deserialize a legacy soap envelope. How would you get the following envelope to deserialize? I am having trouble trying to tell it what the .NET types are for the Body elements. It's throwing a "Parse Error, no assembly associated with XML key..." exception.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <soapenv:Header xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"></soapenv:Header>
  <soapenv:Body>
    <ns1:getUpdate soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://app.company.com">
      <request xsi:type="ns2:Document" xmlns:ns2="http://xml.apache.org/xml-soap">
        <UpdateRequest xmlns="http://www.company.com/es/vr/namespace/v1">
          <MID>9999178</MID>
          <CID>1234</CID>
          <TID>123456789</TID>
          <Code>1234567</Code>
          <Update>true</Update>
          <PVersion>9.00.00</PVersion>
        </UpdateRequest>
      </request>
    </ns1:getUpdate>
  </soapenv:Body>
</soapenv:Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant