Closed rockwithab closed 3 years ago
After some additional debugging, it turns out the request I was sending was missing the xsi:type attribute.
After looking at another issue resolution in this repo https://github.com/lula/ngx-soap/issues/64
I modified the body to the following and it worked:
var body = {
query: {
Filter: {
attributes: {
"xsi:type": "MyQueryByActiveFilter"
}
}
}
};
Hello @lula, loving ngx-soap so far!
One snag that I've hit so far is being unable to send a request that includes types based on an abstract type.
Relevant wsdl snippet:
When I try to make a request to this DoQuery endpoint with the following code:
I end up with the following error:
The specified type is abstract: name='MyQueryFilter'
Non abstract types seem to work just fine. I'm not sure if I'm missing special headers or just doing something plain wrong. We have a requirement to change the backend API as little as possible, so any help or tips for using abstract types would be greatly appreciated.
Brock