Hitting an ASP.NET webservice with a java client.

From: David Sharp <>
Date: Wed, 22 Jun 2005 21:03:41 -0500

I'm having problems hitting an ASP.NET <> web service I have
created with a java client. I'm currently trying to determine if the problem
is with the web service, or with the client. The client is blowing up with
the following error:

expected element is missing: {uri:ClaimNet-types}Question

However the soap message being returned *has* the Question element in the
proper place:

<?xml version=" 1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi=""
 <getSecurityQuestion-return xmlns="uri:ClaimNet-types">

jax-rpc (using jwsdp-1.5) appears to be parsing this message incorrectly (it
thinks Question has no namespace). makes it pretty clear that the
default namespace declared in "getSecurityQuestion-return" should apply to
its children as well. Is there a way to make it do the right thing?