Hi all,

There is a small difference in the envelope sent when we are consuming an
external webservice, and I am hoping someone can shed some light on this.

Solaris, ARServer 6.3 patch 5: OK
Windows, ARServer 6.3 patch 16: Login ERROR

There seems to be a small difference in the envelope sent to the
webservice, where <Login> is changed to <ns1:Login>.

Should the external webservice be able to handle this difference?



OK:

Input Env = <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
 <soapenv:Body><ns1:Login xmlns="urn:ServiceIncident"
xmlns:ns1="http://tempuri.org/IsapService/ServiceIncident";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
        <ns1:Server>incident</ns1:Server>
        <ns1:User>ARS</ns1:User>
        <ns1:Password>test</ns1:Password>
        <ns1:Language>46</ns1:Language>
        <ns1:View>0</ns1:View>
</ns1:Login> </soapenv:Body>
</soapenv:Envelope>

Output Envelope = ...



ERROR:

Input Env = <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
 <soapenv:Body><Login xmlns="urn:ServiceIncident"
xmlns:ns1="http://tempuri.org/IsapService/ServiceIncident";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
        <ns1:Server>incident</ns1:Server>
        <ns1:User>ARS</ns1:User>
        <ns1:Password>***</ns1:Password>
        <ns1:Language>46</ns1:Language>
        <ns1:View>0</ns1:View>
</Login> </soapenv:Body>
</soapenv:Envelope>

Output Envelope = <soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";><soap:Body><LoginResponse
xmlns="http://tempuri.org/IsapService/ServiceIncident";><LoginResult><ConnectString/><Information>Object
reference not set to an instance of an
object.</Information><Value>0</Value></LoginResult></LoginResponse></soap:Body></soap:Envelope>

        Best Regards - Misi, RRR AB, http://www.rrr.se

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org

Reply via email to