Hi all,
I'm developing web service using Axis2 (Java 1.4) in Tomcat web container.
1) I'm using Axis2 to generate WSDL file, but this is probably my problem.
When I generate client side (using NetBeans 5.5 as generator - for me is
important only server side, so this is only for testing), all fields defined
as java.lang.Long/Integer/Character are generated on client's side as
primitives (long, int, char). And this is the problem. Please could someone
gave me a hint how to push Axis2 to generate WSDL with objects instead of the
primitives ???
2) when I transfer strings from the client side to server side all "null"
values are replaced by an empty string. How to keep the null values ???
And my service.xml looks like:
<service name="name">
<description>description</description>
<parameter name="ServiceClass" locked="false">ws.WS</parameter>
<operation name="myMethod">
<messageReceiver class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
<actionMapping>urn:myMethod</actionMapping>
</operation>
</service>
and the WSDL fragment with my problems:
<xs:element name="id" type="xs:long"/>
<xs:element name="state" nillable="true" type="xs:string"/>
Thanks for help !!!
Pat
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]