File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Error While deploying Web Service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Error While deploying Web Service" Watch "Error While deploying Web Service" New topic
Author

Error While deploying Web Service

Rohit Malhotra
Greenhorn

Joined: Jan 29, 2006
Posts: 21
Hi i m facing an error while deploying a simple Web Service using Axis.


Can anyone please me out. I m using Websphere 5.1.2 and Axis 1.2(AdminClient)
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.reflect.InvocationTargetException
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:IFLMUD5HP0779

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 org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1712)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
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:1792)
at org.apache.axis.client.AdminClient.process(AdminClient.java:439)
at org.apache.axis.client.AdminClient.process(AdminClient.java:404)
at org.apache.axis.client.AdminClient.process(AdminClient.java:410)
at org.apache.axis.client.AdminClient.process(AdminClient.java:320)
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42276
    
  64
That exception is thrown in a number of circumstances. Are you certain that a host named "IFLMUD5HP0779" is reachable by HTTP?


Ping & DNS - my free Android networking tools app
Rohit Malhotra
Greenhorn

Joined: Jan 29, 2006
Posts: 21
yes the host is well reachable. Besides i am using my IP address in the Java2WSDL and AdminClient tool.
Rohit Malhotra
Greenhorn

Joined: Jan 29, 2006
Posts: 21
Hi can anyone pelase help me out.


What i believe is tehres a diffeernt Exception from the xerces which is getting wrapped into InvockationTargetException . Since i do no thave the source for Xerces i m unable to debug the same. Can anyone please help me out. Its rreally do or die situation for me ...
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12803
    
    5
If this was my problem I would capture the full SOAP message with something like TCPMON (comes with AXIS) and checking the XML document with another tool such as XMLSPY. It really looks like a badly formed XML from that exception.

Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error While deploying Web Service