You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ia...@apache.org on 2003/12/19 10:08:01 UTC
cvs commit: ws-axis/java/test/wsdl/wrapped_holders ThingImpl.java
ias 2003/12/19 01:08:01
Modified: java/test/wsdl/wrapped_holders ThingImpl.java
Log:
Fix for Bug 25558 - Mapped aThing parameter to String
Revision Changes Path
1.4 +8 -8 ws-axis/java/test/wsdl/wrapped_holders/ThingImpl.java
Index: ThingImpl.java
===================================================================
RCS file: /home/cvs/ws-axis/java/test/wsdl/wrapped_holders/ThingImpl.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ThingImpl.java 28 Feb 2003 22:08:03 -0000 1.3
+++ ThingImpl.java 19 Dec 2003 09:08:01 -0000 1.4
@@ -16,12 +16,12 @@
* @author Tom Jordahl
*/
public class ThingImpl implements test.wsdl.wrapped_holders.Thing{
- public void find_aThing(test.wsdl.wrapped_holders.AThing aThing,
+ public void find_aThing(String aThing,
test.wsdl.wrapped_holders.holders.AThingArrayHolder aThingUnbounded,
test.wsdl.wrapped_holders.holders.OtherDataArrayHolder otherDataUnbounded)
throws java.rmi.RemoteException {
// Verify we get a string in aThing input argument
- String input = aThing.getValue();
+ String input = aThing;
if (input == null || !input.equals("This is a test")) {
String error = "Input argument did not match expected string, got: ";
error += input != null ? "'" + input + "'" : "NULL";
@@ -30,13 +30,13 @@
}
// now send something back
- test.wsdl.wrapped_holders.AThing[] things = new test.wsdl.wrapped_holders.AThing[2];
- things[0] = new AThing("Thing one");
- things[1] = new AThing("Thing two");
+ String[] things = new String[2];
+ things[0] = new String("Thing one");
+ things[1] = new String("Thing two");
aThingUnbounded.value = things;
- test.wsdl.wrapped_holders.OtherData[] others = new test.wsdl.wrapped_holders.OtherData[2];
- others[0] = new OtherData("Other 1");
- others[1] = new OtherData("Other 2");
+ String[] others = new String[2];
+ others[0] = new String("Other 1");
+ others[1] = new String("Other 2");
otherDataUnbounded.value = others;
}