public class SoapUtils extends Object
| Constructor and Description | 
|---|
| SoapUtils() | 
| Modifier and Type | Method and Description | 
|---|---|
| static SoapVersion | deduceSoapVersion(String requestContentType,
                 String requestContent) | 
| static SoapVersion | deduceSoapVersion(String contentType,
                 org.apache.xmlbeans.XmlObject xmlObject)Init soapversion from content-type header.. | 
| static WsdlOperation | findOperationForRequest(SoapVersion soapVersion,
                       String soapAction,
                       org.apache.xmlbeans.XmlObject requestContent,
                       List<WsdlOperation> operations,
                       boolean requireSoapVersionMatch,
                       boolean requireSoapActionMatch,
                       Attachment[] attachments) | 
| static WsdlOperation | findOperationForResponse(SoapVersion soapVersion,
                        String soapAction,
                        org.apache.xmlbeans.XmlObject responseContent,
                        List<WsdlOperation> operations,
                        boolean requireSoapVersionMatch,
                        boolean requireSoapActionMatch) | 
| static org.apache.xmlbeans.XmlObject | getBodyElement(org.apache.xmlbeans.XmlObject messageObject,
              SoapVersion soapVersion) | 
| static org.apache.xmlbeans.XmlObject | getContentElement(org.apache.xmlbeans.XmlObject messageObject,
                 SoapVersion soapVersion) | 
| static org.apache.xmlbeans.XmlObject | getHeaderElement(org.apache.xmlbeans.XmlObject messageObject,
                SoapVersion soapVersion,
                boolean create) | 
| static String | getSoapAction(SoapVersion soapVersion,
             StringToStringsMap headers) | 
| static boolean | isSoapFault(String responseContent) | 
| static boolean | isSoapFault(String responseContent,
           SoapVersion soapVersion) | 
| static String | removeEmptySoapHeaders(String content,
                      SoapVersion soapVersion) | 
| static String | transferSoapHeaders(String requestContent,
                   String newRequest,
                   SoapVersion soapVersion) | 
public static boolean isSoapFault(String responseContent, SoapVersion soapVersion) throws org.apache.xmlbeans.XmlException
org.apache.xmlbeans.XmlExceptionpublic static boolean isSoapFault(String responseContent) throws org.apache.xmlbeans.XmlException
org.apache.xmlbeans.XmlExceptionpublic static SoapVersion deduceSoapVersion(String contentType, org.apache.xmlbeans.XmlObject xmlObject)
xmlObject - public static String getSoapAction(SoapVersion soapVersion, StringToStringsMap headers)
public static org.apache.xmlbeans.XmlObject getBodyElement(org.apache.xmlbeans.XmlObject messageObject,
                                                           SoapVersion soapVersion)
                                                    throws org.apache.xmlbeans.XmlException
org.apache.xmlbeans.XmlExceptionpublic static org.apache.xmlbeans.XmlObject getHeaderElement(org.apache.xmlbeans.XmlObject messageObject,
                                                             SoapVersion soapVersion,
                                                             boolean create)
                                                      throws org.apache.xmlbeans.XmlException
org.apache.xmlbeans.XmlExceptionpublic static org.apache.xmlbeans.XmlObject getContentElement(org.apache.xmlbeans.XmlObject messageObject,
                                                              SoapVersion soapVersion)
                                                       throws org.apache.xmlbeans.XmlException
org.apache.xmlbeans.XmlExceptionpublic static WsdlOperation findOperationForRequest(SoapVersion soapVersion, String soapAction, org.apache.xmlbeans.XmlObject requestContent, List<WsdlOperation> operations, boolean requireSoapVersionMatch, boolean requireSoapActionMatch, Attachment[] attachments) throws Exception
Exceptionpublic static WsdlOperation findOperationForResponse(SoapVersion soapVersion, String soapAction, org.apache.xmlbeans.XmlObject responseContent, List<WsdlOperation> operations, boolean requireSoapVersionMatch, boolean requireSoapActionMatch) throws Exception
Exceptionpublic static String removeEmptySoapHeaders(String content, SoapVersion soapVersion) throws org.apache.xmlbeans.XmlException
org.apache.xmlbeans.XmlExceptionpublic static SoapVersion deduceSoapVersion(String requestContentType, String requestContent)
public static String transferSoapHeaders(String requestContent, String newRequest, SoapVersion soapVersion)
Copyright © 2019. All Rights Reserved.