Internal error in ESP SampleRequestXML

Description

ESPSampleRequestXML generates errrors on methods without input. For example. For example, calling ws_account from the browser ( http://xxx.xxx.xx.xxx:8010/ws_account/ ), click XML Requests

This XML file does not appear to have any style information associated with it. The document tree is shown below.
and
<Error>generateSampleXml Exception: Internal error: parse schema failed in ws_account::MyAccount</Error>

Conclusion

None

Activity

Show:

Kanghua Wang May 9, 2017 at 1:07 PM

The error is created inside the CXmlSchema::parseComplexType() due to an empty <xsd:complexType>. Ex.

<xsd:element name="WUCreate">
<xsd:complexType></xsd:complexType>
</xsd:element>

I am not sure how to fix that.

Russ Whitehead April 20, 2017 at 3:39 PM

I did not try this in an older build

Anthony Fishbeck April 20, 2017 at 3:35 PM

Right. Were you able to see the proper sample on prior build? or was it blank. My comment was only meant to say that if it used to be blank then the change in 6.4 is that it now displays the error rather than failing silently. If it used to work then its a true regression. Either way needs to be fixed.

Russ Whitehead April 20, 2017 at 3:31 PM
Edited

This is a 6.4.0 build with sources pulled yesterday. Rigo tried with his build and found the same

Anthony Fishbeck April 20, 2017 at 3:27 PM

FYI I could be wrong but I think this may be an old error. I think maybe it used to fail without showing the error. I now catch errors and output them.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Components

Assignee

Reporter

Priority

Compatibility

Minor

Fix versions

Affects versions

Created April 20, 2017 at 3:19 PM
Updated May 23, 2017 at 3:52 PM
Resolved May 23, 2017 at 3:52 PM