Уважаемые,
кто-нибудь знает чем может быть вызвана следующая ошибка?
Пытаюсь отослать сервису SOAP сообщение.
Код клиента стандартный, практически такой же как в туториале.
Причем на axis2 ver 1.1 этот же код работает исправно(меняю только все библиотеки);
0 [main] DEBUG org.apache.axis2.util.Loader — Trying to find [org/apache/axis2/deployment/axis2_default.xml] using sun.misc.Launcher$AppClassLoader@a9c85c class loader.
327 [main] DEBUG org.apache.axiom.om.util.StAXUtils — XMLStreamReader is com.ctc.wstx.sr.ValidatingStreamReader
636 [main] DEBUG org.apache.axis2.engine.Phase — Handler RequestURIBasedDispatcher added to Phase Transport
656 [main] DEBUG org.apache.axis2.engine.Phase — Handler SOAPActionBasedDispatcher added to Phase Transport
663 [main] DEBUG org.apache.axis2.engine.Phase — Handler AddressingBasedDispatcher added to Phase Addressing
679 [main] DEBUG org.apache.axis2.engine.Phase — Handler RequestURIBasedDispatcher added to Phase Dispatch
680 [main] DEBUG org.apache.axis2.engine.Phase — Handler SOAPActionBasedDispatcher added to Phase Dispatch
686 [main] DEBUG org.apache.axis2.engine.Phase — Handler RequestURIOperationDispatcher added to Phase Dispatch
690 [main] DEBUG org.apache.axis2.engine.Phase — Handler SOAPMessageBodyBasedDispatcher added to Phase Dispatch
695 [main] DEBUG org.apache.axis2.engine.Phase — Handler HTTPLocationBasedDispatcher added to Phase Dispatch
725 [main] DEBUG org.apache.axis2.engine.Phase — Handler AddressingBasedDispatcher added to Phase Addressing
726 [main] DEBUG org.apache.axis2.engine.Phase — Handler RequestURIBasedDispatcher added to Phase Dispatch
726 [main] DEBUG org.apache.axis2.engine.Phase — Handler SOAPActionBasedDispatcher added to Phase Dispatch
726 [main] DEBUG org.apache.axis2.engine.Phase — Handler RequestURIOperationDispatcher added to Phase Dispatch
727 [main] DEBUG org.apache.axis2.engine.Phase — Handler SOAPMessageBodyBasedDispatcher added to Phase Dispatch
727 [main] DEBUG org.apache.axis2.engine.Phase — Handler HTTPLocationBasedDispatcher added to Phase Dispatch
1429 [main] DEBUG org.apache.axis2.description.AxisService — mapActionToOperation: Mapping Action to Operation: action: anonRobustOp; operation: org.apache.axis2.description.RobustOutOnlyAxisOperation@537935
1430 [main] DEBUG org.apache.axis2.description.AxisService — mapActionToOperation: Mapping Action to Operation: action:
urn:anonRobustOp; operation: org.apache.axis2.description.RobustOutOnlyAxisOperation@537935
1435 [main] DEBUG org.apache.axis2.description.AxisService — mapActionToOperation: Mapping Action to Operation: action: anonOutonlyOp; operation: org.apache.axis2.description.OutOnlyAxisOperation@1450bd
1436 [main] DEBUG org.apache.axis2.description.AxisService — mapActionToOperation: Mapping Action to Operation: action:
urn:anonOutonlyOp; operation: org.apache.axis2.description.OutOnlyAxisOperation@1450bd
1437 [main] DEBUG org.apache.axis2.description.AxisService — mapActionToOperation: Mapping Action to Operation: action: anonOutInOp; operation: org.apache.axis2.description.OutInAxisOperation@c0bee6
1438 [main] DEBUG org.apache.axis2.description.AxisService — mapActionToOperation: Mapping Action to Operation: action:
urn:anonOutInOp; operation: org.apache.axis2.description.OutInAxisOperation@c0bee6
1783 [main] DEBUG org.apache.axis2.description.OutInAxisOperationClient — Entry: OutInAxisOperationClient::execute, true
1793 [main] DEBUG org.apache.axis2.engine.Phase — [MessageContext: logID=
urn:uuid:D96C64662129EFB5621193667088887] Checking pre-condition for Phase "OperationOutPhase"
1794 [main] DEBUG org.apache.axis2.engine.Phase — [MessageContext: logID=
urn:uuid:D96C64662129EFB5621193667088887] Invoking phase "OperationOutPhase"
1794 [main] DEBUG org.apache.axis2.engine.Phase — [MessageContext: logID=
urn:uuid:D96C64662129EFB5621193667088887] Checking post-conditions for phase "OperationOutPhase"
1795 [main] DEBUG org.apache.axis2.engine.Phase — [MessageContext: logID=
urn:uuid:D96C64662129EFB5621193667088887] Checking pre-condition for Phase "RMPhase"
1795 [main] DEBUG org.apache.axis2.engine.Phase — [MessageContext: logID=
urn:uuid:D96C64662129EFB5621193667088887] Invoking phase "RMPhase"
1795 [main] DEBUG org.apache.axis2.engine.Phase — [MessageContext: logID=
urn:uuid:D96C64662129EFB5621193667088887] Checking post-conditions for phase "RMPhase"
1796 [main] DEBUG org.apache.axis2.engine.Phase — [MessageContext: logID=
urn:uuid:D96C64662129EFB5621193667088887] Checking pre-condition for Phase "PolicyDetermination"
1796 [main] DEBUG org.apache.axis2.engine.Phase — [MessageContext: logID=
urn:uuid:D96C64662129EFB5621193667088887] Invoking phase "PolicyDetermination"
1796 [main] DEBUG org.apache.axis2.engine.Phase — [MessageContext: logID=
urn:uuid:D96C64662129EFB5621193667088887] Checking post-conditions for phase "PolicyDetermination"
1796 [main] DEBUG org.apache.axis2.engine.Phase — [MessageContext: logID=
urn:uuid:D96C64662129EFB5621193667088887] Checking pre-condition for Phase "MessageOut"
1797 [main] DEBUG org.apache.axis2.engine.Phase — [MessageContext: logID=
urn:uuid:D96C64662129EFB5621193667088887] Invoking phase "MessageOut"
1797 [main] DEBUG org.apache.axis2.engine.Phase — [MessageContext: logID=
urn:uuid:D96C64662129EFB5621193667088887] Checking post-conditions for phase "MessageOut"
1797 [main] DEBUG org.apache.axis2.engine.Phase — [MessageContext: logID=
urn:uuid:D96C64662129EFB5621193667088887] Checking pre-condition for Phase "Security"
1798 [main] DEBUG org.apache.axis2.engine.Phase — [MessageContext: logID=
urn:uuid:D96C64662129EFB5621193667088887] Invoking phase "Security"
1798 [main] DEBUG org.apache.axis2.engine.Phase — [MessageContext: logID=
urn:uuid:D96C64662129EFB5621193667088887] Checking post-conditions for phase "Security"
2826 [main] DEBUG org.apache.commons.httpclient.params.DefaultHttpParams — Set parameter http.useragent = Jakarta Commons-HttpClient/3.0.1
2835 [main] DEBUG org.apache.commons.httpclient.params.DefaultHttpParams — Set parameter http.protocol.version = HTTP/1.1
2839 [main] DEBUG org.apache.commons.httpclient.params.DefaultHttpParams — Set parameter http.connection-manager.class = class org.apache.commons.httpclient.SimpleHttpConnectionManager
2840 [main] DEBUG org.apache.commons.httpclient.params.DefaultHttpParams — Set parameter http.protocol.cookie-policy = rfc2109
2840 [main] DEBUG org.apache.commons.httpclient.params.DefaultHttpParams — Set parameter http.protocol.element-charset = US-ASCII
2841 [main] DEBUG org.apache.commons.httpclient.params.DefaultHttpParams — Set parameter http.protocol.content-charset = ISO-8859-1
2884 [main] DEBUG org.apache.commons.httpclient.params.DefaultHttpParams — Set parameter http.method.retry-handler = org.apache.commons.httpclient.DefaultHttpMethodRetryHandler@67ec28
2886 [main] DEBUG org.apache.commons.httpclient.params.DefaultHttpParams — Set parameter http.dateparser.patterns = [EEE, dd MMM yyyy HH:mm:ss zzz, EEEE, dd-MMM-yy HH:mm:ss zzz, EEE MMM d HH:mm:ss yyyy, EEE, dd-MMM-yyyy HH:mm:ss z, EEE, dd-MMM-yyyy HH-mm-ss z, EEE, dd MMM yy HH:mm:ss z, EEE dd-MMM-yyyy HH:mm:ss z, EEE dd MMM yyyy HH:mm:ss z, EEE dd-MMM-yyyy HH-mm-ss z, EEE dd-MMM-yy HH:mm:ss z, EEE dd MMM yy HH:mm:ss z, EEE,dd-MMM-yy HH:mm:ss z, EEE,dd-MMM-yyyy HH:mm:ss z, EEE, dd-MM-yyyy HH:mm:ss z]
2900 [main] DEBUG org.apache.commons.httpclient.HttpClient — Java version: 1.5.0_07
2901 [main] DEBUG org.apache.commons.httpclient.HttpClient — Java vendor: Apple Computer, Inc.
2901 [main] DEBUG org.apache.commons.httpclient.HttpClient — Java class path: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/
deploy.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/dt.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/plugin.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/sa-jdi.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/dt.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jconsole.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext/apple_provider.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext/dnsns.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext/localedata.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext/sunjce_provider.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext/sunpkcs11.jar:/Users/mpashkin/work/WebServices/trunk/bin:/Users/mpashkin/work/WebServices/trunk/lib/AOPortalUtilities_0.1.jar:/Users/mpashkin/work/WebServices/trunk/lib/axiom-api-1.2.5.jar:/Users/mpashkin/work/WebServices/trunk/lib/axiom-impl-1.2.5.jar:/Users/mpashkin/work/WebServices/trunk/lib/axis2-kernel-1.3.jar:/Users/mpashkin/work/WebServices/trunk/lib/commons-codec-1.3.jar:/Users/mpashkin/work/WebServices/trunk/lib/commons-httpclient-3.0.1.jar:/Users/mpashkin/work/WebServices/trunk/lib/commons-logging-1.1.jar:/Users/mpashkin/work/WebServices/trunk/lib/ibatis-common-2.jar:/Users/mpashkin/work/WebServices/trunk/lib/ibatis-sqlmap-2.jar:/Users/mpashkin/work/WebServices/trunk/lib/jaxen-1.1.1.jar:/Users/mpashkin/work/WebServices/trunk/lib/junit-4.0.jar:/Users/mpashkin/work/WebServices/trunk/lib/log4j-1.2.14.jar:/Users/mpashkin/work/WebServices/trunk/lib/pbjdbc_cb0.1.jar:/Users/mpashkin/work/WebServices/trunk/lib/stax-api-1.0.1.jar:/Users/mpashkin/work/WebServices/trunk/lib/wsdl4j-1.6.2.jar:/Users/mpashkin/work/WebServices/trunk/lib/wstx-asl-3.2.1.jar:/Users/mpashkin/work/WebServices/trunk/lib/XmlSchema-1.3.2.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar
2905 [main] DEBUG org.apache.commons.httpclient.HttpClient — Operating system name: Mac OS X
2905 [main] DEBUG org.apache.commons.httpclient.HttpClient — Operating system architecture: ppc
2906 [main] DEBUG org.apache.commons.httpclient.HttpClient — Operating system version: 10.4.10
3604 [main] DEBUG org.apache.commons.httpclient.HttpClient — SUN 1.5: SUN (DSA key/parameter generation; DSA signing; SHA-1, MD5 digests; SecureRandom; X.509 certificates; JKS keystore; PKIX CertPathValidator; PKIX CertPathBuilder; LDAP, Collection CertStores)
3605 [main] DEBUG org.apache.commons.httpclient.HttpClient — Apple 1.0: Apple Provider (implements DES, Triple DES, AES, Blowfish, PBE, Diffie-Hellman, HMAC/MD5, HMAC/SHA1)
3605 [main] DEBUG org.apache.commons.httpclient.HttpClient — SunRsaSign 1.5: Sun RSA signature provider
3605 [main] DEBUG org.apache.commons.httpclient.HttpClient — SunJSSE 1.5: Sun JSSE provider(PKCS12, SunX509 key/trust factories, SSLv3, TLSv1)
3606 [main] DEBUG org.apache.commons.httpclient.HttpClient — SunJCE 1.5: SunJCE Provider (implements RSA, DES, Triple DES, AES, Blowfish, ARCFOUR, RC2, PBE, Diffie-Hellman, HMAC)
3606 [main] DEBUG org.apache.commons.httpclient.HttpClient — SunJGSS 1.0: Sun (Kerberos v5)
3606 [main] DEBUG org.apache.commons.httpclient.HttpClient — SunSASL 1.5: Sun SASL provider(implements client mechanisms for: DIGEST-MD5, GSSAPI, EXTERNAL, PLAIN, CRAM-MD5; server mechanisms for: DIGEST-MD5, GSSAPI, CRAM-MD5)
3659 [main] DEBUG org.apache.commons.httpclient.params.DefaultHttpParams — Set parameter http.connection.timeout = 100000
3659 [main] DEBUG org.apache.commons.httpclient.params.DefaultHttpParams — Set parameter http.socket.timeout = 100000
3659 [main] DEBUG org.apache.commons.httpclient.params.DefaultHttpParams — Set parameter http.socket.timeout = 100000
3789 [main] DEBUG org.apache.axis2.transport.http.SOAPMessageFormatter — contentType from the OMOutputFormat =text/xml
3789 [main] DEBUG org.apache.axis2.transport.http.SOAPMessageFormatter — contentType returned =text/xml; charset=UTF-8
3868 [main] DEBUG org.apache.axis2.transport.http.AbstractHTTPSender — ProxyConfiguration
3947 [main] DEBUG org.apache.commons.httpclient.MultiThreadedHttpConnectionManager — HttpConnectionManager.getConnection: config = HostConfiguration[host=
http://127.0.0.1:8080, proxyHost=
http://192.168.1.1:3128], timeout = 0
3954 [main] DEBUG org.apache.commons.httpclient.MultiThreadedHttpConnectionManager — Allocating new connection, hostConfig=HostConfiguration[host=
http://127.0.0.1:8080, proxyHost=
http://192.168.1.1:3128]
3973 [main] DEBUG org.apache.commons.httpclient.HttpConnection — Open connection to 192.168.1.1:3128
8044 [main] DEBUG httpclient.wire.header — >> "POST
http://127.0.0.1:8080/axis2/services/OTAMessageService HTTP/1.1[\r][\n]"
8054 [main] DEBUG org.apache.commons.httpclient.HttpMethodBase — Adding Host request header
8122 [main] DEBUG httpclient.wire.header — >> "Content-Type: text/xml; charset=UTF-8[\r][\n]"
8123 [main] DEBUG httpclient.wire.header — >> "SOAPAction: "
urn:anonOutInOp"[\r][\n]"
8124 [main] DEBUG httpclient.wire.header — >> "User-Agent: Axis2[\r][\n]"
8124 [main] DEBUG httpclient.wire.header — >> "Host: 127.0.0.1:8080[\r][\n]"
8124 [main] DEBUG httpclient.wire.header — >> "Proxy-Connection: Keep-Alive[\r][\n]"
8125 [main] DEBUG httpclient.wire.header — >> "Transfer-Encoding: chunked[\r][\n]"
8126 [main] DEBUG httpclient.wire.header — >> "[\r][\n]"
8127 [main] DEBUG org.apache.axis2.transport.http.SOAPMessageFormatter — start writeTo()
8130 [main] DEBUG org.apache.axis2.transport.http.SOAPMessageFormatter — preserve=false
8130 [main] DEBUG org.apache.axis2.transport.http.SOAPMessageFormatter — isOptimized=false
8131 [main] DEBUG org.apache.axis2.transport.http.SOAPMessageFormatter — isDoingSWA=false
8167 [main] DEBUG org.apache.axiom.om.util.StAXUtils — XMLStreamWriter is com.ctc.wstx.sw.SimpleNsStreamWriter
<содержимое передаваемого xml файла упущено>
8516 [main] DEBUG org.apache.axis2.transport.http.SOAPMessageFormatter — end writeTo()
8517 [main] DEBUG org.apache.commons.httpclient.HttpMethodDirector — Closing the connection.
8556 [main] INFO org.apache.commons.httpclient.HttpMethodDirector — I/O exception (org.apache.axis2.AxisFault) caught when processing request: Broken pipe
8561 [main] DEBUG org.apache.commons.httpclient.HttpMethodDirector — Broken pipe
org.apache.axis2.AxisFault: Broken pipe
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
at org.apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageFormatter.java:72)
at org.apache.axis2.transport.http.AxisRequestEntity.writeRequest(AxisRequestEntity.java:84)
at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:495)
at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1973)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:520)
at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:191)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:327)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:206)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:374)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:528)
at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:508)
at com.aoi.ws.clients.test.SoapTestClient.sendMessage(SoapTestClient.java:166)
at com.aoi.ws.clients.test.SoapTestClient.main(SoapTestClient.java:64)