Package org.apache.soap.util.xml

Examples of org.apache.soap.util.xml.QName


        Trc.entry(this, elementType, encodingStyleURI);
        Deserializer deser = null;
        if (elementType != null
            && elementType.getNamespaceURI().equals(
                WSIFConstants.NS_URI_SOAP_ENC)) {
            QName qn = getEquivalentXSDSimpleType(elementType);
            if (qn != null) {
              deser = super.queryDeserializer_(qn, encodingStyleURI);
            }
        }
        if (deser == null) {
View Full Code Here


        if (lp == null) {
          return null;
        }
       
        if (lp.equals("string")) {
          return new QName(WSIFConstants.NS_URI_2001_SCHEMA_XSD, "string");
        } else if (lp.equals("boolean")) {
          return new QName(WSIFConstants.NS_URI_2001_SCHEMA_XSD, "boolean");
        } else if (lp.equals("float")) {
          return new QName(WSIFConstants.NS_URI_2001_SCHEMA_XSD, "float");
        } else if (lp.equals("double")) {
          return new QName(WSIFConstants.NS_URI_2001_SCHEMA_XSD, "double");
        } else if (lp.equals("decimal")) {
          return new QName(WSIFConstants.NS_URI_2001_SCHEMA_XSD, "decimal");
        } else if (lp.equals("int")) {
          return new QName(WSIFConstants.NS_URI_2001_SCHEMA_XSD, "int");
        } else if (lp.equals("short")) {
          return new QName(WSIFConstants.NS_URI_2001_SCHEMA_XSD, "short");
        } else if (lp.equals("byte")) {
          return new QName(WSIFConstants.NS_URI_2001_SCHEMA_XSD, "byte");
        } else if (lp.equals("base64")) {
          return new QName(WSIFConstants.NS_URI_2001_SCHEMA_XSD, "base64Binary");
        } else {
          return null;
        }      
    }
View Full Code Here

    // set up mappings to send/recv DeploymentDescriptor and TypeMapping
    // objects
    smsdd.setMappings (new TypeMapping[] {
      new TypeMapping (Constants.NS_URI_SOAP_ENC,
           new QName (Constants.NS_URI_XML_SOAP,
          "DeploymentDescriptor"),
           "org.apache.soap.server.DeploymentDescriptor",
           "org.apache.soap.encoding.soapenc.BeanSerializer",
           "org.apache.soap.encoding.soapenc.BeanSerializer"),
      new TypeMapping (Constants.NS_URI_SOAP_ENC,
           new QName (Constants.NS_URI_XML_SOAP,
          "TypeMapping"),
           "org.apache.soap.server.TypeMapping",
           "org.apache.soap.server.TypeMappingSerializer",
           "org.apache.soap.server.TypeMappingSerializer")});
View Full Code Here

    // Building the Call object for sending the requests:
    SOAPMappingRegistry mappingReg = new SOAPMappingRegistry();
    BeanSerializer beanSer = new BeanSerializer();

    mappingReg.mapTypes(Constants.NS_URI_SOAP_ENC,
                        new QName("urn:ProxyService", "AbstractJmsRequest"),
                                  AbstractJmsRequest.class, beanSer, beanSer);
    mappingReg.mapTypes(Constants.NS_URI_SOAP_ENC,
                        new QName("urn:ProxyService", "CnxConnectRequest"),
                                  CnxConnectRequest.class, beanSer, beanSer);
    mappingReg.mapTypes(Constants.NS_URI_SOAP_ENC,
                        new QName("urn:ProxyService", "CnxStartRequest"),
                                  CnxStartRequest.class, beanSer, beanSer);
    mappingReg.mapTypes(Constants.NS_URI_SOAP_ENC,
                        new QName("urn:ProxyService", "CnxStopRequest"),
                                  CnxStopRequest.class, beanSer, beanSer);
    mappingReg.mapTypes(Constants.NS_URI_SOAP_ENC,
                        new QName("urn:ProxyService", "CnxCloseRequest"),
                                  CnxCloseRequest.class, beanSer, beanSer);
    mappingReg.mapTypes(Constants.NS_URI_SOAP_ENC,
                        new QName("urn:ProxyService", "ConsumerAckRequest"),
                                  ConsumerAckRequest.class, beanSer, beanSer);
    mappingReg.mapTypes(Constants.NS_URI_SOAP_ENC,
                        new QName("urn:ProxyService", "ConsumerDenyRequest"),
                                  ConsumerDenyRequest.class, beanSer, beanSer);
    mappingReg.mapTypes(Constants.NS_URI_SOAP_ENC,
                        new QName("urn:ProxyService",
                                  "ConsumerReceiveRequest"),
                                  ConsumerReceiveRequest.class, beanSer,
                                  beanSer);
    mappingReg.mapTypes(Constants.NS_URI_SOAP_ENC,
                        new QName("urn:ProxyService",
                                  "ConsumerSetListRequest"),
                                  ConsumerSetListRequest.class, beanSer,
                                  beanSer);
    mappingReg.mapTypes(Constants.NS_URI_SOAP_ENC,
                        new QName("urn:ProxyService",
                                  "ConsumerUnsetListRequest"),
                                  ConsumerUnsetListRequest.class, beanSer,
                                  beanSer);
    mappingReg.mapTypes(Constants.NS_URI_SOAP_ENC,
                        new QName("urn:ProxyService", "ConsumerSubRequest"),
                                  ConsumerSubRequest.class, beanSer, beanSer);
    mappingReg.mapTypes(Constants.NS_URI_SOAP_ENC,
                        new QName("urn:ProxyService", "ConsumerUnsubRequest"),
                                  ConsumerUnsubRequest.class,
                                  beanSer, beanSer);
    mappingReg.mapTypes(Constants.NS_URI_SOAP_ENC,
                        new QName("urn:ProxyService",
                                  "ConsumerCloseSubRequest"),
                                  ConsumerCloseSubRequest.class, beanSer,
                                  beanSer);
    mappingReg.mapTypes(Constants.NS_URI_SOAP_ENC,
                        new QName("urn:ProxyService", "QBrowseRequest"),
                                  QBrowseRequest.class, beanSer, beanSer);
    mappingReg.mapTypes(Constants.NS_URI_SOAP_ENC,
                        new QName("urn:ProxyService", "SessAckRequest"),
                                  SessAckRequest.class, beanSer, beanSer);
    mappingReg.mapTypes(Constants.NS_URI_SOAP_ENC,
                        new QName("urn:ProxyService", "SessDenyRequest"),
                                  SessDenyRequest.class, beanSer, beanSer);
    mappingReg.mapTypes(Constants.NS_URI_SOAP_ENC,
                        new QName("urn:ProxyService", "SessCreateDestRequest"),
                                  SessCreateDestRequest.class, beanSer, beanSer);
    mappingReg.mapTypes(Constants.NS_URI_SOAP_ENC,
                        new QName("urn:ProxyService", "TempDestDeleteRequest"),
                                  TempDestDeleteRequest.class, beanSer,
                                  beanSer);
    mappingReg.mapTypes(Constants.NS_URI_SOAP_ENC,
                        new QName("urn:ProxyService", "GetAdminTopicRequest"),
                                  GetAdminTopicRequest.class, beanSer,
                                  beanSer);

    sendCall = new Call();
    sendCall.setSOAPMappingRegistry(mappingReg);
    sendCall.setTargetObjectURI("urn:ProxyService");
    sendCall.setMethodName("send");
    sendCall.setEncodingStyleURI(Constants.NS_URI_SOAP_ENC);

    mappingReg = new SOAPMappingRegistry();
    mappingReg.mapTypes(Constants.NS_URI_SOAP_ENC,
                        new QName("urn:ProxyService", "AbstractJmsReply"),
                                  AbstractJmsReply.class, beanSer, beanSer);
    mappingReg.mapTypes(Constants.NS_URI_SOAP_ENC,
                        new QName("urn:ProxyService", "CnxConnectReply"),
                                  CnxConnectReply.class, beanSer, beanSer);
    mappingReg.mapTypes(Constants.NS_URI_SOAP_ENC,
                        new QName("urn:ProxyService", "ServerReply"),
                                  ServerReply.class, beanSer, beanSer);
    mappingReg.mapTypes(Constants.NS_URI_SOAP_ENC,
                        new QName("urn:ProxyService", "SessCreateTDReply"),
                                  SessCreateDestReply.class, beanSer, beanSer);
    mappingReg.mapTypes(Constants.NS_URI_SOAP_ENC,
                        new QName("urn:ProxyService", "CnxCloseReply"),
                                  CnxCloseReply.class, beanSer, beanSer);
    mappingReg.mapTypes(Constants.NS_URI_SOAP_ENC,
                        new QName("urn:ProxyService", "GetAdminTopicReply"),
                                  GetAdminTopicReply.class, beanSer, beanSer);

    receiveCall = new Call();
    receiveCall.setSOAPMappingRegistry(mappingReg);
    receiveCall.setTargetObjectURI("urn:ProxyService");
View Full Code Here

    int i = 0;

    mappings[i++] =
      new TypeMapping(encoding,
                      new QName("urn:ProxyService", "AbstractJmsRequest"),
                      "org.objectweb.joram.shared.client.AbstractJmsRequest",
                      bSerializer, bSerializer);
    mappings[i++] =
      new TypeMapping(encoding,
                      new QName("urn:ProxyService", "CnxConnectRequest"),
                      "org.objectweb.joram.shared.client.CnxConnectRequest",
                      bSerializer, bSerializer);
    mappings[i++] =
      new TypeMapping(encoding,
                      new QName("urn:ProxyService", "CnxStartRequest"),
                      "org.objectweb.joram.shared.client.CnxStartRequest",
                      bSerializer, bSerializer);
    mappings[i++] =
      new TypeMapping(encoding,
                      new QName("urn:ProxyService", "CnxStopRequest"),
                      "org.objectweb.joram.shared.client.CnxStopRequest",
                      bSerializer, bSerializer);
    mappings[i++] =
      new TypeMapping(encoding,
                      new QName("urn:ProxyService", "CnxCloseRequest"),
                      "org.objectweb.joram.shared.client.CnxCloseRequest",
                      bSerializer, bSerializer);
    mappings[i++] =
      new TypeMapping(encoding,
                      new QName("urn:ProxyService", "ConsumerAckRequest"),
                      "org.objectweb.joram.shared.client.ConsumerAckRequest",
                      bSerializer, bSerializer);
    mappings[i++] =
      new TypeMapping(encoding,
                      new QName("urn:ProxyService", "ConsumerDenyRequest"),
                      "org.objectweb.joram.shared.client.ConsumerDenyRequest",
                      bSerializer, bSerializer);
    mappings[i++] =
      new TypeMapping(encoding,
                      new QName("urn:ProxyService", "ConsumerReceiveRequest"),
                      "org.objectweb.joram.shared.client.ConsumerReceiveRequest",
                      bSerializer, bSerializer);
    mappings[i++] =
      new TypeMapping(encoding,
                      new QName("urn:ProxyService", "ConsumerSetListRequest"),
                      "org.objectweb.joram.shared.client.ConsumerSetListRequest",
                      bSerializer, bSerializer);
    mappings[i++] =
       new TypeMapping(encoding,
                       new QName("urn:ProxyService",
                                 "ConsumerUnsetListRequest"),
                       "org.objectweb.joram.shared.client.ConsumerUnsetListRequest",
                       bSerializer, bSerializer);
    mappings[i++] =
      new TypeMapping(encoding,
                      new QName("urn:ProxyService", "ConsumerSubRequest"),
                      "org.objectweb.joram.shared.client.ConsumerSubRequest",
                      bSerializer, bSerializer);
    mappings[i++] =
      new TypeMapping(encoding,
                      new QName("urn:ProxyService", "ConsumerCloseSubRequest"),
                      "org.objectweb.joram.shared.client.ConsumerCloseSubRequest",
                      bSerializer, bSerializer);
    mappings[i++] =
      new TypeMapping(encoding,
                      new QName("urn:ProxyService", "ConsumerUnsubRequest"),
                      "org.objectweb.joram.shared.client.ConsumerUnsubRequest",
                      bSerializer, bSerializer);
    mappings[i++] =
      new TypeMapping(encoding,
                      new QName("urn:ProxyService", "QBrowseRequest"),
                      "org.objectweb.joram.shared.client.QBrowseRequest",
                      bSerializer, bSerializer);
    mappings[i++] =
      new TypeMapping(encoding,
                      new QName("urn:ProxyService", "SessAckRequest"),
                      "org.objectweb.joram.shared.client.SessAckRequest",
                      bSerializer, bSerializer);
    mappings[i++] =
      new TypeMapping(encoding,
                      new QName("urn:ProxyService", "SessDenyRequest"),
                      "org.objectweb.joram.shared.client.SessDenyRequest",
                      bSerializer, bSerializer);
    mappings[i++] =
      new TypeMapping(encoding,
                      new QName("urn:ProxyService", "SessCreateTQRequest"),
                      "org.objectweb.joram.shared.client.SessCreateTQRequest",
                      bSerializer, bSerializer);
    mappings[i++] =
      new TypeMapping(encoding,
                      new QName("urn:ProxyService", "SessCreateTTRequest"),
                      "org.objectweb.joram.shared.client.SessCreateTTRequest",
                      bSerializer, bSerializer);
    mappings[i++] =
      new TypeMapping(encoding,
                      new QName("urn:ProxyService", "TempDestDeleteRequest"),
                      "org.objectweb.joram.shared.client.TempDestDeleteRequest",
                      bSerializer, bSerializer);
    mappings[i++] =
      new TypeMapping(encoding,
                      new QName("urn:ProxyService", "GetAdminTopicRequest"),
                      "org.objectweb.joram.shared.client.GetAdminTopicRequest",
                      bSerializer, bSerializer);
    mappings[i++] =
      new TypeMapping(encoding,
                      new QName("urn:ProxyService", "AbstractJmsReply"),
                      "org.objectweb.joram.shared.client.AbstractJmsReply",
                      bSerializer, bSerializer);
    mappings[i++] =
      new TypeMapping(encoding,
                      new QName("urn:ProxyService", "ServerReply"),
                      "org.objectweb.joram.shared.client.ServerReply",
                      bSerializer, bSerializer);
    mappings[i++] =
      new TypeMapping(encoding,
                      new QName("urn:ProxyService", "MomExceptionReply"),
                      "org.objectweb.joram.shared.client.MomExceptionReply",
                      bSerializer, bSerializer);
    mappings[i++] =
      new TypeMapping(encoding,
                      new QName("urn:ProxyService", "CnxConnectReply"),
                      "org.objectweb.joram.shared.client.CnxConnectReply",
                      bSerializer, bSerializer);
    mappings[i++] =
      new TypeMapping(encoding,
                      new QName("urn:ProxyService", "CnxCloseReply"),
                      "org.objectweb.joram.shared.client.CnxCloseReply",
                      bSerializer, bSerializer);
    mappings[i++] =
      new TypeMapping(encoding,
                      new QName("urn:ProxyService", "SessCreateTDReply"),
                      "org.objectweb.joram.shared.client.SessCreateTDReply",
                      bSerializer, bSerializer);
    mappings[i++] =
      new TypeMapping(encoding,
                      new QName("urn:ProxyService", "GetAdminTopicReply"),
                      "org.objectweb.joram.shared.client.GetAdminTopicReply",
                      bSerializer, bSerializer);

    return mappings;
  }
View Full Code Here

TOP

Related Classes of org.apache.soap.util.xml.QName

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.