logo       

Nothing but problems consuming .NET services!!: msg#00848

Subject: Nothing but problems consuming .NET services!!
Hey Guys,

I tell ya, I've had nothing but problems trying to consume web services
written in .NET. It seems to me Bill would like .NET services to be only
consumed by other .NET apps. It must be that 1degree of separation )..

Anyways, please follow along my case point: .NET WebService
"WeatherFetcher" It takes a String zipcode and returns a Weather object
full of strings with stuff from time to moonrise..
(http://glkev.net.innerhost.com/glkev_ws/WeatherFetcher.asmx?WSDL)

Ok, so I run WSDL2java on it, get the stub, run the stub, it consumes
the service:

<code>
com.myasptools.www.WeatherFetcherSoapStub soap = new
com.myasptools.www.WeatherFetcherSoapStub(new
java.net.URL("http://glkev.net.innerhost.com/glkev_ws/WeatherFetcher.asm
x"), new Service()); 

com.myasptools.www.Weather weather = soap.getWeather("90210");
</code>

But the "Weather.class" object, is always filled with null values!?
So since It's a .NET service, I do a little testy testy to see if the
service is returning the nulls 
(http://glkev.net.innerhost.com/glkev_ws/WeatherFetcher.asmx/GetWeather?
zipCode=90210)

Sure enough its response has all the data.. But I do notice something!
All the element names in the Weather object start with Capitals!
Could this be why the java Weather object is not getting the values??
You know what I mean?

We should get to the bottom of this? See what's going on?!

Talk to you soon,
Mick
_________________________
Mick Robinson
MapCloud Services Inc
1200-1185 West Georgia St
Vancouver B.C.
604-895-7611 (P)
604-682-3497 (F) 




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe