private void removeMustUnderstant(SOAPEnvelope env) { QName qName =new javax.xml.namespace.QName( "http://ey.webservices.ae/wsrv/common/types", "MessageHeader", "typ"); SOAPHeader header = env.getHeader(); OMChildrenQNameIterator childrenWithName = (OMChildrenQNameIterator) header.getChildrenWithName(qName); while (childrenWithName.hasNext()) { org.apache.axiom.om.OMElement omElement = (org.apache.axiom.om.OMElement) childrenWithName.next(); QName mustAnderstandQName = omElement.resolveQName("soapenv:mustUnderstand"); if (mustAnderstandQName == null) { continue; } OMAttribute mustAnderstandAttribute = omElement.getAttribute(mustAnderstandQName); if (mustAnderstandAttribute == null) { continue; } omElement.removeAttribute(mustAnderstandAttribute); } }
24 Eylül 2018 Pazartesi
remove mustunderstand soap client Axis2
Kaydol:
Kayıt Yorumları (Atom)
Hiç yorum yok:
Yorum Gönder