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 "Du, David (US SSA)" <da...@baesystems.com> on 2007/08/23 20:08:40 UTC

quickstartjibx client not working with axis2-1.3 release

Hi, all,

I have problems to get the quickstartjibx sample working with axis2-1.3
release, I followed the readme file and build the ant script, then
copied the aar file to axis2's service directory, I can access the
service from url:
http://localhost:8080/axis2/services/StockQuoteService?wsdl, and get the
wsdl file shown up in my browser, but when I ran ant run.client, I got
error: "org.apache.axis2.AxisFault: EOF condition or I/O error has
occurred"  with the following error messages, the server side debug
messages are also attached:

 

I tried the jaxws-calculator sample with a client, when I ran the
client, I got the same problem the jibx example.

 

Anybody knows what is the problem?

 

Thanks in advance

 

David

 

 

run.client:
[java] log4j:WARN No appenders could be found for logger
(org.apache.axis2.description.AxisService).
[java] log4j:WARN Please initialize the log4j system properly.
[java] org.apache.axis2.AxisFault: EOF condition or I/O error has
occured
[java] at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java
:486)
[java] at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(Out
InAxisOperation.java:343)
[java] at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper
ation.java:389)
[java] at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInA
xisOperation.java:211)
[java] at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163
)
[java] at
samples.quickstart.service.jibx.StockQuoteServiceStub.getPrice(StockQuot
eServiceStub.java:412)
[java] at
samples.quickstart.clients.JiBXClient.getPrice(JiBXClient.java:54)
[java] at samples.quickstart.clients.JiBXClient.main(JiBXClient.java:30)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:585)
[java] at
org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217)
[java] at
org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152)
[java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:747)
[java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:201)
[java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:104)
[java] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[java] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:585)
[java] at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:1
05)
[java] at org.apache.tools.ant.Task.perform(Task.java:348)
[java] at org.apache.tools.ant.Target.execute(Target.java:357)
[java] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[java] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
[java] at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
[java] at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecut
or.java:41)
[java] at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
[java] at org.apache.tools.ant.Main.runBuild(Main.java:698)
[java] at org.apache.tools.ant.Main.startAnt(Main.java:199)
[java] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[java] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
[java]
[java]
[java]
[java]
[java] price updated
[java] org.apache.axis2.AxisFault: EOF condition or I/O error has
occured
[java] at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java
:486)
[java] at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(Out
InAxisOperation.java:343)
[java] at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper
ation.java:389)
[java] at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInA
xisOperation.java:211)
[java] at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163
)
[java] at
samples.quickstart.service.jibx.StockQuoteServiceStub.getPrice(StockQuot
eServiceStub.java:412)
[java] at
samples.quickstart.clients.JiBXClient.getPrice(JiBXClient.java:54)
[java] at samples.quickstart.clients.JiBXClient.main(JiBXClient.java:32)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:585)
[java] at
org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217)
[java] at
org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152)
[java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:747)
[java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:201)
[java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:104)
[java] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[java] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:585)
[java] at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:1
05)
[java] at org.apache.tools.ant.Task.perform(Task.java:348)
[java] at org.apache.tools.ant.Target.execute(Target.java:357)
[java] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[java] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
[java] at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
[java] at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecut
or.java:41)
[java] at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
[java] at org.apache.tools.ant.Main.runBuild(Main.java:698)
[java] at org.apache.tools.ant.Main.startAnt(Main.java:199)
[java] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[java] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
[java]


[DEBUG] Input contentType (text/xml; charset=UTF-8)
[DEBUG] CharSetEncoding from content-type (UTF-8)
[DEBUG] createSOAPEnvelope using Builder (class
org.apache.axis2.builder.SOAPBuilder) selected from type (text/xml)
[DEBUG] char set encoding set from default =UTF-8
[DEBUG] org.apache.axis2.AxisFault: EOF condition or I/O error has
occured
[DEBUG] [MessageContext: logID=urn:uuid:FB9BC3D11BEB21319D1187673727916]
isReplyRedirected: FaultTo is null. Returning isReplyRedirected
[DEBUG] [MessageContext: logID=urn:uuid:FB9BC3D11BEB21319D1187673727916]
isReplyRedirected: ReplyTo is null. Returning false
[DEBUG] [MessageContext: logID=urn:uuid:FB9BC3D11BEB21319D1187673727917]
Checking pre-condition for Phase "MessageOut"
[DEBUG] [MessageContext: logID=urn:uuid:FB9BC3D11BEB21319D1187673727917]
Invoking phase "MessageOut"
[DEBUG] [MessageContext: logID=urn:uuid:FB9BC3D11BEB21319D1187673727917]
Invoking Handler 'AddressingOutHandler' in Phase 'MessageOut'
[DEBUG] WSAHeaderWriter: isFinal=false addMU=false replace=false
includeOptional=false
[DEBUG] [MessageContext: logID=urn:uuid:FB9BC3D11BEB21319D1187673727917]
Checking post-conditions for phase "MessageOut"
[DEBUG] contentType from the OMOutputFormat =text/xml
[DEBUG] contentType returned =text/xml; charset=UTF-8
[DEBUG] start writeTo()
[DEBUG] preserve=false
[DEBUG] isOptimized=false
[DEBUG] isDoingSWA=false
[DEBUG] XMLStreamWriter is com.ctc.wstx.sw.SimpleNsStreamWriter
[DEBUG] end writeTo()
[DEBUG] Did not find RequestResponseTransport cannot set response
written
[DEBUG] [MessageContext: logID=urn:uuid:FB9BC3D11BEB21319D1187673727917]
Invoking flowComplete() in Phase "MessageOut"
[DEBUG] [MessageContext: logID=urn:uuid:FB9BC3D11BEB21319D1187673727917]
Invoking flowComplete() for Handler 'AddressingOutHandler' in Phase
'MessageOut'
[DEBUG] Entering deleteAttachments()
[DEBUG] Exiting deleteAttachments()
[DEBUG] Input contentType (text/xml; charset=UTF-8)
[DEBUG] CharSetEncoding from content-type (UTF-8)
[DEBUG] createSOAPEnvelope using Builder (class
org.apache.axis2.builder.SOAPBuilder) selected from type (text/xml)
[DEBUG] char set encoding set from default =UTF-8
[DEBUG] org.apache.axis2.AxisFault: EOF condition or I/O error has
occured
[DEBUG] [MessageContext: logID=urn:uuid:FB9BC3D11BEB21319D1187673728102]
isReplyRedirected: FaultTo is null. Returning isReplyRedirected
[DEBUG] [MessageContext: logID=urn:uuid:FB9BC3D11BEB21319D1187673728102]
isReplyRedirected: ReplyTo is null. Returning false
[DEBUG] [MessageContext: logID=urn:uuid:FB9BC3D11BEB21319D1187673728104]
Checking pre-condition for Phase "MessageOut"
[DEBUG] [MessageContext: logID=urn:uuid:FB9BC3D11BEB21319D1187673728104]
Invoking phase "MessageOut"
[DEBUG] [MessageContext: logID=urn:uuid:FB9BC3D11BEB21319D1187673728104]
Invoking Handler 'AddressingOutHandler' in Phase 'MessageOut'
[DEBUG] WSAHeaderWriter: isFinal=false addMU=false replace=false
includeOptional=false
[DEBUG] [MessageContext: logID=urn:uuid:FB9BC3D11BEB21319D1187673728104]
Checking post-conditions for phase "MessageOut"
[DEBUG] contentType from the OMOutputFormat =text/xml
[DEBUG] contentType returned =text/xml; charset=UTF-8
[DEBUG] start writeTo()
[DEBUG] preserve=false
[DEBUG] isOptimized=false
[DEBUG] isDoingSWA=false
[DEBUG] XMLStreamWriter is com.ctc.wstx.sw.SimpleNsStreamWriter
[DEBUG] end writeTo()
[DEBUG] Did not find RequestResponseTransport cannot set response
written
[DEBUG] [MessageContext: logID=urn:uuid:FB9BC3D11BEB21319D1187673728104]
Invoking flowComplete() in Phase "MessageOut"
[DEBUG] [MessageContext: logID=urn:uuid:FB9BC3D11BEB21319D1187673728104]
Invoking flowComplete() for Handler 'AddressingOutHandler' in Phase
'MessageOut'
[DEBUG] Entering deleteAttachments()
[DEBUG] Exiting deleteAttachments()
[DEBUG] Input contentType (text/xml; charset=UTF-8)
[DEBUG] CharSetEncoding from content-type (UTF-8)
[DEBUG] createSOAPEnvelope using Builder (class
org.apache.axis2.builder.SOAPBuilder) selected from type (text/xml)
[DEBUG] char set encoding set from default =UTF-8
[DEBUG] org.apache.axis2.AxisFault: EOF condition or I/O error has
occured
[DEBUG] [MessageContext: logID=urn:uuid:FB9BC3D11BEB21319D1187673728118]
isReplyRedirected: FaultTo is null. Returning isReplyRedirected
[DEBUG] [MessageContext: logID=urn:uuid:FB9BC3D11BEB21319D1187673728118]
isReplyRedirected: ReplyTo is null. Returning false
[DEBUG] [MessageContext: logID=urn:uuid:FB9BC3D11BEB21319D1187673728120]
Checking pre-condition for Phase "MessageOut"
[DEBUG] [MessageContext: logID=urn:uuid:FB9BC3D11BEB21319D1187673728120]
Invoking phase "MessageOut"
[DEBUG] [MessageContext: logID=urn:uuid:FB9BC3D11BEB21319D1187673728120]
Invoking Handler 'AddressingOutHandler' in Phase 'MessageOut'
[DEBUG] WSAHeaderWriter: isFinal=false addMU=false replace=false
includeOptional=false
[DEBUG] [MessageContext: logID=urn:uuid:FB9BC3D11BEB21319D1187673728120]
Checking post-conditions for phase "MessageOut"
[DEBUG] contentType from the OMOutputFormat =text/xml
[DEBUG] contentType returned =text/xml; charset=UTF-8
[DEBUG] start writeTo()
[DEBUG] preserve=false
[DEBUG] isOptimized=false
[DEBUG] isDoingSWA=false
[DEBUG] XMLStreamWriter is com.ctc.wstx.sw.SimpleNsStreamWriter
[DEBUG] end writeTo()
[DEBUG] Did not find RequestResponseTransport cannot set response
written
[DEBUG] [MessageContext: logID=urn:uuid:FB9BC3D11BEB21319D1187673728120]
Invoking flowComplete() in Phase "MessageOut"
[DEBUG] [MessageContext: logID=urn:uuid:FB9BC3D11BEB21319D1187673728120]
Invoking flowComplete() for Handler 'AddressingOutHandler' in Phase
'MessageOut'
[DEBUG] Entering deleteAttachments()
[DEBUG] Exiting deleteAttachments()