wsdl cxf-紧急求助oagis.9.unqualifieddatatypes.1.1.xsd

问题描述

紧急求助oagis.9.unqualifieddatatypes.1.1.xsd

2015-11-24 14:29:48,651 ERROR [SoapUI] An error occurred [error: cos-ct-extends.1.4.1: This type extends a base type 'TextType@http://www.openapplications.org/oagis/9/unqualifieddatatypes/1.1' which has simpleContent. In that case this type cannot add particles.], see error log for details
2015-11-24 14:29:48,651 ERROR [errorlog] org.apache.xmlbeans.XmlException: error: cos-ct-extends.1.4.1: This type extends a base type 'TextType@http://www.openapplications.org/oagis/9/unqualifieddatatypes/1.1' which has simpleContent. In that case this type cannot add particles.
org.apache.xmlbeans.XmlException: error: cos-ct-extends.1.4.1: This type extends a base type 'TextType@http://www.openapplications.org/oagis/9/unqualifieddatatypes/1.1' which has simpleContent. In that case this type cannot add particles.
at org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compile(SchemaTypeSystemCompiler.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.xmlbeans.XmlBeans.compileXmlBeans(XmlBeans.java:667)
at org.apache.xmlbeans.XmlBeans.compileXsd(XmlBeans.java:553)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.buildSchemaTypes(SchemaUtils.java:260)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.loadSchemaTypes(SchemaUtils.java:179)
at com.eviware.soapui.impl.support.definition.support.XmlSchemaBasedInterfaceDefinition.loadSchemaTypes(XmlSchemaBasedInterfaceDefinition.java:74)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlInterfaceDefinition.load(WsdlInterfaceDefinition.java:57)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.loadDefinition(WsdlContext.java:62)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.loadDefinition(WsdlContext.java:34)
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext.cacheDefinition(AbstractDefinitionContext.java:246)
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext.access$400(AbstractDefinitionContext.java:48)
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext$Loader.construct(AbstractDefinitionContext.java:219)
at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:46)
at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:131)
at java.lang.Thread.run(Unknown Source)
使用cxf发布webservice之后,使用soapui调用出现如下问题:
2015-11-24 14:29:48,652 WARN [SchemaUtils] Error: error: cos-ct-extends.1.4.1: This type extends a base type 'TextType@http://www.openapplications.org/oagis/9/unqualifieddatatypes/1.1' which has simpleContent. In that case this type cannot add particles.
2015-11-24 14:29:48,652 WARN [SchemaUtils] Error: error: cos-ct-extends.1.4.1: This type extends a base type 'TextType@http://www.openapplications.org/oagis/9/unqualifieddatatypes/1.1' which has simpleContent. In that case this type cannot add particles.

代码:
@WebService(targetNamespace = "urn:com:onstar:global:common:wsdl:ProcessLocationService:1")
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
public interface ProcessLocationServiceServicePortType {

/**
 *
 * @param processLocationService
 * @param security
 * @param serviceControl
 * @return
 *     returns com.onstar.global.common.schema.locationservice._1.AcknowledgeLocationServiceType
 * @throws ProcessLocationServiceFault
 */
@WebMethod(operationName = "ProcessLocationService", action = "ProcessLocationService")
@WebResult(name = "AcknowledgeLocationService"
        , targetNamespace = "urn:com:onstar:global:common:schema:LocationService:1"
        , partName = "AcknowledgeLocationService")
public AcknowledgeLocationServiceType processLocationService(
    @WebParam(name = "ProcessLocationService"
            , targetNamespace = "urn:com:onstar:global:common:schema:LocationService:1"
            , partName = "ProcessLocationService")
    ProcessLocationServiceType processLocationService,

    @WebParam(name = "Security"
            , targetNamespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"

// , targetNamespace = "urn:org:oasis:open:docs:wss:_2004:_01:oasis_200401_wss_wssecurity_secext_1_0"
, header = true
, partName = "Security")
SecurityHeaderType security,

    @WebParam(name = "ServiceControl"
            , targetNamespace = "urn:com:onstar:global:common:schema:ServiceControl:2"
            , header = true
            , mode = WebParam.Mode.INOUT
            , partName = "ServiceControl")
    Holder<ServiceControlType> serviceControl)
    throws ProcessLocationServiceFault
;

}

@WebService(name = "ProcessLocationServiceServicePortType"
, serviceName = "ProcessLocationServiceRS_Service"
, targetNamespace = "urn:com:onstar:global:common:wsdl:ProcessLocationService:1"
, endpointInterface = "com.onstar.global.common.wsdl.processlocationservice._1.ProcessLocationServiceServicePortType")
@BindingType(value = SOAPBinding.SOAP12HTTP_BINDING)
@Service(value = "processLocationServiceServicePortType")
public class ProcessGeoFencingServicePortTypeImpl implements ProcessLocationServiceServicePortType {

public static final Logger logger = LoggerFactory
        .getLogger(ProcessGeoFencingServicePortTypeImpl.class);

@Autowired
private ProcessGeoFencingProcessor processGeoFencingProcessor;

@Override
public AcknowledgeLocationServiceType processLocationService(ProcessLocationServiceType processLocationService, SecurityHeaderType security, Holder<ServiceControlType> serviceControl) throws ProcessLocationServiceFault {
    logger.info("get request......");
    checkSecurityHead(security);
    logger.info("Start to check process geo fencing request");
    AcknowledgeLocationServiceType acknowledgeLocationServiceType = new AcknowledgeLocationServiceType();
    AcknowledgeLocationServiceDataAreaType acknowledgeLocationServiceDataAreaType = new AcknowledgeLocationServiceDataAreaType();
    AcknowledgeType acknowledgeType = new AcknowledgeType();
    List<ResponseActionCriteriaType> responseActionCriteriaTypeList = acknowledgeType.getResponseCriteria();
    ResponseActionCriteriaType responseActionCriteriaType = new ResponseActionCriteriaType();
    ChangeStatusType changeStatusType = checkProcessReq(processLocationService);
    if (!"0000".equals(changeStatusType.getCode().getValue())) {
        responseActionCriteriaType.setChangeStatus(changeStatusType);
        responseActionCriteriaTypeList.add(responseActionCriteriaType);
        acknowledgeType.getResponseCriteria().addAll(responseActionCriteriaTypeList);
        acknowledgeLocationServiceDataAreaType.setAcknowledge(acknowledgeType);
        acknowledgeLocationServiceType.setDataArea(acknowledgeLocationServiceDataAreaType);
        return acknowledgeLocationServiceType;
    }
    logger.info("Start to process geo fencing request");
    return processGeoFencingProcessor.processLocationService(processLocationService, security, serviceControl);

}
时间: 2024-10-25 21:11:21

wsdl cxf-紧急求助oagis.9.unqualifieddatatypes.1.1.xsd的相关文章

一个用Java调用XSLT转换XML的问题,紧急求助啊~~

问题描述 各位大虾,紧急求助啊,目前项目中需要用Java自带的Transformer调用xslt来转换xml格式,其中xml文档示例如下:<oa9:root><oa9:person><oa9:name>abner</oa9:name><eims2:sex>male</eims2:sex><oa9:age>29</oa9:age></oa9:person></oa9:root>如大家看到的

mysql双主问题-紧急求助:生产环境,mysql双主结构,备机同步DDL语句成功,但是同步DML语句失败

问题描述 紧急求助:生产环境,mysql双主结构,备机同步DDL语句成功,但是同步DML语句失败 问题描述:双主架构环境,最近在主机上执行DDL语句能成功同步到备机,但是在主机上执行DML语句失败,请各位帮忙看一下,谢谢! Linux版本: Red Hat Enterprise Linux Server release 5.4 (Tikanga) mysql版本 +----------------------------+ | @@version | +---------------------

120,紧急求助,WP,“NullReferenceException”异常

问题描述 总体描述,要实现的功能是一个网址收藏夹的功能,添加标题,简介和网址,将信息存储在独立存储空间,以"Collection"的形式.然后将独立存储空间中的数据绑定到页面"Pivot"的ListBox上,点击ListBox中的某一项,用浏览器打开相应的网址.1.添加的过程(这个没问题):if(!Collections.Favs.GetInstance().CheckExist(BodyTitle.Text,WebSite.Text)){CollectionIte

[紧急求助]asp.net的ajax设置超时后触发的事件

问题描述 [紧急求助][高分]asp.net的ajax设置超时后触发的事件asp.net的ajax中的AsyncPostBackTimeout设置超时为20秒,让它快点超时(因为有的客户等不了那么久),但它超时后只在浏览器的左下角出现错误提示,不会触发它的AsyncPostBackError的错误事件.用了try,catch只能捕获到错误,不能捕获超时.请高手帮帮忙 解决方案 解决方案二:AjaxPro.timeoutPeriod=1000*60*60;//单位是毫秒可以在页面Load事件中通过

mysql-【紧急求助】linux服务器MYSQL无规律的自动终止,导致网站无法运行

问题描述 [紧急求助]linux服务器MYSQL无规律的自动终止,导致网站无法运行 MYSQL没有任何规律的自动终止,研究了几天还没有解决,麻烦哪位大哥帮出点招 解决方案 可以写个脚本监控一下3306端口,如果mysql挂掉了就用脚本直接重启一下服务. 然后Linux定时任务每多长时间就去监控一下. 不过最终解决办法还是要找到为啥mysql会挂掉啊. 解决方案二: 是的,要找到原因,才能彻底解决这个问题 解决方案三: 估计是挂掉了,,,, 解决方案四: 要重装MYSQL? 昨天下午我从起服务器之

c++-紧急求助,刚接触这个,可能有点弱,不好意思

问题描述 紧急求助,刚接触这个,可能有点弱,不好意思 1.cppF:C++函数21.cpp(4) : error C2065: 'pstar' : undeclared identifierF:C++函数21.cpp(7) : error C2373: 'pstar' : redefinition; different type modifiers这是什么意思????怎么错的?#include void main(){ pstar();}void pstar(){ int i; for(i=1;

空间-紧急求助-(关于建立个人网站)

问题描述 紧急求助-(关于建立个人网站) 小弟是个建站方面的小白,又没有找到相关书籍,所以在这里向各位大哥请教下.具体说下.小弟想建立一个个人网站,并且使用本机做空间.现在已经购买了网站域名.然后绑定了本机IP.但是接下来就不知道怎么办了.怎么访问代码.怎么通过域名访问我的文件.==可能问题比较多.希望那个大神能把整个流程详细说下.小弟这里先谢谢咯. 解决方案 最好是买一个VPS,每个月只要几十元,省掉电费网费其实并不贵. 用自己的PC做服务器有几个问题,一个是确保运营商给你分配了公网IP.这个

[紧急求助]内网Win Server2008部署站点,域名访问时在IE中Cookie丢失

问题描述 [紧急求助]内网WinServer2008部署站点,域名访问时在IE中Cookie丢失我在公司内网的一台WindowsServer2008服务器上部署了一个mvc的站点(结合一个CMS:Sitefinity),设置了域名并修改host实现域名访问(内含子站点).然后发现通过FF,Chorme等都能通过该域名正常访问并登陆.但是IE下通过域名访问就会Cookie丢失,所以也不能登录,直接IP加端口就不会丢失cookie.IE中域名访问时可以看到请求里面有接收到cookie,但是点击"开发

紧急求助一个jquery mobile问题

问题描述 紧急求助一个jquery mobile问题 场景是这样的: 一个页面中有两个page如下 <div data-role=""page"" id=""page""> <div data-role=""header""data-position=""fixed""> <a href=""#in