This will be fixed Real Soon Now. Probably for beta-2.
--G > -----Original Message----- > From: Russell Butek [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 20, 2002 1:51 PM > To: [EMAIL PROTECTED] > Subject: Re: real AXIS beta 1 problem (samples/message) > > > You may be the first one to try this. It's unsupported. > ?wsdl assumes RPC > and right now there's no way to tell it otherwise. > > Russell Butek > [EMAIL PROTECTED] > > > "Stan Jordan" <[EMAIL PROTECTED]> on 03/19/2002 05:42:38 PM > > Please respond to [EMAIL PROTECTED] > > To: <[EMAIL PROTECTED]> > cc: > Subject: real AXIS beta 1 problem (samples/message) > > > > The sample works fine with the client provided. But if you > generate a wsdl > file with a browser, and create stubs via WSDL2Java... > > 1. The wsdl file says style="rpc" (wrong) > 2. The stub says > call.setOperationStyle("rpc"); (wrong) > 3. A client using the stub will fail (exception pasted below). > > If anyone has generated a good wsdl file and stub from this > example, please > let me know. > Cheers. > Stan > I used beta1 dated 3/19/02 > ------------------------------ > java.io.IOException: No mapped schema type for > org.apache.axis.message.SOAPBodyElement > at org.apache.axis.AxisFault.makeFault(Unknown Source) > at org.apache.axis.SOAPPart.getAsString(Unknown Source) > at org.apache.axis.SOAPPart.getAsBytes(Unknown Source) > at org.apache.axis.Message.getContentLength(Unknown Source) > at org.apache.axis.transport.http.HTTPSender.invoke(Unknown Source) > at > org.apache.axis.strategies.InvocationStrategy.visit(Unknown Source) > at org.apache.axis.SimpleChain.doVisiting(Unknown Source) > at org.apache.axis.SimpleChain.invoke(Unknown Source) > at org.apache.axis.client.AxisClient.invoke(Unknown Source) > at org.apache.axis.client.Call.invoke(Unknown Source) > at org.apache.axis.client.Call.invoke(Unknown Source) > at org.apache.axis.client.Call.invoke(Unknown Source) > at org.apache.axis.client.Call.invoke(Unknown Source) > at > localhost.MessageServiceSoapBindingStub.echoElements(MessageSe > rviceSoapBindi > > ngStub.java:118) > at Client.main(Client.java:36) > Caused by: java.io.IOException: No mapped schema type for > org.apache.axis.message.SOAPBodyElement > at > org.apache.axis.encoding.ser.ArraySerializer.serialize(Unknown Source) > at > org.apache.axis.encoding.SerializationContextImpl.serializeAct > ual(Unknown > Source) > at > org.apache.axis.encoding.SerializationContextImpl.serialize(Unknown > Source) > at > org.apache.axis.encoding.ser.ArraySerializer.serialize(Unknown Source) > at > org.apache.axis.encoding.SerializationContextImpl.serializeAct > ual(Unknown > Source) > at > org.apache.axis.encoding.SerializationContextImpl.serialize(Unknown > Source) > at > org.apache.axis.encoding.SerializationContextImpl.outputMultiR > efs(Unknown > Source) > at org.apache.axis.message.SOAPEnvelope.outputImpl(Unknown Source) > at org.apache.axis.message.MessageElement.output(Unknown Source) > ... 14 more > Exception in thread "main" > > > > > > >