Package org.jboss.ws.core.soap

Examples of org.jboss.ws.core.soap.XMLFragment.toElement()


         Result result = ser.serialize(xmlName, xmlType, faultObject, serContext, null);
         XMLFragment xmlFragment = new XMLFragment(result);
         String xmlStr = xmlFragment.toXMLString();
         log.debug("Fault detail: " + xmlStr);

         Element domElement = xmlFragment.toElement();
         SOAPFactoryImpl soapFactory = new SOAPFactoryImpl();
         return soapFactory.createElement(domElement);
      }
      catch (BindingException e)
      {
View Full Code Here


         Result result = ser.serialize(xmlName, xmlType, faultObject, serContext, null);
         XMLFragment xmlFragment = new XMLFragment(result);
         String xmlStr = xmlFragment.toXMLString();
         log.debug("Fault detail: " + xmlStr);

         Element domElement = xmlFragment.toElement();
         SOAPFactoryImpl soapFactory = new SOAPFactoryImpl();
         return soapFactory.createElement(domElement);
      }
      catch (BindingException e)
      {
View Full Code Here

/*  97 */           XMLFragment xmlFragment = new XMLFragment(source);
/*  98 */           bodyElement.setXMLFragment(xmlFragment);
/*     */
/* 101 */           if (this.validateDispatch)
/*     */           {
/* 104 */             xmlFragment.toElement();
/*     */           }
/*     */         }
/*     */
/* 108 */         if (this.mode == Service.Mode.MESSAGE)
/*     */         {
View Full Code Here

/* 312 */       Result result = ser.serialize(xmlName, xmlType, faultObject, serContext, null);
/* 313 */       XMLFragment xmlFragment = new XMLFragment(result);
/* 314 */       String xmlStr = xmlFragment.toXMLString();
/* 315 */       log.debug("Fault detail: " + xmlStr);
/*     */
/* 317 */       Element domElement = xmlFragment.toElement();
/* 318 */       SOAPFactoryImpl soapFactory = new SOAPFactoryImpl();
/* 319 */       return soapFactory.createElement(domElement);
/*     */     }
/*     */     catch (BindingException e) {
/*     */     }
View Full Code Here

/*     */         {
/* 275 */           SerializerSupport ser = serFactory.getSerializer();
/* 276 */           Result result = ser.serialize(xmlName, xmlType, faultCause, serContext, null);
/* 277 */           XMLFragment xmlFragment = new XMLFragment(result);
/*     */
/* 279 */           Element domElement = xmlFragment.toElement();
/* 280 */           SOAPFactoryImpl soapFactory = new SOAPFactoryImpl();
/* 281 */           SOAPElement soapElement = soapFactory.createElement(domElement);
/*     */
/* 283 */           detail = soapFault.addDetail();
/* 284 */           detail.addChildElement(soapElement);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.