axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sagi Mann <>
Subject Re: AxisFault when using jibx
Date Tue, 30 Sep 2008 10:00:21 GMT

Found a way to solve one part of the problem: explicitly set the namespace
for the return value:

    public String testOneArg(@WebParam(mode=Mode.IN, name="testOneArg0")
String name) { 
        return "Hello " + name; 

This added a 'qualified' keyword to the schema:

    <xs:complexType name="testOneArgResponse"> 
            <xs:element name="return" type="xs:string" form="qualified"

Now, I don't get the exception any more, but the input parameter always
comes in as null. I know this by writing a debug message at the service
side. The client code is:

    public static void testOneArg(HelloServiceStub stub){
            ws.TestOneArg arg = new ws.TestOneArg();
            ws.TestOneArgResponse res = stub.testOneArg(arg);
// expected output is "Hello john" but I get "Hello null":
        } catch(Exception e){

Any ideas? thanks...

View this message in context:
Sent from the Axis - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message