Hi all,
I am trying to make a web service that uses a complex type object as return
value. My complex object looks like
public class ComplexBean
{
private String[] str;
private Object[][] val;
public String[] getStr()
{
return str;
}
public void setStr(String[] s
Hi all,
I am trying to generate the stub code from a WSDL for a particular port
(HTTPPort to be specific) using WSDL2Java.
WSDL2Java.main(new String[] { "-uri",
"http://localhost:8500/justFuction.cfc?wsdl";, "-o", ".",
"-uw",
"-pn", "justFuction.cfcHttpEndp
I am trying to generate the stub code from a WSDL for a particular port
(HTTPPort to be specific) using WSDL2Java.
WSDL2Java.main(new String[] { "-uri",
"http://localhost:8080/axis2/services/Version?wsdl";, "-o",
".",
"-uw", "-pn", "VersionHttpEndpoint" });
Hi all,
I am trying to invoke a simple web service.
public class SimpleTestVoid
{
public void printMessage() throws Exception
{
System.out.println( "Hello world" );
}
}
The WSDL is generated fine. Generated the client. But when invoking the
service, I am getting an ex
Paul
On Tue, Oct 12, 2010 at 11:01 AM, Martin Makundi <
martin.maku...@koodaripalvelut.com> wrote:
> Hi!
>
> Try removing your unnecessary "throws Exception" clause.
>
> **
> Martin
>
> 2010/10/12 paul nibin :
> > Hi all,
> >
> >
invoke the web method and everything is working great.
Thanks,
Paul
On Tue, Oct 12, 2010 at 11:13 AM, Martin Makundi <
martin.maku...@koodaripalvelut.com> wrote:
> If you want to throw exceptions they must be wrapped into web service
> exceptions.
>
> **
> Martin
>
r problem is only the void ? Ok. Then I don't know what's
> wrong. Is it a blocker or you'd just rather have it void than return
> dummy value?
>
> **
> Martin
>
> 2010/10/12 paul nibin :
> > Sorry. I did not exactly understand what you meant..
> >
&
to return it or not.
Moreover, I think this might be a bug in Axis 2.
Thanks,
Paul
On Tue, Oct 12, 2010 at 11:41 AM, Martin Makundi <
martin.maku...@koodaripalvelut.com> wrote:
> Is it a problem that it returns a value if you simply don't pass it
> onwards?
>
> 2010/10/12
Hi,
I have a web service class as shown below.
import org.w3c.dom.Document;
public class EchoXml {
public Document echo(Document xml) {
return xml;
}
}
*I will not be able to modify this class by using OMElement instead of
Document. I have to use the class in this format o
Hi,
I think this was an issue and it got fixed in the Axis 2 1.7.0. You could
try this test case in the latest nightly build.
Regards,
Paul
On Sun, Dec 4, 2011 at 3:33 AM, Ted Zeng wrote:
> Hi all,
>
> I pass some parameters as strings. Things work fine, except when a string
> is “null”.
> The
10 matches
Mail list logo