Package org.jboss.ws.core.soap

Examples of org.jboss.ws.core.soap.SOAPFactoryImpl.createElement()


/*     */
/* 238 */       if (getReplyTo() != null)
/*     */       {
/* 240 */         EndpointReferenceImpl epr = (EndpointReferenceImpl)getReplyTo();
/* 241 */         epr.setRootQName(ADDR.getReplyToQName());
/* 242 */         SOAPElement soapElement = factory.createElement(epr.toElement());
/* 243 */         soapElement.removeNamespaceDeclaration(ADDR.getNamespacePrefix());
/* 244 */         soapHeader.addChildElement(soapElement);
/*     */       }
/*     */
/* 248 */       if (getFaultTo() != null)
View Full Code Here


/*     */
/* 248 */       if (getFaultTo() != null)
/*     */       {
/* 250 */         EndpointReferenceImpl epr = (EndpointReferenceImpl)getFaultTo();
/* 251 */         epr.setRootQName(ADDR.getFaultToQName());
/* 252 */         SOAPElement soapElement = factory.createElement(epr.toElement());
/* 253 */         soapElement.removeNamespaceDeclaration(ADDR.getNamespacePrefix());
/* 254 */         soapHeader.addChildElement(soapElement);
/*     */       }
/*     */
/* 257 */       appendRequiredHeader(soapHeader, ADDR.getActionQName(), getAction());
View Full Code Here

/* 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) {
/*     */     }
/* 323 */     throw new WebServiceException(e);
/*     */   }
View Full Code Here

/* 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);
/*     */         }
/*     */         catch (BindingException e)
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.