由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - spring web service issue
相关主题
新手问题 -- web service怎么Authentication and Authorization两种方式有什么不同
如何设置java和flex的调试环境?maven,struts求助
Question: EJB Web Services Integrationmultiple PropertyPlaceHolderConfigurer in spring applicationContext.xml?
deserializer probelm.Ignore upper. ThxSpring的新手问题
a stupid question求OpenShift上Spring-quickstart的mysql配置方法
能这样编网站吗?Spring菜鸟求救
让大家了解工业界Java/J2EE面试题的难度servlet-mapping causing http 404 error
Anyone know SAML 2.0 and OpenSAML ?JSF is actually fucking cool
相关话题的讨论汇总
话题: edi278话题: soapenv话题: body
进入Java版参与讨论
1 (共1页)
c*********t
发帖数: 9
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 onnection@43ad4a] 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!
1 (共1页)
进入Java版参与讨论
相关主题
JSF is actually fucking coola stupid question
菜鸟问问题?能这样编网站吗?
在AWS如何作测试让大家了解工业界Java/J2EE面试题的难度
TreeMap, TreeSet原来用起来这么爽Anyone know SAML 2.0 and OpenSAML ?
新手问题 -- web service怎么Authentication and Authorization两种方式有什么不同
如何设置java和flex的调试环境?maven,struts求助
Question: EJB Web Services Integrationmultiple PropertyPlaceHolderConfigurer in spring applicationContext.xml?
deserializer probelm.Ignore upper. ThxSpring的新手问题
相关话题的讨论汇总
话题: edi278话题: soapenv话题: body