Hi Joe,
Good to hear that you got it working!!!
Are you referring to passing a String (which is an XML) to a method in POJO
& getting a return String (which is also a XML) ?
eg:
class MyService{
public String myMethod(String xml){
//do something
}
}
On 6/20/07, Joe Nathan <[EMAIL PROTECTED]> wrote:
It works now, Thanks for the help!
The problem was with this;
QName bodyName = new QName("http://ws.apache.org/axis2/xsd",
"xxxxx", "m");
It works after coding exactly like that. I could not found any SAAJ
example
on Axis. So I started from Sun J2EE tutorial, get confused and wasted so
much time. There are examples on soon-to-be deprecated methods, not
on SAAJ. A simple example could make difference!
By the way, I have another problem. How cannot I pass XML strings to
POJO methods and get returns in XML as well? I mean without using
attachments which will complicate things. I am primarily targeting
calls from .NET and PHP.
Regards,
Joe.
--
View this message in context:
http://www.nabble.com/Running-SAAJ-problem-tf3937707.html#a11206864
Sent from the Axis - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]