axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sumedha rubasinghe" <sumedh...@gmail.com>
Subject Re: Running SAAJ problem
Date Wed, 20 Jun 2007 04:57:45 GMT
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 <jowen4077@yahoo.com> 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: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>

Mime
View raw message