alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Axis 2 example source code file (test.xml)

This example Axis 2 source code file (test.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Axis 2 tags/keywords

apache, asf, conditions, failure, failure, intentional, intentional, license, license, or, see, soap, soap, you

The Axis 2 test.xml source code

<!--
  ~ Licensed to the Apache Software Foundation (ASF) under one
  ~ or more contributor license agreements. See the NOTICE file
  ~ distributed with this work for additional information
  ~ regarding copyright ownership. The ASF licenses this file
  ~ to you under the Apache License, Version 2.0 (the
  ~ "License"); you may not use this file except in compliance
  ~ with the License. You may obtain a copy of the License at
  ~
  ~ http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing,
  ~ software distributed under the License is distributed on an
  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  ~ KIND, either express or implied. See the License for the
  ~ specific language governing permissions and limitations
  ~ under the License.
  -->
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
    <soapenv:Header>
    <soapenv:Body>
        <soapenv:Fault>
            <soapenv:Node>
            <soapenv:Role>
            <soapenv:Detail>
                <soapenv:Exception>org.apache.axis2.AxisFault: Intentional Failure from SOAP 1.2 testing ...; nested exception is:org.apache.axis2.AxisFault: Intentional Failure from SOAP 1.2 testing ...at org.apache.axis2.engine.AxisEngine.handleFault(AxisEngine.java:186)at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:127)at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:102)at org.apache.axis2.transport.http.HTTPWorker.doWork(HTTPWorker.java:110)at org.apache.axis2.util.threadpool.ThreadWorker.run(ThreadWorker.java:34)Caused by: org.apache.axis2.AxisFault: Intentional Failure from SOAP 1.2 testing ...at org.apache.axis2.soap12testing.handlers.SOAP12InFlowHandlerDefaultC.invoke(SOAP12InFlowHandlerDefaultC.java:120)at org.apache.axis2.engine.Phase.invoke(Phase.java:161)at org.apache.axis2.engine.AxisEngine.invokePhases(AxisEngine.java:252)at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:118)... 3 more
            </soapenv:Detail>
            <soapenv:Code>
                <soapenv:Value>env:MustUnderstand
            </soapenv:Code>
            <soapenv:Reason>
                <soapenv:Text xml:lang="en-US">Header not understood
            </soapenv:Reason>
        </soapenv:Fault>
    </soapenv:Body>
</soapenv:Envelope>

Other Axis 2 examples (source code examples)

Here is a short list of links related to this Axis 2 test.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.