Thanks Hakon That solved the problem for both of the services mentioned.
Fred --- Hakon Baunsgaard <[EMAIL PROTECTED]> wrote: > Hi, I can't tell whether it is a bug or not, but you > can make it work by > specifying the SOAPAction yourself. I connect to > .net services by adding > these two statements: > > call.setProperty(Call.SOAPACTION_USE_PROPERTY, new > Boolean(true)); > call.setProperty(Call.SOAPACTION_URI_PROPERTY, > "http://tempuri.org/test"); > > Obviously the "http://tempuri.org/test" will need to > be changed to whatever > service you connect to ;) > > /Hakon > > >From: Fred So <[EMAIL PROTECTED]> > > > >Thanks Stan > > > >A question: Why the direct, simpler Call mechanism > >does not work any more ? Is that a bug with .Net or > is > >that related to Axis? > > > >Fred > > > > > >--- Stan Jordan <[EMAIL PROTECTED]> wrote: > > > Fred... > > > The stanski service works fine with Axis. Use > > > WSDL2Java to build your > > > stubs, as I explained in the other thread. Good > > > luck. > > > Stan > > > > > > ----- Original Message ----- > > > From: "Fred So" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]> > > > Sent: Sunday, March 24, 2002 2:04 AM > > > Subject: Re: WSDL2Java bug (Service1.asmx) > > > > > > > > > > There is another MS-based webservice which I > also > > > have > > > > problems with: > > > > > > > > > > > > >http://www.stanski.com/services/worldweather/weather.asmx > > > > > > > > There was no problem when using Axis alpha 3, > but > > > > started to break since beta versions. > > > > > > > > Fred > > > > > > > > > > > > --- Stan Jordan <[EMAIL PROTECTED]> > wrote: > > > > > The offending line (below) appears in this > book: > > > > > > > > > > > > > > > > > > >http://www.oreilly.com/catalog/dotnetfrmess2/chapter/ch06.html > > > > > <s:element ref="s:schema" /> > > > > > So it would appear that .NET folks believe > this > > > line > > > > > is legit. > > > > > Stan > > > > > > > > > > ----- Original Message ----- > > > > > From: "Stan Jordan" > <[EMAIL PROTECTED]> > > > > > To: <[EMAIL PROTECTED]> > > > > > Sent: Saturday, March 23, 2002 5:40 PM > > > > > Subject: WSDL2Java bug (Service1.asmx) > > > > > > > > > > > > > > > > WSDL2Java chokes on this file (exception > > > pasted > > > > > below): > > > > > > > > > > > > > > > > > > > >http://srv2.advmrkt.com/yZWebService/Service1.asmx?wsdl > > > > > > > > > > > > But! If you comment-out this line (which > > > appears > > > > > twice in the wsdl file) > > > > > > then WSDL2Java works like a charm... > > > > > > <s:element ref="s:schema" /> > > > > > > > > > > > > Can somebody tell me...is this a bug in > the > > > > > Microsoft wsdl emitter, or an > > > > > > issue for WSDL2Java ? > > > > > > Cheers. > > > > > > Stan > > > > > > I used beta1 for this exercise. > > > > > > This problem was brought to my attention > by > > > Fred > > > > > So. > > > > > > [EMAIL PROTECTED] > > > > > > > ------------------------------------------- > > > > > > java.io.IOException: Type > > > > > http://www.w3.org/2001/XMLSchema:schema is > > > > > > referenced but not defined. > > > > > > at > > > > > > > > > > > > > >org.apache.axis.wsdl.toJava.SymbolTable.checkForUndefined(Unknown > > > > > > Source) > > > > > > at > > > > > > > > > org.apache.axis.wsdl.toJava.SymbolTable.add(Unknown > > > > > Source) > > > > > > at > > > > > > org.apache.axis.wsdl.toJava.Emitter.emit(Unknown > > > > > Source) > > > > > > at > > > > > > org.apache.axis.wsdl.toJava.Emitter.emit(Unknown > > > > > Source) > > > > > > at > > > > > > > > > > > > > >org.apache.axis.wsdl.WSDL2Java$WSDLRunnable.run(Unknown > > > > > Source) > > > > > > at java.lang.Thread.run(Thread.java:536) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > __________________________________________________ > > > > Do You Yahoo!? > > > > Yahoo! Movies - coverage of the 74th Academy > > > Awards® > > > > http://movies.yahoo.com/ > > > > > > > > >__________________________________________________ > >Do You Yahoo!? > >Yahoo! Movies - coverage of the 74th Academy > Awards® > >http://movies.yahoo.com/ > > > > > _________________________________________________________________ > Get your FREE download of MSN Explorer at > http://explorer.msn.com/intl.asp. > __________________________________________________ Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy Awards® http://movies.yahoo.com/