0 0

求帮忙看看weblogic 12C 部署CXF webservice问题5

项目的一个中间层系统需要发布到weblogic 12C上,该系统中有一模块涉及入库,但该模块的wsdl通过CXF的wsdl2java生成客户端的时候报
cxfWSDLToJavaClient:
     [java] WSDLToJava Error: http://localhost:7001/operationHub/hubForUserMgt?wsdl=WebServiceForUserMgt.wsdl#types1 [0,0]: undefined simple or complex type 'userInfo'
     [java] http://localhost:7001/operationHub/hubForUserMgt?wsdl=WebServiceForUserMgt.wsdl#types1 [0,0]: undefined simple or complex type 'methodAccess'
     [java] http://localhost:7001/operationHub/hubForUserMgt?wsdl=WebServiceForUserMgt.wsdl#types1 [0,0]: undefined simple or complex type 'userInfoResponse'
     [java] http://localhost:7001/operationHub/hubForUserMgt?wsdl=WebServiceForUserMgt.wsdl#types1 [0,0]: undefined simple or complex type 'userInfo'
     [java] http://localhost:7001/operationHub/hubForUserMgt?wsdl=WebServiceForUserMgt.wsdl#types1 [0,0]: undefined simple or complex type 'userType'
     [java] http://localhost:7001/operationHub/hubForUserMgt?wsdl=WebServiceForUserMgt.wsdl#types1 [0,0]: undefined simple or complex type 'userInfo'
     [java] http://localhost:7001/operationHub/hubForUserMgt?wsdl=WebServiceForUserMgt.wsdl#types1 [0,0]: undefined simple or complex type 'userInfo'
     [java] http://localhost:7001/operationHub/hubForUserMgt?wsdl=WebServiceForUserMgt.wsdl#types1 [0,0]: undefined simple or complex type 'methodAccess'
     [java] http://localhost:7001/operationHub/hubForUserMgt?wsdl=WebServiceForUserMgt.wsdl#types1 [0,0]: undefined simple or complex type 'userInfo'
     [java] http://localhost:7001/operationHub/hubForUserMgt?wsdl=WebServiceForUserMgt.wsdl#types1 [0,0]: undefined simple or complex type 'userInfo'
     [java] http://localhost:7001/operationHub/hubForUserMgt?wsdl=WebServiceForUserMgt.wsdl#types1 [0,0]: undefined simple or complex type 'methodAccess'
     [java] http://localhost:7001/operationHub/hubForUserMgt?wsdl=WebServiceForUserMgt.wsdl#types2 [0,0]: undefined simple or complex type 'userInfo'
唯独此wsdl有问题其他wsdl都没问题,百思不得其解啊
求大神帮忙看看,谢谢!
SOA 
2013年4月08日 15:47

1个答案 按时间排序 按投票排序

0 0

错误提示很明显了,你这个wsdl里面提示几个字段类型没有定义

2013年4月13日 08:50

相关推荐

Global site tag (gtag.js) - Google Analytics