Hello:
When I get the soap envelope response from the call object after a successful webservice call
    a. Use java parameter input ( say for Add operation the inputs are 2 float java objects)
    b. For output always register as follows
          call.registerTypeMapping(org.w3c.dom.Element.class,
                                    WebserviceUtils.getQName(param.getXmlQName()),
                                        new ElementSerializerFactory(),
                                        new ElementDeserializerFactory());

The soap response looks like below:
<soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <GetSimpleClassResponse xmlns="http://tempuri.org/">
        <GetSimpleClassResult>
            <Name>SimpleClassName</Name>
            <Value>999</Value>
        </GetSimpleClassResult>
    </GetSimpleClassResponse>
</soapenv:Body>

Wondering if it is possible to get the soap response as below:

<soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
    <tem:GetSimpleClassResponse>
        <tem:GetSimpleClassResult>
            <tem:Name>SimpleClassName</tem:Name>
            <tem:Value>999</tem:Value>
        </tem:GetSimpleClassResult>
    </tem:GetSimpleClassResponse>
</soapenv:Body>

The xpath _expression_ for the second xml is straight forward compared to the first one ( ofcourse I can write a valid xpath for the first one also)

Not sure if I need to add any property when I make the call to get the response message in the required format. Just want to make sure I'm not missing anything.

Thanks for your time,
Ravi
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to