InvocationTargetException when calling "new Service()" in Axis web service to call another web service

InvocationTargetException when calling "new Service()" in Axis web service to call another web service

Post by Michael Av » Thu, 12 Jan 2006 08:05:26


Hi,

got a problem calling a web sevice from another.
Yust calling "new Service()" causes an Exception in
the Webservice whiche leads to "java.lang.reflect.InvocationTargetException"

The whole error message:


AxisFault

faultCode: { http://www.yqcomputer.com/ }Server.userException

faultSubcode:

faultString: java.lang.reflect.InvocationTargetException

faultActor:

faultNode:

faultDetail:

{ http://www.yqcomputer.com/ }stackTrace:java.lang.reflect.InvocationTargetException

at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)

at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)

at
org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)

at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)

at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:719)

at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)

at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)

at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)

at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)

at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)

at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)

at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)

at
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)

at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)

at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)

at
org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)

at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)

at org.apache.axis.client.Call.invokeEngine(Call.java:2784)

at org.apache.axis.client.Call.invoke(Call.java:2767)

at org.apache.axis.client.Call.invoke(Call.java:1910)

at leo.webservice.axis.wsdd.STest1Client.processPlane(STest1Client.java:58)

at leo.webservice.axis.wsdd.STest1Client.main(STest1Client.java:152)


Has anybody an idea?

Thanks in advance
--
-----------------
Dipl.-Inform.
Exam. Phil.

Legdenweg 30
48161 Mster
Phone: +49 251 87 19 000
Mobile: +49 175 185 39 86
E-Mail: XXXX@XXXXX.COM
 
 
 

1. Calling Web Service that calls other Web Service with Windows Auth

2. Calling Web Service that calls other Web Service with Windows Authentication

Hi all

I would like to now the answer to the following problem, if someone can
help.

Given a windows application client that's calling a web service (using
default credentials) the
web service gets invoked fine with the users credentials. However they
need
to call a second web service from the first one. When it hits the
second web
service, the web service (even though configured correctly) always
reports (401) Unauthorized.

Is there any possibility to do this or is impossible ?

Is possible to implement any workaround for this problem ?

Thanks in advance

Manuel Brand

3. Multiple web service calls from web service

4. Web service calling a web service.

5. Problem: My web service calls only open a single connection to the web service machine

6. SSRS - Retrieving XML data from a web service/calling web service from report problems...

7. Calling a web service from a web service

8. Calling one web service from another web service

9. call secure web service (thru cer) from a web service

10. web-service call from inside a web-service - AV

11. Web service autentication problem when call another web service

12. 'web service call failed: 500' using ajax hovermenu and web service

13. calling a web service from within a web service