axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Bayer" <ba...@oio.de>
Subject Why specify a operationname for a doc/lit client
Date Tue, 26 Aug 2003 10:49:58 GMT
Hi,

I'am wondering why I have to specify an operation name in a no-wrapped
document/literal client. If a operationname is specified it isn't used. If
no operation name is specified, the exception below is thrown?


Thomas


Client:

call.setOperationStyle( Style.DOCUMENT);
call.setOperationUse( Use.LITERAL);

call.setOperationName("doesnt-matter");

call.registerTypeMapping( DVD.class, new QName( ns, "dvd"),
BeanSerializerFactory.class, BeanDeserializerFactory.class);
call.addParameter( new QName( ns, "dvd"), Constants.XSD_ANY, DVD.class,
ParameterMode.IN);

call.setReturnType( new QName( xs_ns, "string"));



Exception:

No operation name specified!
	at org.apache.axis.client.Call.invoke(Call.java:1689)
	at
de.javamagazin.style.DVDClientDocumentLiteral.main(DVDClientDocumentLiteral.
java:44)






Orientation in Objects GmbH
http://www.oio.de


Mime
View raw message