帮你up一下,我也遇到一个同样问题,我是这样的:
类p1.A中的方法a1返回类型为:p2.B(B也是我自己写的类),然后我用JB9导出web service时,出错:
WSDLException: faultCode=OTHER_ERROR: Can 't find prefix for
' http://p2'. Namespace prefixes must be set on the Definition
object using the addNamespace(...) method.: