Skip to Main Content

Chinese

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

高手指教:weblogic7.0上开发webservice的问题,多谢!

702619Apr 12 2004 — edited Jul 5 2004
我在用weblogic7.0开发webservice应用时,遇到了几个问题,具体情况是:
1)我在webservice的方法中返回值为ArrayList,且ArrayList中若包含一些自定义类型,如javabean时,部署完成后,从确省的访问页执行此方法,出现下列错误信息:
javax.xml.soap.SOAPException: failed to deserialize xml:weblogic.xml.schema.binding.DeserializationException: mapping lookup failure. type=['http://www.w3.org/2001/XMLSchema']:anyType schema context=TypedSchemaContext{javaType=javax.xml.soap.SOAPElement}

注:但是若单独返回这个javabean没有问题

2)另外,如果返回的数据对象中包含中文数据的话,也会出现错误,具体信息如下:javax.xml.rpc.soap.SOAPFaultException: Error reading the response from: http://192.0.2.211:7001/basic_javaclass/HelloWorld. Please ensure that this is a valid SOAP response. The message was: l?q èq:œÔ
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 17 2004
Added on Apr 12 2004
9 comments
1,796 views