mcbootus
14 years agoContributor
Soap Request Element Disappears
Dear Support,
I have a strange problem - I have a web service request (below) which works fine - I save it and close the request. When I re-open the request one of the elements in the request is missing - and hence fails validation. I have repeated the issue 3 times. The line that always disappears is:
<urn:SenderParty/>
Thanks in advance,
Armen
WORKING REQUEST
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ec="ec:services:wsdl:DocumentBundle-0.1" xmlns:urn="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:urn1="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
<soapenv:Header>
<ec:AuthorisationHeader>
<urn:SenderParty>
<urn1:EndpointID>${PARTY_SENDER}</urn1:EndpointID>
</urn:SenderParty>
<urn:ReceiverParty>
<urn1:EndpointID>${PARTY_RECIEVER}</urn1:EndpointID>
</urn:ReceiverParty>
</ec:AuthorisationHeader>
</soapenv:Header>
<soapenv:Body>
<ec:SubmitDocumentBundleRequest>
<ec:DocumentBundle>
<urn1:ID>${BUNDLE_ID}</urn1:ID>
<urn1:IssueDate>2011-03-25</urn1:IssueDate>
<urn:SenderParty/>
<urn:ReceiverParty/>
<urn:DocumentReference>
<urn1:ID>${DOCUMENT_ID}</urn1:ID>
<urn1:DocumentType>BINARY</urn1:DocumentType>
</urn:DocumentReference>
</ec:DocumentBundle>
</ec:SubmitDocumentBundleRequest>
</soapenv:Body>
</soapenv:Envelope>
AFTER SAVE AND REOPEN THE LINE IS MISSING
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ec="ec:services:wsdl:DocumentBundle-0.1" xmlns:urn="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:urn1="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
<soapenv:Header>
<ec:AuthorisationHeader>
<urn:SenderParty>
<urn1:EndpointID>${PARTY_SENDER}</urn1:EndpointID>
</urn:SenderParty>
<urn:ReceiverParty>
<urn1:EndpointID>${PARTY_RECIEVER}</urn1:EndpointID>
</urn:ReceiverParty>
</ec:AuthorisationHeader>
</soapenv:Header>
<soapenv:Body>
<ec:SubmitDocumentBundleRequest>
<ec:DocumentBundle>
<urn1:ID>${BUNDLE_ID}</urn1:ID>
<urn1:IssueDate>2011-03-25</urn1:IssueDate>
MISSING
<urn:ReceiverParty/>
<urn:DocumentReference>
<urn1:ID>${DOCUMENT_ID}</urn1:ID>
<urn1:DocumentType>BINARY</urn1:DocumentType>
</urn:DocumentReference>
</ec:DocumentBundle>
</ec:SubmitDocumentBundleRequest>
</soapenv:Body>
</soapenv:Envelope>
I have a strange problem - I have a web service request (below) which works fine - I save it and close the request. When I re-open the request one of the elements in the request is missing - and hence fails validation. I have repeated the issue 3 times. The line that always disappears is:
<urn:SenderParty/>
Thanks in advance,
Armen
WORKING REQUEST
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ec="ec:services:wsdl:DocumentBundle-0.1" xmlns:urn="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:urn1="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
<soapenv:Header>
<ec:AuthorisationHeader>
<urn:SenderParty>
<urn1:EndpointID>${PARTY_SENDER}</urn1:EndpointID>
</urn:SenderParty>
<urn:ReceiverParty>
<urn1:EndpointID>${PARTY_RECIEVER}</urn1:EndpointID>
</urn:ReceiverParty>
</ec:AuthorisationHeader>
</soapenv:Header>
<soapenv:Body>
<ec:SubmitDocumentBundleRequest>
<ec:DocumentBundle>
<urn1:ID>${BUNDLE_ID}</urn1:ID>
<urn1:IssueDate>2011-03-25</urn1:IssueDate>
<urn:SenderParty/>
<urn:ReceiverParty/>
<urn:DocumentReference>
<urn1:ID>${DOCUMENT_ID}</urn1:ID>
<urn1:DocumentType>BINARY</urn1:DocumentType>
</urn:DocumentReference>
</ec:DocumentBundle>
</ec:SubmitDocumentBundleRequest>
</soapenv:Body>
</soapenv:Envelope>
AFTER SAVE AND REOPEN THE LINE IS MISSING
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ec="ec:services:wsdl:DocumentBundle-0.1" xmlns:urn="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:urn1="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
<soapenv:Header>
<ec:AuthorisationHeader>
<urn:SenderParty>
<urn1:EndpointID>${PARTY_SENDER}</urn1:EndpointID>
</urn:SenderParty>
<urn:ReceiverParty>
<urn1:EndpointID>${PARTY_RECIEVER}</urn1:EndpointID>
</urn:ReceiverParty>
</ec:AuthorisationHeader>
</soapenv:Header>
<soapenv:Body>
<ec:SubmitDocumentBundleRequest>
<ec:DocumentBundle>
<urn1:ID>${BUNDLE_ID}</urn1:ID>
<urn1:IssueDate>2011-03-25</urn1:IssueDate>
MISSING
<urn:ReceiverParty/>
<urn:DocumentReference>
<urn1:ID>${DOCUMENT_ID}</urn1:ID>
<urn1:DocumentType>BINARY</urn1:DocumentType>
</urn:DocumentReference>
</ec:DocumentBundle>
</ec:SubmitDocumentBundleRequest>
</soapenv:Body>
</soapenv:Envelope>