It depends on how the service being consumed was written.  What they did
was to correct a bug from the earlier 6.3 code where it did not have the
prefix so it would match what was being sent with 5x servers. We had a
problem where a service being consumed was looking for the prefix and
until they corrected it we had to delay upgrading to 6.3.

Fred

-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Misi Mladoniczky
Sent: Friday, May 12, 2006 2:18 PM
To: [email protected]
Subject: WebService consume diff ARS 6.3 patch 5 and 16

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><Con
nectString/><Information>Object
reference not set to an instance of an
object.</Information><Value>0</Value></LoginResult></LoginResponse></soa
p:Body></soap:Envelope>

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

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

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

Reply via email to