Catalin
I have had a similar problem when communicating with .NET services. In my
case it turned out that .NET is/was sensitive to the namespace of the
parameter elements. In the first envelope that you provided the method
element belongs to the SOAPSDK1 namespace but the parameter elements do
not. In fact they are not qualified at all. In the second envelope the
method element defines a default namespace which also applies to the
parameter elements. So the parameter elements belong to the same namspace
as the method. You say that this second version works. I fixed it manually
on the client side but I haven't got to the bottom of why this is
happening.
Regards
Simon
Simon Laws
IBM Hursley Services and Technology
Mail Point 137, Hursley Park, Winchester, Hampshire, SO21 2JN
Tel: Internal 248708 External +44 (0)1962 818708
Email: [EMAIL PROTECTED]
"Catalin Tomescu" <[EMAIL PROTECTED]> on 07/06/2001 10:01:01 PM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: C# Web Service and VB6.0 client
Hello every body,
I'm trying to call a web service developed with .NET from a VB6.0 app using
Low Level SOAP Toolkit 2.0
It seems like the value of my parameters are 0 in the .NET service
Here is the soap message from VB6.0
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<SOAPSDK1:addNumbers xmlns:SOAPSDK1="http://www.catalin.com/webservices/">
<numberOne>10</numberOne>
<numberTwo>25</numberTwo>
</SOAPSDK1:addNumbers>
</soap:Body>
</soap:Envelope>
and here is the message from a .NET client (which returns the corect value)
<?xml version="1.0" encoding="utf-8"?>
<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>
<addNumbers xmlns="http://www.catalin.com/webservices/">
<numberOne>10</numberOne>
<numberTwo>25</numberTwo>
</addNumbers>
</soap:Body>
</soap:Envelope>
Can someone please tell me what's wrong?
Thanks
Catalin
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com