Re: Handling complex response type

2003-06-18 Thread michael_sobczak
Hi Rey, Unfortunately, I get this error when I try to cast the web service response to a String: org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.         at org.apache.axis.encoding.ser.SimpleDeserializer.

Handling complex response type

2003-06-18 Thread michael_sobczak
Hi, Through the help of the axis-user mailing list, I've been able to create a Java client that invokes the Unisys Weather web service and returns the weather. (I've included a link below.) The method I'm calling, GetWeatherText, returns all of the weather details, including at ten-day foreca

Re: Follow-up on invoking web service

2003-06-12 Thread michael_sobczak
Hi Davanum, Thank you for the code. It worked great! I'd like to understand some of the changes you provided. First off 1) I needed to use call.setOperationUse("literal") because the GetWeatherText operation defined the soap body with , right? 2) How would I have known that I should have

Re: Follow-up on invoking web service

2003-06-12 Thread michael_sobczak
Hi Matty, Haven't I already done that in the following statement: call.setProperty(Call.SOAPACTION_URI_PROPERTY, " http://www.unisys.com/WebServices/GetWeatherText"; ); Thanks, Michael Sobczak NuTechs, Inc. 6785 Telegraph Road, Suite 350 Bloomfield Hills, MI 48301 pager: (248) 316-6524

Follow-up on invoking web service

2003-06-12 Thread michael_sobczak
Hi, First of all, thanks to Vlad Umansky for helping me get to the point where I can invoke the Unisys Weather web service. My code now successfully invokes the web service and gets a response. Unfortunately, no matter what zip code value I supply as the input parameter, I always get back th

Beginner question

2003-06-11 Thread michael_sobczak
Hi, I have experience with Java and XML, but am very new to AXIS and WSDL.  I've been trying to invoke the DailyDilbert web service and get a response, with no success.  I'm getting the following Exception when I run my Java code: SoapException:Server did not recognize the value of HTTP Header S