Hi all, I have a question for you
radu. How do you specify xmlbeans
xml options (XmlOptions) with xfire ? I need to set some
options relating to CDATA. Thanks for your help, Olivier. From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Thanks very much for getting back to
me. This is really good to know. Andy This message may contain confidential and/or
privileged information. If you are not the addressee or authorized to
receive this for the addressee, you must not use, copy, disclose, or take any
action based on this message or any information herein. If you have
received this message in error, please advise the sender immediately by reply
e-mail and delete this message. Thank you for your cooperation. From:
Radu Preotiuc-Pietro [mailto:[EMAIL PROTECTED] Andrew, We have done some experimental work on
SOAP some time ago (before the 2.0.0 release) but decided to not pursue it in
the end. So I would say that code is completely
unsupported. The main reason it's still there is in case someone
is interested enough to work on it and make it usable. You can still use XmlBeans to populate
data in a SOAP body, but not use it for SAAJ functionality. Radu From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] It looks like there may be an
issue (bug) with the DEFAULT_MESSAGE_FACTORY. In the MessageFactory.java source
(the code below), the FactoryFinder.find() returns an
org.apache.axis.soap.MessageFactoryImpl and then the code is attempting to cast
it to a org.apache.xmlbeans.impl.soap.MessageFactory. This results in a
ClassCastException. This appears to be a bug. Is this the correct list to be posting
this item on or should I post this on the developer list? Any
recommendations? Thanks! ================================================ public static MessageFactory
newInstance() throws SOAPException { try { } This message may contain confidential and/or
privileged information. If you are not the addressee or authorized to
receive this for the addressee, you must not use, copy, disclose, or take any
action based on this message or any information herein. If you have
received this message in error, please advise the sender immediately by reply
e-mail and delete this message. Thank you for your cooperation. From:
Hahn, Andrew I have just added the following jars to
my classpath (from the apache axis 1_2RC2 distribution) and I am still getting
the same exception: axis-ant.jar The exception is occurring on this line: MessageFactory messageFactory =
MessageFactory.newInstance(); Here are my imports: import org.apache.xmlbeans.XmlObject; This message may contain confidential and/or
privileged information. If you are not the addressee or authorized to
receive this for the addressee, you must not use, copy, disclose, or take any
action based on this message or any information herein. If you have
received this message in error, please advise the sender immediately by reply
e-mail and delete this message. Thank you for your cooperation. From:
Jacob Danner [mailto:[EMAIL PROTECTED] at quick glance, it looks like you might
want to add the SAAJ jars to your classpath From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Hi,
The
code I am using is:
SOAPMessage message = messageFactory.createMessage();
SOAPPart prt = message.getSOAPPart();
System.out.println("====message: " + envelope.toString());
The
problem I am having is that I am receiving the following exception:
Here
are the jars in my classpath: Any
ideas? This message may contain confidential and/or privileged
information. If you are not the addressee or authorized to receive this
for the addressee, you must not use, copy, disclose, or take any action based
on this message or any information herein. If you have received this
message in error, please advise the sender immediately by reply e-mail and
delete this message. Thank you for your cooperation.
_______________________________________________________________________ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. |
Title: Unable to create a soap message using xmlbeans [2.1.0]
- Unable to create a soap message using xmlbeans [2.1.0... andrew.j.hahn
- RE: Unable to create a soap message using xmlbea... Jacob Danner
- RE: Unable to create a soap message using xmlbea... andrew.j.hahn
- RE: Unable to create a soap message using xmlbea... andrew.j.hahn
- RE: Unable to create a soap message using xm... Radu Preotiuc-Pietro
- RE: Unable to create a soap message using xmlbea... andrew.j.hahn
- RE: Unable to create a soap message using xm... FERRERO Olivier
- RE: Unable to create a soap message usin... Radu Preotiuc-Pietro