What happens when you try using StrikeIron's version that *doesn't* require implicit headers? Also, does your implicit header code work with GlassFish Metro? The sample (http://www.jroller.com/gmazza/date/20070929) provides information on how to use either web service stack.
If you're serious about learning web services it is best to get acquainted with both web service stacks and test against both. It very quickly helps with debugging, because you find out whether or not the problem is with the SOAP client or the web service stack; also, the two stacks tend to give different error messages, also helpful with debugging. Glen 2008-05-05 olanga henry wrote: > No, same results for Indianapolis or any other city names. > > ---------------------------------------- > > Date: Mon, 5 May 2008 18:34:15 -0400 > > From: [EMAIL PROTECTED] > > Subject: Re: cxf client to invoke strikeIron ws > > To: [email protected] > > > > Could it be that you misspelled Indianapolis, and your code can't handle > > getting "null" back? > > > > Glen > > > > 2008-05-05 olanga henry wrote: > >> > >> com.strikeiron.NFLTeamOutput x = endpt.getTeamInfoByCity( > >> "INDIANAPOLLIS",getLicenseInfo(),getSubscriptionInfo() ); > > > > > >> ================================================================================= > >> Everthing seems fine till the execution point when I get an exception I > >> cannot understand: > >> > >> [java] javax.xml.ws.soap.SOAPFaultException: Index: 3, Size: 3 > >> [java] at > >> org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:175) > >> [java] at $Proxy28.getTeamInfoByCity(Unknown Source) > >> [java] at client.WSClient.main(WSClient.java:60) > >> [java] Caused by: java.lang.IndexOutOfBoundsException: Index: 3, > >> Size: 3 > >> [java] at java.util.ArrayList.RangeCheck(ArrayList.java:546) > >> [java] at java.util.ArrayList.get(ArrayList.java:321) > > > > > > _________________________________________________________________ > Make Windows Vista more reliable and secure with Windows Vista Service Pack 1. > http://www.windowsvista.com/SP1?WT.mc_id=hotmailvistasp1banner
