axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject RE: Prefix [xsi] used without binding it to a namespace
Date Wed, 03 Jan 2007 15:22:21 GMT
Thanks for the response!

I tried ADB, and now I have a legal soap request - according to the
third party server anyway.

I'd still like to use xmlbeans if I can though.
Is there a way to get xmlbeans to work for this element?

Xmlbeans is trying to bind the element to a type of java.lang.Calendar
The WSDL for the element looks like this:
  <xsd:element type="xsd:dateTime" name="lastSyncDtime" minOccurs="1"
maxOccurs="1" nillable="true"/>

..and I'm trying to pass a null value.


-----Original Message-----
From: Davanum Srinivas [] 
Sent: Wednesday, January 03, 2007 6:23 AM
Subject: Re: Prefix [xsi] used without binding it to a namespace

Please check if it works when you use ADB data binding.


On 1/2/07, <>
> Hi,
> I'm still very much an axis2 newbie, so sorry if this is a dumb
> I'm getting the above error returned from a third party server.
> This makes sense to me because the soap envelope looks like this:
> <soapenv:Envelope
> xmlns:soapenv="">
> ...
> </soapenv:Envelope>
> ...and the body contains this element (among other things):
> <lastSyncDtime xsi:nil="true"></lastSyncDtime>
> there are other elements in the body that /do/ include the namespace.
> <clientDeviceCd
> xmlns:xsi=""
> xsi:nil="true"></clientDeviceCd>
> It seems to me that the namespace declaration should be in the soap 
> envelope rather than included with every element that needs it - but 
> maybe I don't get to control that.
> I'm using wsdl2Java on a wsdl supplied by the third party, and I'm 
> using XMLBeans binding.
> I'm running java 1.5
> Where did I go wrong, and how do I fix this?
> Did I miss something in the code generation step?
> Do I need to add custom code to the stub?
> Maybe I got one of the dependent jars wrong?
> Maybe I didn't configure a module correctly (I think the only one I'm 
> using is "addressing")?
> Overwhelmed and needing help,
> Nick

Davanum Srinivas : (Oxygen for Web Service

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

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

View raw message