We were running with v812 of Software AG Designer and have generated many web services which are actively being used.
We upgraded Designer to v813 and regenrated one of the web service. We did not upgrade the soap engine nor EntireX Broker. Certainly we get an error as follows:
The content type text/xml; charset=utf-8 of the response message does not match the content type of the binding (application/soap+xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1008 bytes of the response were: ‘<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/”><soapenv:Header xmlns:wsa=“WS-Addressing 1.0 Namespace”>wsa:Actionhttp://namespace.softwareag.com/entirex/xml/mapping/FWSPort/FWSCASE2Response</wsa:Action>wsa:RelatesTourn:uuid:24f41d8a-45fa-4afb-8c05-efcc94ee56bb</wsa:RelatesTo></soapenv:Header>soapenv:Bodysoapenv:Faultaxis2ns37:SenderXML Runtime Exception 2000 0077 Unknown document, XML Runtime can not interpret the incoming document.<exx:EntireX xmlns:exx=“com.softwareag.entirex.xml.rt”>20000087Internal error.XML Runtime Exception 2000 0077 Unknown document, XML Runtime can not interpret the incoming document.</exx:EntireX></soapenv:Fault></soapenv:Body></soapenv:Envelope>’.
The input xml document looks like this (this xml document works successfully with the 812 version of the web service):
soapenv:Envelope xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:urn=“urn:com.softwareag.entirex.xml.rt” xmlns:urn1=“urn:com-softwareag-entirex-rpc:FWS-FWSCASE2”>
soapenv:Header
urn:EntireX
true
DEVG441
</urn:EntireX>
</soapenv:Header>
soapenv:Body
urn1:FWSCASE2
DEVG441
</urn1:FWSCASE2>
</soapenv:Body>
</soapenv:Envelope>
In Designer 813, I used the xml tester and did a test successfully against the same web services generated with 813 using the soap engine and provided an input document that looks like this:
<?xml version="1.0" encoding="UTF-8" ?><soap-env:Envelope xmlns:soap-env=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:xmm=“http://namespace.softwareag.com/entirex/xml/mapping” xmlns:xsd=“XML Schema” xmlns:SOAP-ENC=“http://schemas.xmlsoap.org/soap/encoding/” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”>
soap-env:SOAPHeader
</soap-env:SOAPHeader>
soap-env:Body
<m:FWSCASE2 xmlns:m=“urn:com-softwareag-entirex-rpc:FWS-FWSCASE2”>
1234
MIN
</m:FWSCASE2>
</soap-env:Body>
</soap-env:Envelope>
In Designer I had to provide my broker login credentials via the Settings function.
This leads me to believe that the portion that provide the exx-userid information in my “failed” xml document is not tag correctly.
Can you advise how the broker login details on my failed xml document should be specified?
Many thanks.
Min