###报错信息[com.sun.istack.SAXParseException2; lineNumber: 6; columnNumber: 10; 意外的元素 (uri:"", local:"arg0")。所需元素为<{}strxml>] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl_意外的元素 (uri">
赞
踩
###报错信息
[com.sun.istack.SAXParseException2; lineNumber: 6; columnNumber: 10; 意外的元素 (uri:"", local:"arg0")。所需元素为<{}strxml>]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(UnmarshallerImpl.java:483)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:417)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:394)
at org.apache.cxf.jaxb.JAXBEncoderDecoder.doUnmarshal(JAXBEncoderDecoder.java:855)
at org.apache.cxf.jaxb.JAXBEncoderDecoder.access$100(JAXBEncoderDecoder.java:102)
at org.apache.cxf.jaxb.JAXBEncoderDecoder$2.run(JAXBEncoderDecoder.java:894)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:892)
... 37 more
public interFace aa{
getString(@WebParam(name="name")String Str);
}
服务端指定了参数名
而客户端上删除
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。