You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Dan Ciarniello <dc...@cityxpress.com> on 2004/10/09 00:25:37 UTC

Yet another .NET problem

I've created a web service in Axis 1.1 but, as with so many others, I'm 
having problems with .NET.  .NET is able to parse the (auto-generated) 
WSDL from Axis and send valid requests to the service.  The problem is 
that while the .NET client gets back the data from the service, it 
doesn't properly initialize it's objects with the return data.  For example:

oUser = oWse.getUser ("userid");
			string sResponse =
oWse.ResponseSoapContext.Envelope.Context.Envelope.Body.InnerText;

Gets a user object from the server.  The content of sResponse is the 
user object data from the SOAP response (stripped of XML) but the data 
isn't being written to the oUser object.

Does anyone have any idea what the problem might be? 

Thanks,
Dan.


Re: InvocationTargetException

Posted by crisTian <cr...@speedy.com.ar>.
Thanks Thomas...

There was another problem about a null pointer exception...


----- Original Message -----
From: <th...@gamefederation.com>
To: <ax...@ws.apache.org>
Sent: Saturday, October 09, 2004 2:11 AM
Subject: Re: InvocationTargetException


> could be anything, id suggest where you have your SoapBindingImpl class,
> you call the relevant method from a jsp or similar to help track it down
> server side. your probably missing a jar somewhere.
>
> /tom
>
>
> > Hi all,
> >
> >  I'm generate Java objects with the WSDL2Java tool
> >  I have a simple service running in Axis server
> >
> > When I execute the java client an exception is throwed:
> > InvocationTargetException.
> >
> >  The exception string is showed below:
> >
> > AxisFault
> >
> > faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> >
> > faultSubcode:
> >
> > faultString: java.lang.reflect.InvocationTargetException
> >
> > faultActor:
> >
> > faultNode:
> >
> > faultDetail:
> >
> > {http://xml.apache.org/axis/}stackTrace: AxisFault
> >
> > faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> >
> > faultSubcode:
> >
> > faultString: java.lang.reflect.InvocationTargetException
> >
> > faultActor:
> >
> > faultNode:
> >
> > faultDetail:
> >
> > I don't know what is the problem ...
> >
> > Thanks...
> >
> >
>
>


Re: InvocationTargetException

Posted by th...@gamefederation.com.
could be anything, id suggest where you have your SoapBindingImpl class,
you call the relevant method from a jsp or similar to help track it down
server side. your probably missing a jar somewhere.

/tom


> Hi all,
>
>  I'm generate Java objects with the WSDL2Java tool
>  I have a simple service running in Axis server
>
> When I execute the java client an exception is throwed:
> InvocationTargetException.
>
>  The exception string is showed below:
>
> AxisFault
>
> faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
>
> faultSubcode:
>
> faultString: java.lang.reflect.InvocationTargetException
>
> faultActor:
>
> faultNode:
>
> faultDetail:
>
> {http://xml.apache.org/axis/}stackTrace: AxisFault
>
> faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
>
> faultSubcode:
>
> faultString: java.lang.reflect.InvocationTargetException
>
> faultActor:
>
> faultNode:
>
> faultDetail:
>
> I don't know what is the problem ...
>
> Thanks...
>
>



InvocationTargetException

Posted by crisTian <cr...@speedy.com.ar>.
Hi all,

 I'm generate Java objects with the WSDL2Java tool
 I have a simple service running in Axis server

When I execute the java client an exception is throwed:
InvocationTargetException.

 The exception string is showed below:

AxisFault

faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException

faultSubcode:

faultString: java.lang.reflect.InvocationTargetException

faultActor:

faultNode:

faultDetail:

{http://xml.apache.org/axis/}stackTrace: AxisFault

faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException

faultSubcode:

faultString: java.lang.reflect.InvocationTargetException

faultActor:

faultNode:

faultDetail:

I don't know what is the problem ...

Thanks...