Try to wrap the element as CDATA: <![CDATA[<your-string>]]> i dont know
but it can help.
Regards
Marco
Dragos Pavel schrieb:
Hi All,
I have to develop a client web service to consume somebody else web
service. The way they implemented their web service is that they didn't
created proper data types for all the elements in the wsdl; therefore
for some methods/functions I have to provide xml data converted to one
string as a parameter! I know this design will not work in XFire when
developing your own web service to be published, but what about for just
client web services = it is possible to send xml data converted to one
string as they require ?
Thanks,
Dragos
On Sat, 2007-16-06 at 01:38 -0700, Gert Vanthienen wrote:
Tomek,
It is indeed the input format of the XML message that causes this problem.
We are not sending XML as String, but as DOMSource/StaxSource and it appears
our implementation of the latter somehow causes the problem. Thank you for
your help: we still have to solve the problem but now at least we know where
to look.
Regards,
Gert
Tomek Sztelak wrote:
My guess (but i only took a peek at stactrace, so could be wrong) is
that you are trying to send XML as string parameter which confuses xml
parser.
On 6/15/07, Gert Vanthienen <[EMAIL PROTECTED]> wrote:
L.S.,
I'm trying to resolve some issues in Apache ServiceMix, all of which are
throwing IllegalStateExceptions, stating that the current event or state
are
something else than expected (e.g. The current event is not START_ELEMENT
but 7).
The exceptions are being raised inside XFire. I'm quite sure it is an
error in ServiceMix somewhere, it is not mentioned on the XFire mailing
lists. I have also tried upgrading XFire to the latest version (1.2.6)
but
that causes even more exceptions of the same kind (cfr. footnote --
SM-964)
Can someone give me a brief explanation on what this exception means and
what can be causing it?
Thank you,
Gert Vanthienen
P.S. The full stack traces are available in ServiceMix's JIRA at:
- https://issues.apache.org/activemq/browse/SM-964
- https://issues.apache.org/activemq/browse/SM-787
- https://issues.apache.org/activemq/browse/SM-960
--
View this message in context:
http://www.nabble.com/What-does-IllegalStateException-%28current-event-is-not-...%29-mean--tf3926908.html#a11136515
Sent from the XFire - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
--
-----
When one of our products stops working, we'll blame another vendor
within 24 hours.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email