Hello All,
Has anybody seen anything like this:  I generate
server/client stubs using JAXB and the xfire plugin. 
I invoke my service from the client and use TCPMON to
look at the raw soap message.  

The input parameter to the web service has the wrong
default namespace.  Here is an example:

<ns6:recordRetrievalRequest
xmlns:ns6="http://wijis.wisconsin.gov/specs/schemas/gateway/service/recordRetrieval/v1.0/";
xmlns:ns5="http://wijis.wisconsin.gov/specs/schemas/record/v1.0/2006-05-25/";
xmlns:ns4="http://wijis.wisconsin.gov/specs/schemas/util/v1.0/2006-05-25/";
xmlns:ns3="http://wijis.wisconsin.gov/specs/schemas/gateway/pointer/v1.0/2006-05-25/";
xmlns:ns2="http://wijis.wisconsin.gov/specs/schemas/service/v1.0/2006-05-25/";
xmlns="http://wijis.wisconsin.gov/specs/schemas/uri/v1.0/2006-05-25/";
recordURI="http://www.yahoo.com"; />

Notice how the default namespace is something called:
xmlns="http://wijis.wisconsin.gov/specs/schemas/uri/v1.0/2006-05-25/";

However, in my schema, the default namespace of this
element is:
http://wijis.wisconsin.gov/specs/schemas/gateway/service/recordRetrieval/v1.0/

The web service can not serialize this object and I
get a null for 'recordURI'.  However if I manuall
construct a proper soap message, the service works
fine.

It looks the Xfire client is generating an incorrect
namespace for the web service input parameter.

The absolutely maddening thing is that I have an
identical service using the same inheritance model and
the client has no such problems.  All the soap message
on the wire have the correct namespace.

Has anyone seen this before?  I am on hour 10 on this
problem.  I even removed all default namespaces for
each schema and qualified every type.  This produced
the same results.

Thanks!

-Yogesh


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to