avatar
spring web service issue# Java - 爪哇娇娃
c*t
1
Any one here doing spring ws?
The incoming SOAP request looks like:

http://aa.com/aa/service">
abcabc
centOS


The Endpoint mapping is defined as:
@PayloadRoot(localPart= "TransactionRequest", namespace="http://aa.com/aa/service)
However, get following error:
2011-05-12 17:45:05,795 [DEBUG] (WebServiceMessageReceiverObjectSupport.java
HttpServletC [email protected]] at [http://192.168.101.24:8080/hnfsWebService2]
2011-05-12 17:45:05,828 [DEBUG] (FrameworkServlet.java:671) ----- Could not
complete request
org.springframework.ws.soap.saaj.SaajSoapEnvelopeE xception: Could not
access envelope: Unable to create envelope from given source: ; nested
exception is com.sun.xml.internal.messaging.saaj.SOAPExceptionI mpl: Unable
to create envelope from given source:
at org.springframework.ws.soap.saaj.SaajSoapMessage.g etSaajVersion(
SaajSoapMessage.java:260)
at org.springframework.ws.soap.saaj.SaajSoapMessage.g etImplementation(
SaajSoapMessage.java:342)
at org.springframework.ws.soap.saaj.SaajSoapMessage.< init>(SaajSoapMessage.
java:117)
at org.springframework.ws.soap.saaj.SaajSoapMessageFa ctory.
createWebServiceMessage(SaajSoapMessageFacto ry.java:184)
at org.springframework.ws.soap.saaj.SaajSoapMessageFa ctory.
createWebServiceMessage(SaajSoapMessageFacto ry.java:58)
at org.springframework.ws.transport.AbstractWebServic eConnection.receive(
AbstractWebServiceConnection.j ava:90)
at org.springframework.ws.transport.support.WebServic
eMessageReceiverObjectSupport.handleConnection
=====================================================
It works if I change the incoming SOAP request as:

http://aa.com/aa/service">
abcabc
centOS


==================================================
Anything I should do so the WS can handle the original request, since the
request is coming from client(trading parter), we have no control how they
generate the SOAP message.
thanks!
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。