Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Eclipse 3.2.2 and Axis
Eclipse 3.2.2 and Axis [message #197259] Wed, 25 July 2007 21:25 Go to next message
Eclipse UserFriend
Originally posted by: sss.sss.com

Hello,

I am new at this and have some basic questions. I have installed Eclipse
3.2.2 and I am trying to write a Webservice client and used the wizard to
create the client. I try to run the client and it fails, see below. I am
wondering if I have a configuration issue...

1. Do I need to install axis (or axis2) to run the client?
2. Does Eclipe WTP have all components to run clients?
3. I get the following error when running client?
4. It looks like I am getting a response but not desializing correctly.
Assertion failure: false at line 126 of
d:\views\nightly\sun\maui\windows\vobs\010607.1740\analytics _web\main\project\webxml\buffersaxcontenthandler.h

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

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

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

at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unkno wn Source)

at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndEleme nt(Unknown
Source)

at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$Fragme ntContentDispatcher.dispatch(Unknown
Source)

at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDo cument(Unknown
Source)

at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unk nown Source)

at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)

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

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

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

at
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTT PSender.java:796)

at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender. java:144)

at
org.apache.axis.strategies.InvocationStrategy.visit(Invocati onStrategy.java:32)

at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)

at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)

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

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:2443)

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

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

Thanks,

John
Re: Eclipse 3.2.2 and Axis [message #197274 is a reply to message #197259] Wed, 25 July 2007 22:16 Go to previous message
Seng Phung Lu is currently offline Seng Phung LuFriend
Messages: 62
Registered: July 2009
Member
Hi John,
Assuming you got the 2.0 all-in-one ZIP, WTP should include all the
components you need to run a client; including Axis1.4.

Have you tried using the Web service explorer as a client to the Web
service?
http://www.eclipse.org/webtools/jst/components/ws/M3/tutoria ls/WebServiceExplorer.html

Axis2 is another option to try: (The client instructions begin at step 21)
http://www.eclipse.org/webtools/community/tutorials/BottomUp Axis2WebService/bu_tutorial.html

-Seng

John wrote:
> Hello,
>
> I am new at this and have some basic questions. I have installed Eclipse
> 3.2.2 and I am trying to write a Webservice client and used the wizard to
> create the client. I try to run the client and it fails, see below. I am
> wondering if I have a configuration issue...
>
> 1. Do I need to install axis (or axis2) to run the client?
> 2. Does Eclipe WTP have all components to run clients?
> 3. I get the following error when running client?
> 4. It looks like I am getting a response but not desializing correctly.
> Assertion failure: false at line 126 of
> d:\views\nightly\sun\maui\windows\vobs\010607.1740\analytics _web\main\project\webxml\buffersaxcontenthandler.h
>
> at
> org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFau ltBuilder.java:222)
>
> at
> org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaul tBuilder.java:129)
>
> at
> org.apache.axis.encoding.DeserializationContext.endElement(D eserializationContext.java:1087)
>
> at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unkno wn Source)
>
> at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndEleme nt(Unknown
> Source)
>
> at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$Fragme ntContentDispatcher.dispatch(Unknown
> Source)
>
> at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDo cument(Unknown
> Source)
>
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>
> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>
> at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>
> at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unk nown Source)
>
> at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
>
> at
> org.apache.axis.encoding.DeserializationContext.parse(Deseri alizationContext.java:227)
>
> at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696 )
>
> at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
>
> at
> org.apache.axis.transport.http.HTTPSender.readFromSocket(HTT PSender.java:796)
>
> at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender. java:144)
>
> at
> org.apache.axis.strategies.InvocationStrategy.visit(Invocati onStrategy.java:32)
>
> at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
>
> at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
>
> at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165 )
>
> 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:2443)
>
> at org.apache.axis.client.Call.invoke(Call.java:2366)
>
> at org.apache.axis.client.Call.invoke(Call.java:1812)
>
> Thanks,
>
> John
>
>
Previous Topic:My WTP 2.0 can not start up with -Xmx1024m
Next Topic:WST 2.0: Server for Tomcat: Enable Tomcat debug mode in WST 1.5
Goto Forum:
  


Current Time: Sat Apr 20 01:51:50 GMT 2024

Powered by FUDForum. Page generated in 0.02828 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top