When I called a remote soap function with with the suds library, I get an error message that parts of the soap response message can't be resolved. However looking at the returned soap messages it seems to be perfectly legal xml. Here is the response I received from the function along with the error message:
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns=" http://hurt.noocorp.com/WsObjects" xmlns:types=" http://hurt.noocorp.com/WsObjects/encodedTypes" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=" http://www.w3.org/2001/XMLSchema%22%3E
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/%22%3E tns:LoginResponse <LoginResult href="#id1" /> </tns:LoginResponse> <types:HurtUser id="id1" xsi:type="types:HurtUser"> <user_id xsi:type="xsd:string">isrstent</user_id> <full_name xsi:type="xsd:string">ISR Stent</full_name> <role xsi:type="xsd:string">wf</role> <priority xsi:type="xsd:int">10</priority> <tablet xsi:type="xsd:string">isrstent</tablet> <session_id xsi:type="xsd:string">xompht5510flicnqsbbxn3ja</session_id> </types:HurtUser> </soap:Body> </soap:Envelope>
ERROR:suds.bindings.multiref:multiRef: #id1, not-resolved WARNING:suds.bindings.unmarshaller:attribute (href) type, not-found
Any one have any idea why I am getting this error?
David,
I found the problem here.
The suds multiref resolver was restricting the /referenced/ elements to those named "multiRef" which after reading the specification is incorrect. I've fixed this but need to do some testing before commit.
Can you send me the wsdl for this?
Regards,
Jeff
David Bunch wrote:
When I called a remote soap function with with the suds library, I get an error message that parts of the soap response message can't be resolved. However looking at the returned soap messages it seems to be perfectly legal xml. Here is the response I received from the function along with the error message:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://hurt.noocorp.com/WsObjects" xmlns:types="http://hurt.noocorp.com/WsObjects/encodedTypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema%22%3E
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/%22%3E tns:LoginResponse <LoginResult href="#id1" /> </tns:LoginResponse> <types:HurtUser id="id1" xsi:type="types:HurtUser"> <user_id xsi:type="xsd:string">isrstent</user_id> <full_name xsi:type="xsd:string">ISR Stent</full_name> <role xsi:type="xsd:string">wf</role> <priority xsi:type="xsd:int">10</priority> <tablet xsi:type="xsd:string">isrstent</tablet> <session_id xsi:type="xsd:string">xompht5510flicnqsbbxn3ja</session_id> </types:HurtUser> </soap:Body> </soap:Envelope>
ERROR:suds.bindings.multiref:multiRef: #id1, not-resolved WARNING:suds.bindings.unmarshaller:attribute (href) type, not-found
Any one have any idea why I am getting this error?
fedora-suds-list mailing list fedora-suds-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-suds-list
David,
I committed the fix for this in r470. It works with my axis server which is set to emit multirefs. Your message looks correct but I can't verify without your wsdl/schema. So, please let me know if this works for you.
-jeff
Jeff Ortel wrote:
David,
I found the problem here.
The suds multiref resolver was restricting the /referenced/ elements to those named "multiRef" which after reading the specification is incorrect. I've fixed this but need to do some testing before commit.
Can you send me the wsdl for this?
Regards,
Jeff
David Bunch wrote:
When I called a remote soap function with with the suds library, I get an error message that parts of the soap response message can't be resolved. However looking at the returned soap messages it seems to be perfectly legal xml. Here is the response I received from the function along with the error message:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://hurt.noocorp.com/WsObjects" xmlns:types="http://hurt.noocorp.com/WsObjects/encodedTypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema%22%3E
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/%22%3E tns:LoginResponse <LoginResult href="#id1" /> </tns:LoginResponse> <types:HurtUser id="id1" xsi:type="types:HurtUser"> <user_id xsi:type="xsd:string">isrstent</user_id> <full_name xsi:type="xsd:string">ISR Stent</full_name> <role xsi:type="xsd:string">wf</role> <priority xsi:type="xsd:int">10</priority> <tablet xsi:type="xsd:string">isrstent</tablet> <session_id xsi:type="xsd:string">xompht5510flicnqsbbxn3ja</session_id> </types:HurtUser> </soap:Body> </soap:Envelope>
ERROR:suds.bindings.multiref:multiRef: #id1, not-resolved WARNING:suds.bindings.unmarshaller:attribute (href) type, not-found
Any one have any idea why I am getting this error?
fedora-suds-list mailing list fedora-suds-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-suds-list
fedora-suds-list mailing list fedora-suds-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-suds-list