RE: Help consuming third part web services



Hi Ken Crismon,

I don't find any problem with the serialization/deserialization. I think
the problem is at the following WebMethod - AuthenticateUser("kcrismon",
"cccc");

Try debugging this Web Method and make sure that it returns a proper value.

Could you post me the copy of proxy object at the client-end. This will help
me investigate further
--
Thanks & Regards,
Sundar Narasimman
Technology Specialist
Microsoft .NET


"Ken Crismon" wrote:

Hello,

I am currently working on an embedded systems project where by I have
written a small web server that is being hosted on our internet appliance
(running on an Atmega128 chip and doing lots of col RFID and Mesh network
stuff).

In this example I am trying to get the AuthenticateUser web service to work.

I am using the following WSDL:
http://www.kcrismon.com/phaseivengr/xTango/wsdl/xTangoWebService.wsdl

My SOAP request via a .Net application having consumed the above WSDL is the
following:
http://www.kcrismon.com/phaseivengr/xTango/requestSamples/authenticateuser_1.xml

The XML SOAP response that my embedded web server generates is:
http://www.kcrismon.com/phaseivengr/xTango/requestSamples/authenticateuser_2.xml

When I call the webserrvice method using the following code.

org.xtango.xTangoServices x = new org.xtango.xTangoServices();

string xResp = x.AuthenticateUser("kcrismon", "cccc");

if ( xResp == null )
{
Response.Write("Web Request returned NULL");
}
else
{
Response.Write(string.Format("WebRequest returned {0}", xResp );
}

The method always returns a NULL. I have no idea what is going wrong. Are
there any tips regarding the format of my response oor the format of the WSDL
that will help me.

--
Sincerely,

Ken Crismon
PhaseIVEngr

.



Relevant Pages

  • Re: Cant deserialize xsd:date attributes using Axis WSDL2Java classes
    ... date strings. ... I.e. the format of the xml you're sending is not what the ... > I am generating client classes from a WSDL with the Axis WSDL2Java ...
    (comp.lang.java.programmer)
  • Re: SoapException
    ... My wsdl, requests, and responses pass all the tests put forth by ... Dan Diephouse wrote: ... I was actually referring to T and Z in the date format. ...
    (microsoft.public.dotnet.framework.compactframework)
  • soap binding
    ... The WSDL that .NET generates has: ... What the Java guys wants is that I format that line into ... Prev by Date: ...
    (microsoft.public.dotnet.framework.aspnet.webservices)