axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Parimi Srinivas <psrin...@brocade.com>
Subject RE: real AXIS beta 1 problem (samples/message)
Date Wed, 20 Mar 2002 19:26:12 GMT
so what I infer is we can not deploy a real production service using Axis
3.0 with document style ?. Please note that I know Axis is in Beta. 

Is there any plan to add this feature to wsdl emitter ?. 

Thanks,


-----Original Message-----
From: Russell Butek [mailto:butek@us.ibm.com]
Sent: Wednesday, March 20, 2002 10:51 AM
To: axis-user@xml.apache.org
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
butek@us.ibm.com


"Stan Jordan" <skjordan@worldnet.att.net> on 03/19/2002 05:42:38 PM

Please respond to axis-user@xml.apache.org

To:    <axis-user@xml.apache.org>
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(MessageServiceSoapBindi

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.serializeActual(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.serializeActual(Unknown
Source)
 at org.apache.axis.encoding.SerializationContextImpl.serialize(Unknown
Source)
 at
org.apache.axis.encoding.SerializationContextImpl.outputMultiRefs(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"








Mime
View raw message