You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Libor Suchý <su...@vegacom.cz> on 2008/02/12 01:32:32 UTC

AxisFault unknown problem

Dear All,
I have a problem with my service running on Axis2 (Axis2 1.1.1) under 
Tomcat 6.
I have requests, which are reliably accepted by Axis and do not produce 
any error,
like following one (*functional example*):

<?xml version='1.0' encoding='utf-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Body>
      <createTTrequest xmlns="http://new.webservice.TT.namespace">
         <Sender>lybor</Sender>
         <TroubleTicket>
            <Customer>
               <name>Nespokojeny zakaznik s r.o.</name>
               <number>ttodffsdf</number>
               <location>zahrada</location>
               <email>noc@nespokojeny.zakaznik.usa</email>
               <phone>999 9999 99999</phone>
               <fax>888 8888 88888</fax>
            </Customer>
            <Trouble>
               <BaseTroubledType>router error</BaseTroubledType>
               <troubleDescription>Popis SR</troubleDescription>
*               <troubleLocation>vod</troubleLocation>*
               <TroubledObject>LYBOR_VF_ticket_ID_Summary06.02.2008 
16:33:57</TroubledObject>
               
<troubleDetectionTime>2008-02-06T16:33:57.812+01:00</troubleDetectionTime>
               <customerTroubleNum>06.02.2008 16:33:57</customerTroubleNum>
               <ttContract>1011</ttContract>
               <ttSLA>1038</ttSLA>
               <ttPriority>1</ttPriority>
            </Trouble>
         </TroubleTicket>
      </createTTrequest>
   </soapenv:Body>
</soapenv:Envelope>



and I have requests (like minimal request with mandatory fields only
or following request which is made from previous request by deleting 
non-mandatory line <troubleLocation>vod</troubleLocation>),
which produce the exception (follows the *functionless example*):

<?xml version='1.0' encoding='utf-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Body>
      <createTTrequest xmlns="http://new.webservice.TT.namespace">
         <Sender>lybor</Sender>
         <TroubleTicket>
            <Customer>
               <name>Nespokojeny zakaznik s r.o.</name>
               <number>ttodffsdf</number>
               <location>zahrada</location>
               <email>noc@nespokojeny.zakaznik.usa</email>
               <phone>999 9999 99999</phone>
               <fax>888 8888 88888</fax>
            </Customer>
            <Trouble>
               <BaseTroubledType>router error</BaseTroubledType>
               <troubleDescription>Popis SR</troubleDescription>

               <TroubledObject>LYBOR_VF_ticket_ID_Summary06.02.2008 
16:33:57</TroubledObject>
               
<troubleDetectionTime>2008-02-06T16:33:57.812+01:00</troubleDetectionTime>
               <customerTroubleNum>06.02.2008 16:33:57</customerTroubleNum>
               <ttContract>1011</ttContract>
               <ttSLA>1038</ttSLA>
               <ttPriority>1</ttPriority>
            </Trouble>
         </TroubleTicket>
      </createTTrequest>
   </soapenv:Body>
</soapenv:Envelope>



*The exception looks like:*

Exception in thread "main" org.apache.axis2.AxisFault: unknown
        at 
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.j
ava:486)
        at 
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(
OutInAxisOperation.java:343)
        at 
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisO
peration.java:389)
        at 
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(Out
InAxisOperation.java:211)
        at 
org.apache.axis2.client.OperationClient.execute(OperationClient.java:
163)
        at 
cz.vegacom.tt.TroubleTicketServiceStub.CreateTroubleTicket(TroubleTic
ketServiceStub.java:174)
        at cz.vegacom.tt.Main.createTT(Main.java:126)
        at cz.vegacom.tt.Main.go(Main.java:67)
        at cz.vegacom.tt.Main.main(Main.java:60)

Could please anyone help to solve this problem with accepting 
well-formed messages?
I'm attaching my WSDL and XSD files.

Thank you in advance.

Libor Suchý


*WSDL:*

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" 
xmlns:xs="http://www.w3.org/2001/XMLSchema" 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" 
xmlns:xsd="http://new.webservice.TT.namespace" 
xmlns:tns="http://new.webservice.TT.wsdl.namespace" 
targetNamespace="http://new.webservice.TT.wsdl.namespace">
    <wsdl:import namespace="http://new.webservice.TT.namespace" 
location="../SchemaDefinitions/TT V6.xsd"/>
    <wsdl:message name="CreateTroubleTicketRequest">
        <wsdl:part name="parameter" element="xsd:createTTrequest"/>
    </wsdl:message>
    <wsdl:message name="CreateTroubleTicketResponse">
        <wsdl:part name="parameter" element="xsd:createTTresponse"/>
    </wsdl:message>
    <wsdl:message name="UpdateTroubleTicketRequest">
        <wsdl:part name="parameter" element="xsd:updateTTrequest"/>
    </wsdl:message>
    <wsdl:message name="UpdateTroubleTicketResponse">
        <wsdl:part name="parameter" element="xsd:updateTTresponse"/>
    </wsdl:message>
    <wsdl:message name="CancelTroubleTicketRequest">
        <wsdl:part name="parameter" element="xsd:cancelTTrequest"/>
    </wsdl:message>
    <wsdl:message name="CancelTroubleTicketResponse">
        <wsdl:part name="parameter" element="xsd:cancelTTresponse"/>
    </wsdl:message>
    <wsdl:message name="ReadTroubleTicketRequest">
        <wsdl:part name="parameter" element="xsd:readTTrequest"/>
    </wsdl:message>
    <wsdl:message name="ReadTroubleTicketResponse">
        <wsdl:part name="parameter" element="xsd:readTTresponse"/>
    </wsdl:message>
    <wsdl:message name="ChangedStatusOfTroubleTicketRequest">
        <wsdl:part name="parameter" element="xsd:changedStatusOfTTrequest"/>
    </wsdl:message>
    <wsdl:message name="ChangedStatusOfTroubleTicketResponse">
        <wsdl:part name="parameter" 
element="xsd:changedStatusOfTTresponse"/>
    </wsdl:message>
    <wsdl:portType name="TroubleTicketPortType">
        <wsdl:operation name="CreateTroubleTicket">
            <wsdl:input message="tns:CreateTroubleTicketRequest"/>
            <wsdl:output message="tns:CreateTroubleTicketResponse"/>
        </wsdl:operation>
        <wsdl:operation name="UpdateTroubleTicket">
            <wsdl:input message="tns:UpdateTroubleTicketRequest"/>
            <wsdl:output message="tns:UpdateTroubleTicketResponse"/>
        </wsdl:operation>
        <wsdl:operation name="CancelTroubleTicket">
            <wsdl:input message="tns:CancelTroubleTicketRequest"/>
            <wsdl:output message="tns:CancelTroubleTicketResponse"/>
        </wsdl:operation>
        <wsdl:operation name="ReadTroubleTicket">
            <wsdl:input message="tns:ReadTroubleTicketRequest"/>
            <wsdl:output message="tns:ReadTroubleTicketResponse"/>
        </wsdl:operation>
        <wsdl:operation name="ChangedStatusOfTroubleTicket">
            <wsdl:input message="tns:ChangedStatusOfTroubleTicketRequest"/>
            <wsdl:output 
message="tns:ChangedStatusOfTroubleTicketResponse"/>
        </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="TroubleTicketBinding" 
type="tns:TroubleTicketPortType">
        <soap:binding style="document" 
transport="http://schemas.xmlsoap.org/soap/http"/>
        <wsdl:operation name="CreateTroubleTicket">
            <soap:operation soapAction="urn:#CreateTroubleTicket"/>
            <wsdl:input>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="UpdateTroubleTicket">
            <soap:operation soapAction="urn:#UpdateTroubleTicket"/>
            <wsdl:input>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="CancelTroubleTicket">
            <soap:operation soapAction="urn:#CancelTroubleTicket"/>
            <wsdl:input>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="ReadTroubleTicket">
            <soap:operation soapAction="urn:#ReadTroubleTicket"/>
            <wsdl:input>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="ChangedStatusOfTroubleTicket">
            <soap:operation soapAction="urn:#ChangedStatusOfTroubleTicket"/>
            <wsdl:input>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="TroubleTicketService">
        <wsdl:port name="TroubleTicketPort" 
binding="tns:TroubleTicketBinding">
            <soap:address location="https://www.ww.w"/>
        </wsdl:port>
    </wsdl:service>
</wsdl:definitions>




*XSD:

*<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2008 sp1 (http://www.altova.com) by . (.) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 
xmlns:tns="http://new.webservice.TT.namespace" 
targetNamespace="http://new.webservice.TT.namespace" 
elementFormDefault="qualified" attributeFormDefault="unqualified">
    <xs:simpleType name="ID">
        <xs:annotation>
            <xs:documentation>ID of Trouble Ticket on problem resolver 
side.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:string"/>
    </xs:simpleType>
    <xs:simpleType name="Status">
        <xs:restriction base="xs:string">
            <xs:enumeration value="QUEUED"/>
            <xs:enumeration value="OPEN/ACTIVE"/>
            <xs:enumeration value="DEFERRED"/>
            <xs:enumeration value="CLEARED"/>
            <xs:enumeration value="CLOSED"/>
            <xs:enumeration value="CANCELED"/>
            <xs:enumeration value="DISABLED"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:complexType name="Contact">
        <xs:sequence>
            <xs:element name="email" type="xs:string" minOccurs="0"/>
            <xs:element name="phone" type="xs:string" minOccurs="0"/>
            <xs:element name="fax" type="xs:string" minOccurs="0"/>
            <xs:element name="role" type="xs:string" minOccurs="0"/>
            <xs:element name="name" type="xs:string"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Trouble">
        <xs:sequence>
            <xs:element name="BaseTroubledType">
                <xs:simpleType>
                    <xs:restriction base="xs:string">
                        <xs:whiteSpace value="collapse"/>
                        <xs:enumeration value="klientsky problem"/>
                        <xs:enumeration value="reklamace"/>
                        <xs:enumeration value="stiznost"/>
                        <xs:enumeration value="sitovy problemm"/>
                        <xs:enumeration value="planovany vypadek"/>
                        <xs:enumeration value="pozadavek"/>
                        <xs:enumeration value="technicka porucha"/>
                        <xs:enumeration value="spatny prenos"/>
                        <xs:enumeration value="nefunkcni spoj"/>
                        <xs:enumeration value="nejde internet"/>
                        <xs:enumeration value="nefunkcni uzel"/>
                        <xs:enumeration value="nejdou hlasy"/>
                        <xs:enumeration value="nefunkcni RJ"/>
                        <xs:enumeration value="nefunkcni SCU"/>
                        <xs:enumeration value="nefunkcni terminal"/>
                        <xs:enumeration value="nefunkcni RM"/>
                        <xs:enumeration value="vypnul zakaznik"/>
                        <xs:enumeration value="nejde dohled"/>
                        <xs:enumeration value="ostatni"/>
                        <xs:enumeration value="pomoc pri instalaci"/>
                        <xs:enumeration value="vystavba"/>
                        <xs:enumeration value="pomaly internet"/>
                        <xs:enumeration value="nejde internet ani hlas"/>
                        <xs:enumeration value="router error"/>
                        <xs:enumeration value="router power supply error"/>
                        <xs:enumeration value="router port error"/>
                        <xs:enumeration value="router faulty router"/>
                        <xs:enumeration value="router connector error"/>
                        <xs:enumeration value="router configuration error"/>
                        <xs:enumeration value="router power outage"/>
                        <xs:enumeration value="rourer customer side error"/>
                        <xs:enumeration value="router customer 
intervention"/>
                        <xs:enumeration value="router back-up error"/>
                        <xs:enumeration value="router upgrade required"/>
                        <xs:enumeration value="switch error"/>
                        <xs:enumeration value="switch power supply error"/>
                        <xs:enumeration value="switch port error"/>
                        <xs:enumeration value="switch faulty switch"/>
                        <xs:enumeration value="switch connector error"/>
                        <xs:enumeration value="switch configuration error"/>
                        <xs:enumeration value="switch power outage"/>
                        <xs:enumeration value="switch customer side error"/>
                        <xs:enumeration value="switch customer 
intervention"/>
                        <xs:enumeration value="switch upgrade required"/>
                        <xs:enumeration value="software error"/>
                        <xs:enumeration value="software configuration 
error"/>
                        <xs:enumeration value="software customer side 
error"/>
                        <xs:enumeration value="software customer 
intervention"/>
                        <xs:enumeration value="gateway error"/>
                        <xs:enumeration value="gateway power supply error"/>
                        <xs:enumeration value="gateway port error"/>
                        <xs:enumeration value="gateway faulty gateway"/>
                        <xs:enumeration value="gateway connector error"/>
                        <xs:enumeration value="gateway configuration 
error"/>
                        <xs:enumeration value="gateway power outage"/>
                        <xs:enumeration value="gateway customer side 
error"/>
                        <xs:enumeration value="gateway customer 
intervention"/>
                        <xs:enumeration value="gateway upgrade requied"/>
                        <xs:enumeration value="gateway faulty wiring"/>
                        <xs:enumeration value="phone error"/>
                        <xs:enumeration value="phone power supply error"/>
                        <xs:enumeration value="phone port error"/>
                        <xs:enumeration value="phone faulty phone"/>
                        <xs:enumeration value="phone connector error"/>
                        <xs:enumeration value="phone configuration error"/>
                        <xs:enumeration value="phone power outage"/>
                        <xs:enumeration value="phone customer side error"/>
                        <xs:enumeration value="phone customer 
intervention"/>
                        <xs:enumeration value="phone upgrade requied"/>
                        <xs:enumeration value="phone back-up error"/>
                        <xs:enumeration value="phone faulty wiring"/>
                        <xs:enumeration value="phone manipulation error"/>
                        <xs:enumeration value="connection error"/>
                        <xs:enumeration value="connection supplier error"/>
                        <xs:enumeration value="connection configuration 
error"/>
                        <xs:enumeration value="connection on line error 
rate"/>
                        <xs:enumeration value="connection weather 
conditions"/>
                        <xs:enumeration value="connection customer 
intervention"/>
                        <xs:enumeration value="power supply error"/>
                        <xs:enumeration value="power supply 230V outage"/>
                        <xs:enumeration value="power supply 48V outage"/>
                        <xs:enumeration value="power supply planned 
outage"/>
                        <xs:enumeration value="power supply customer 
intervention"/>
                        <xs:enumeration value="natural disaster"/>
                        <xs:enumeration value="other error"/>
                        <xs:enumeration value="unknown"/>
                    </xs:restriction>
                </xs:simpleType>
            </xs:element>
            <xs:element name="ReportedBy" type="tns:Contact" minOccurs="0"/>
            <xs:element name="troubleDescription" type="xs:string" 
minOccurs="0"/>
            <xs:element name="troubleLocation" type="xs:string" 
minOccurs="0"/>
            <xs:element name="TroubledObject" type="xs:string" 
minOccurs="0">
                <xs:annotation>
                    <xs:documentation>holds the problem resolver system 
Id or of device installed at customer place</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="accountOwner" type="tns:Contact" 
minOccurs="0">
                <xs:annotation>
                    <xs:documentation>person from Vodafone 
sideresponsible for communication with the customer</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="receivedTime" type="xs:dateTime" 
minOccurs="0">
                <xs:annotation>
                    <xs:documentation>When the trouble was 
reported.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="troubleDetectionTime" type="xs:dateTime" 
minOccurs="0">
                <xs:annotation>
                    <xs:documentation>When the trouble was 
detected.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="commitmentTimeRequested" 
type="xs:dateTime" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>When the trouble must be resolved, 
requested  by the reporter</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="commitmentTime" type="xs:dateTime" 
minOccurs="0">
                <xs:annotation>
                    <xs:documentation>When the trouble would be 
resolved, requested  by the problem solver</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="restoredTime" type="xs:dateTime" 
minOccurs="0">
                <xs:annotation>
                    <xs:documentation>When the trouble has been 
resolved.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="additionalTroubleInfoList" 
type="xs:string" minOccurs="0"/>
            <xs:element name="cancelRequestedByCustomer" 
type="xs:boolean" minOccurs="0"/>
            <xs:element name="customerTroubleNum" type="xs:string" 
minOccurs="0">
                <xs:annotation>
                    <xs:documentation>ID of trouble on Vodafone 
side.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="outgageDuration" type="xs:int" minOccurs="0"/>
            <xs:element name="serviceUnavailableBeginTime" 
type="xs:dateTime" minOccurs="0"/>
            <xs:element name="serviceUnavailableEndTime" 
type="xs:dateTime" minOccurs="0"/>
            <xs:element name="troubleStatusTime" type="xs:dateTime" 
minOccurs="0"/>
            <xs:element name="lastUpdateTime" type="xs:dateTime" 
minOccurs="0"/>
            <xs:element name="ttContract" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>specifies contract between 
Vodafone and problem solver</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ttSLA" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>specifies wanted SLA level for 
requested trouble ticket</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ttPriority" type="xs:int" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>specifies priority of requested 
trouble ticket</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Customer">
        <xs:sequence>
            <xs:element name="name" type="xs:string"/>
            <xs:element name="number" type="xs:string">
                <xs:annotation>
                    <xs:documentation>ID of the customer</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="location" type="xs:string" minOccurs="0"/>
            <xs:element name="email" type="xs:string" minOccurs="0"/>
            <xs:element name="phone" type="xs:string" minOccurs="0"/>
            <xs:element name="fax" type="xs:string" minOccurs="0"/>
            <xs:element name="contacts" type="tns:Contact" minOccurs="0" 
maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="TroubleTicket">
        <xs:sequence>
            <xs:element name="TTkey" type="tns:ID" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>ID of Trouble Ticket on problem 
resolver side.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Customer" type="tns:Customer" minOccurs="0"/>
            <xs:element name="Trouble" type="tns:Trouble"/>
            <xs:element name="Status" type="tns:Status" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="StandardResponse">
        <xs:sequence>
            <xs:element name="ResultCode" type="xs:int">
                <xs:annotation>
                    <xs:documentation>0 - OK , negative number - 
Error</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ResultComment" type="xs:string">
                <xs:annotation>
                    <xs:documentation>Detail error description or 
success message.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TTkey" type="tns:ID" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:element name="createTTrequest">
        <xs:annotation>
            <xs:documentation>Input data to create trouble 
ticket.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
            <xs:sequence>
                <xs:element name="Sender" type="xs:string"/>
                <xs:element name="TroubleTicket" type="tns:TroubleTicket"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>
    <xs:element name="createTTresponse">
        <xs:annotation>
            <xs:documentation/>
        </xs:annotation>
        <xs:complexType>
            <xs:sequence>
                <xs:element name="Response" type="tns:StandardResponse"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>
    <xs:element name="updateTTrequest">
        <xs:annotation>
            <xs:documentation>Input data to update trouble 
ticket.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
            <xs:sequence>
                <xs:element name="Sender" type="xs:string"/>
                <xs:element name="TroubleTicket" type="tns:TroubleTicket"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>
    <xs:element name="updateTTresponse">
        <xs:annotation>
            <xs:documentation/>
        </xs:annotation>
        <xs:complexType>
            <xs:sequence>
                <xs:element name="Response" type="tns:StandardResponse"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>
    <xs:element name="cancelTTrequest">
        <xs:annotation>
            <xs:documentation>Input data to cancel trouble 
ticket.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
            <xs:sequence>
                <xs:element name="Sender" type="xs:string"/>
                <xs:element name="TTKey" type="tns:ID">
                    <xs:annotation>
                        <xs:documentation>ID of Trouble Ticket on 
problem resolver side.</xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:sequence>
        </xs:complexType>
    </xs:element>
    <xs:element name="cancelTTresponse">
        <xs:annotation>
            <xs:documentation/>
        </xs:annotation>
        <xs:complexType>
            <xs:sequence>
                <xs:element name="Response" type="tns:StandardResponse"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>
    <xs:element name="readTTrequest">
        <xs:annotation>
            <xs:documentation>Input data to read actuall trouble 
ticket.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
            <xs:sequence>
                <xs:element name="Sender" type="xs:string"/>
                <xs:element name="TTKey" type="tns:ID">
                    <xs:annotation>
                        <xs:documentation>ID of Trouble Ticket on 
problem resolver side.</xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:sequence>
        </xs:complexType>
    </xs:element>
    <xs:element name="readTTresponse">
        <xs:annotation>
            <xs:documentation>Actuall Trouble Ticket.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
            <xs:sequence>
                <xs:element name="Response" type="tns:StandardResponse"/>
                <xs:element name="Result" type="tns:TroubleTicket" 
minOccurs="0"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>
    <xs:element name="changedStatusOfTTrequest">
        <xs:annotation>
            <xs:documentation>Input data to change trouble ticket 
status.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
            <xs:sequence>
                <xs:element name="Sender" type="xs:string"/>
                <xs:element name="TroubleTicket" type="tns:TroubleTicket"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>
    <xs:element name="changedStatusOfTTresponse">
        <xs:annotation>
            <xs:documentation/>
        </xs:annotation>
        <xs:complexType>
            <xs:sequence>
                <xs:element name="Response" type="tns:StandardResponse"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>
</xs:schema>






Re: AxisFault unknown problem

Posted by Libor Suchý <su...@vegacom.cz>.
Hello,
after few days of helpless searching of the problem solution my friend
reviewed my source code and found out that "AxisFault: unknown"
is reaction on Null Pointer Exception somewhere in my code. So everybody 
who's searching
for solution of this problem review your code first and search for 
untreated exceptions.

Bye

    Libor

Libor Suchý napsal(a):
> Hello,
> does anybody knows how to solve my problem with "AxisFault: unknown"
> as I've described in my previous email ?
>
> Many thanks in advance.
>
> Libor
>
>
>
>
> Libor Suchý napsal(a):
>> Dear All,
>> I have a problem with my service running on Axis2 (Axis2 1.1.1) under 
>> Tomcat 6.
>> I have requests, which are reliably accepted by Axis and do not 
>> produce any error,
>> like following one (*functional example*):
>>
>> <?xml version='1.0' encoding='utf-8'?>
>> <soapenv:Envelope 
>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>>    <soapenv:Body>
>>       <createTTrequest xmlns="http://new.webservice.TT.namespace">
>>          <Sender>lybor</Sender>
>>          <TroubleTicket>
>>             <Customer>
>>                <name>Nespokojeny zakaznik s r.o.</name>
>>                <number>ttodffsdf</number>
>>                <location>zahrada</location>
>>                <email>noc@nespokojeny.zakaznik.usa</email>
>>                <phone>999 9999 99999</phone>
>>                <fax>888 8888 88888</fax>
>>             </Customer>
>>             <Trouble>
>>                <BaseTroubledType>router error</BaseTroubledType>
>>                <troubleDescription>Popis SR</troubleDescription>
>> *               <troubleLocation>vod</troubleLocation>*
>>                <TroubledObject>LYBOR_VF_ticket_ID_Summary06.02.2008 
>> 16:33:57</TroubledObject>
>>                
>> <troubleDetectionTime>2008-02-06T16:33:57.812+01:00</troubleDetectionTime>
>>                <customerTroubleNum>06.02.2008 
>> 16:33:57</customerTroubleNum>
>>                <ttContract>1011</ttContract>
>>                <ttSLA>1038</ttSLA>
>>                <ttPriority>1</ttPriority>
>>             </Trouble>
>>          </TroubleTicket>
>>       </createTTrequest>
>>    </soapenv:Body>
>> </soapenv:Envelope>
>>
>>
>>
>> and I have requests (like minimal request with mandatory fields only
>> or following request which is made from previous request by deleting 
>> non-mandatory line <troubleLocation>vod</troubleLocation>),
>> which produce the exception (follows the *functionless example*):
>>
>> <?xml version='1.0' encoding='utf-8'?>
>> <soapenv:Envelope 
>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>>    <soapenv:Body>
>>       <createTTrequest xmlns="http://new.webservice.TT.namespace">
>>          <Sender>lybor</Sender>
>>          <TroubleTicket>
>>             <Customer>
>>                <name>Nespokojeny zakaznik s r.o.</name>
>>                <number>ttodffsdf</number>
>>                <location>zahrada</location>
>>                <email>noc@nespokojeny.zakaznik.usa</email>
>>                <phone>999 9999 99999</phone>
>>                <fax>888 8888 88888</fax>
>>             </Customer>
>>             <Trouble>
>>                <BaseTroubledType>router error</BaseTroubledType>
>>                <troubleDescription>Popis SR</troubleDescription>
>>
>>                <TroubledObject>LYBOR_VF_ticket_ID_Summary06.02.2008 
>> 16:33:57</TroubledObject>
>>                
>> <troubleDetectionTime>2008-02-06T16:33:57.812+01:00</troubleDetectionTime>
>>                <customerTroubleNum>06.02.2008 
>> 16:33:57</customerTroubleNum>
>>                <ttContract>1011</ttContract>
>>                <ttSLA>1038</ttSLA>
>>                <ttPriority>1</ttPriority>
>>             </Trouble>
>>          </TroubleTicket>
>>       </createTTrequest>
>>    </soapenv:Body>
>> </soapenv:Envelope>
>>
>>
>>
>> *The exception looks like:*
>>
>> Exception in thread "main" org.apache.axis2.AxisFault: unknown
>>         at 
>> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.j
>> ava:486)
>>         at 
>> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(
>> OutInAxisOperation.java:343)
>>         at 
>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisO
>> peration.java:389)
>>         at 
>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(Out
>> InAxisOperation.java:211)
>>         at 
>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:
>> 163)
>>         at 
>> cz.vegacom.tt.TroubleTicketServiceStub.CreateTroubleTicket(TroubleTic
>> ketServiceStub.java:174)
>>         at cz.vegacom.tt.Main.createTT(Main.java:126)
>>         at cz.vegacom.tt.Main.go(Main.java:67)
>>         at cz.vegacom.tt.Main.main(Main.java:60)
>>
>> Could please anyone help to solve this problem with accepting 
>> well-formed messages?
>> I'm attaching my WSDL and XSD files.
>>
>> Thank you in advance.
>>
>> Libor Suchý
>>
>>
>> *WSDL:*
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
>> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
>> xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" 
>> xmlns:xs="http://www.w3.org/2001/XMLSchema" 
>> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
>> xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" 
>> xmlns:xsd="http://new.webservice.TT.namespace" 
>> xmlns:tns="http://new.webservice.TT.wsdl.namespace" 
>> targetNamespace="http://new.webservice.TT.wsdl.namespace">
>>     <wsdl:import namespace="http://new.webservice.TT.namespace" 
>> location="../SchemaDefinitions/TT V6.xsd"/>
>>     <wsdl:message name="CreateTroubleTicketRequest">
>>         <wsdl:part name="parameter" element="xsd:createTTrequest"/>
>>     </wsdl:message>
>>     <wsdl:message name="CreateTroubleTicketResponse">
>>         <wsdl:part name="parameter" element="xsd:createTTresponse"/>
>>     </wsdl:message>
>>     <wsdl:message name="UpdateTroubleTicketRequest">
>>         <wsdl:part name="parameter" element="xsd:updateTTrequest"/>
>>     </wsdl:message>
>>     <wsdl:message name="UpdateTroubleTicketResponse">
>>         <wsdl:part name="parameter" element="xsd:updateTTresponse"/>
>>     </wsdl:message>
>>     <wsdl:message name="CancelTroubleTicketRequest">
>>         <wsdl:part name="parameter" element="xsd:cancelTTrequest"/>
>>     </wsdl:message>
>>     <wsdl:message name="CancelTroubleTicketResponse">
>>         <wsdl:part name="parameter" element="xsd:cancelTTresponse"/>
>>     </wsdl:message>
>>     <wsdl:message name="ReadTroubleTicketRequest">
>>         <wsdl:part name="parameter" element="xsd:readTTrequest"/>
>>     </wsdl:message>
>>     <wsdl:message name="ReadTroubleTicketResponse">
>>         <wsdl:part name="parameter" element="xsd:readTTresponse"/>
>>     </wsdl:message>
>>     <wsdl:message name="ChangedStatusOfTroubleTicketRequest">
>>         <wsdl:part name="parameter" 
>> element="xsd:changedStatusOfTTrequest"/>
>>     </wsdl:message>
>>     <wsdl:message name="ChangedStatusOfTroubleTicketResponse">
>>         <wsdl:part name="parameter" 
>> element="xsd:changedStatusOfTTresponse"/>
>>     </wsdl:message>
>>     <wsdl:portType name="TroubleTicketPortType">
>>         <wsdl:operation name="CreateTroubleTicket">
>>             <wsdl:input message="tns:CreateTroubleTicketRequest"/>
>>             <wsdl:output message="tns:CreateTroubleTicketResponse"/>
>>         </wsdl:operation>
>>         <wsdl:operation name="UpdateTroubleTicket">
>>             <wsdl:input message="tns:UpdateTroubleTicketRequest"/>
>>             <wsdl:output message="tns:UpdateTroubleTicketResponse"/>
>>         </wsdl:operation>
>>         <wsdl:operation name="CancelTroubleTicket">
>>             <wsdl:input message="tns:CancelTroubleTicketRequest"/>
>>             <wsdl:output message="tns:CancelTroubleTicketResponse"/>
>>         </wsdl:operation>
>>         <wsdl:operation name="ReadTroubleTicket">
>>             <wsdl:input message="tns:ReadTroubleTicketRequest"/>
>>             <wsdl:output message="tns:ReadTroubleTicketResponse"/>
>>         </wsdl:operation>
>>         <wsdl:operation name="ChangedStatusOfTroubleTicket">
>>             <wsdl:input 
>> message="tns:ChangedStatusOfTroubleTicketRequest"/>
>>             <wsdl:output 
>> message="tns:ChangedStatusOfTroubleTicketResponse"/>
>>         </wsdl:operation>
>>     </wsdl:portType>
>>     <wsdl:binding name="TroubleTicketBinding" 
>> type="tns:TroubleTicketPortType">
>>         <soap:binding style="document" 
>> transport="http://schemas.xmlsoap.org/soap/http"/>
>>         <wsdl:operation name="CreateTroubleTicket">
>>             <soap:operation soapAction="urn:#CreateTroubleTicket"/>
>>             <wsdl:input>
>>                 <soap:body use="literal"/>
>>             </wsdl:input>
>>             <wsdl:output>
>>                 <soap:body use="literal"/>
>>             </wsdl:output>
>>         </wsdl:operation>
>>         <wsdl:operation name="UpdateTroubleTicket">
>>             <soap:operation soapAction="urn:#UpdateTroubleTicket"/>
>>             <wsdl:input>
>>                 <soap:body use="literal"/>
>>             </wsdl:input>
>>             <wsdl:output>
>>                 <soap:body use="literal"/>
>>             </wsdl:output>
>>         </wsdl:operation>
>>         <wsdl:operation name="CancelTroubleTicket">
>>             <soap:operation soapAction="urn:#CancelTroubleTicket"/>
>>             <wsdl:input>
>>                 <soap:body use="literal"/>
>>             </wsdl:input>
>>             <wsdl:output>
>>                 <soap:body use="literal"/>
>>             </wsdl:output>
>>         </wsdl:operation>
>>         <wsdl:operation name="ReadTroubleTicket">
>>             <soap:operation soapAction="urn:#ReadTroubleTicket"/>
>>             <wsdl:input>
>>                 <soap:body use="literal"/>
>>             </wsdl:input>
>>             <wsdl:output>
>>                 <soap:body use="literal"/>
>>             </wsdl:output>
>>         </wsdl:operation>
>>         <wsdl:operation name="ChangedStatusOfTroubleTicket">
>>             <soap:operation 
>> soapAction="urn:#ChangedStatusOfTroubleTicket"/>
>>             <wsdl:input>
>>                 <soap:body use="literal"/>
>>             </wsdl:input>
>>             <wsdl:output>
>>                 <soap:body use="literal"/>
>>             </wsdl:output>
>>         </wsdl:operation>
>>     </wsdl:binding>
>>     <wsdl:service name="TroubleTicketService">
>>         <wsdl:port name="TroubleTicketPort" 
>> binding="tns:TroubleTicketBinding">
>>             <soap:address location="https://www.ww.w"/>
>>         </wsdl:port>
>>     </wsdl:service>
>> </wsdl:definitions>
>>
>>
>>
>>
>> *XSD:
>>
>> *<?xml version="1.0" encoding="UTF-8"?>
>> <!-- edited with XMLSpy v2008 sp1 (http://www.altova.com) by . (.) -->
>> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 
>> xmlns:tns="http://new.webservice.TT.namespace" 
>> targetNamespace="http://new.webservice.TT.namespace" 
>> elementFormDefault="qualified" attributeFormDefault="unqualified">
>>     <xs:simpleType name="ID">
>>         <xs:annotation>
>>             <xs:documentation>ID of Trouble Ticket on problem 
>> resolver side.</xs:documentation>
>>         </xs:annotation>
>>         <xs:restriction base="xs:string"/>
>>     </xs:simpleType>
>>     <xs:simpleType name="Status">
>>         <xs:restriction base="xs:string">
>>             <xs:enumeration value="QUEUED"/>
>>             <xs:enumeration value="OPEN/ACTIVE"/>
>>             <xs:enumeration value="DEFERRED"/>
>>             <xs:enumeration value="CLEARED"/>
>>             <xs:enumeration value="CLOSED"/>
>>             <xs:enumeration value="CANCELED"/>
>>             <xs:enumeration value="DISABLED"/>
>>         </xs:restriction>
>>     </xs:simpleType>
>>     <xs:complexType name="Contact">
>>         <xs:sequence>
>>             <xs:element name="email" type="xs:string" minOccurs="0"/>
>>             <xs:element name="phone" type="xs:string" minOccurs="0"/>
>>             <xs:element name="fax" type="xs:string" minOccurs="0"/>
>>             <xs:element name="role" type="xs:string" minOccurs="0"/>
>>             <xs:element name="name" type="xs:string"/>
>>         </xs:sequence>
>>     </xs:complexType>
>>     <xs:complexType name="Trouble">
>>         <xs:sequence>
>>             <xs:element name="BaseTroubledType">
>>                 <xs:simpleType>
>>                     <xs:restriction base="xs:string">
>>                         <xs:whiteSpace value="collapse"/>
>>                         <xs:enumeration value="klientsky problem"/>
>>                         <xs:enumeration value="reklamace"/>
>>                         <xs:enumeration value="stiznost"/>
>>                         <xs:enumeration value="sitovy problemm"/>
>>                         <xs:enumeration value="planovany vypadek"/>
>>                         <xs:enumeration value="pozadavek"/>
>>                         <xs:enumeration value="technicka porucha"/>
>>                         <xs:enumeration value="spatny prenos"/>
>>                         <xs:enumeration value="nefunkcni spoj"/>
>>                         <xs:enumeration value="nejde internet"/>
>>                         <xs:enumeration value="nefunkcni uzel"/>
>>                         <xs:enumeration value="nejdou hlasy"/>
>>                         <xs:enumeration value="nefunkcni RJ"/>
>>                         <xs:enumeration value="nefunkcni SCU"/>
>>                         <xs:enumeration value="nefunkcni terminal"/>
>>                         <xs:enumeration value="nefunkcni RM"/>
>>                         <xs:enumeration value="vypnul zakaznik"/>
>>                         <xs:enumeration value="nejde dohled"/>
>>                         <xs:enumeration value="ostatni"/>
>>                         <xs:enumeration value="pomoc pri instalaci"/>
>>                         <xs:enumeration value="vystavba"/>
>>                         <xs:enumeration value="pomaly internet"/>
>>                         <xs:enumeration value="nejde internet ani hlas"/>
>>                         <xs:enumeration value="router error"/>
>>                         <xs:enumeration value="router power supply 
>> error"/>
>>                         <xs:enumeration value="router port error"/>
>>                         <xs:enumeration value="router faulty router"/>
>>                         <xs:enumeration value="router connector error"/>
>>                         <xs:enumeration value="router configuration 
>> error"/>
>>                         <xs:enumeration value="router power outage"/>
>>                         <xs:enumeration value="rourer customer side 
>> error"/>
>>                         <xs:enumeration value="router customer 
>> intervention"/>
>>                         <xs:enumeration value="router back-up error"/>
>>                         <xs:enumeration value="router upgrade required"/>
>>                         <xs:enumeration value="switch error"/>
>>                         <xs:enumeration value="switch power supply 
>> error"/>
>>                         <xs:enumeration value="switch port error"/>
>>                         <xs:enumeration value="switch faulty switch"/>
>>                         <xs:enumeration value="switch connector error"/>
>>                         <xs:enumeration value="switch configuration 
>> error"/>
>>                         <xs:enumeration value="switch power outage"/>
>>                         <xs:enumeration value="switch customer side 
>> error"/>
>>                         <xs:enumeration value="switch customer 
>> intervention"/>
>>                         <xs:enumeration value="switch upgrade required"/>
>>                         <xs:enumeration value="software error"/>
>>                         <xs:enumeration value="software configuration 
>> error"/>
>>                         <xs:enumeration value="software customer side 
>> error"/>
>>                         <xs:enumeration value="software customer 
>> intervention"/>
>>                         <xs:enumeration value="gateway error"/>
>>                         <xs:enumeration value="gateway power supply 
>> error"/>
>>                         <xs:enumeration value="gateway port error"/>
>>                         <xs:enumeration value="gateway faulty gateway"/>
>>                         <xs:enumeration value="gateway connector error"/>
>>                         <xs:enumeration value="gateway configuration 
>> error"/>
>>                         <xs:enumeration value="gateway power outage"/>
>>                         <xs:enumeration value="gateway customer side 
>> error"/>
>>                         <xs:enumeration value="gateway customer 
>> intervention"/>
>>                         <xs:enumeration value="gateway upgrade requied"/>
>>                         <xs:enumeration value="gateway faulty wiring"/>
>>                         <xs:enumeration value="phone error"/>
>>                         <xs:enumeration value="phone power supply 
>> error"/>
>>                         <xs:enumeration value="phone port error"/>
>>                         <xs:enumeration value="phone faulty phone"/>
>>                         <xs:enumeration value="phone connector error"/>
>>                         <xs:enumeration value="phone configuration 
>> error"/>
>>                         <xs:enumeration value="phone power outage"/>
>>                         <xs:enumeration value="phone customer side 
>> error"/>
>>                         <xs:enumeration value="phone customer 
>> intervention"/>
>>                         <xs:enumeration value="phone upgrade requied"/>
>>                         <xs:enumeration value="phone back-up error"/>
>>                         <xs:enumeration value="phone faulty wiring"/>
>>                         <xs:enumeration value="phone manipulation 
>> error"/>
>>                         <xs:enumeration value="connection error"/>
>>                         <xs:enumeration value="connection supplier 
>> error"/>
>>                         <xs:enumeration value="connection 
>> configuration error"/>
>>                         <xs:enumeration value="connection on line 
>> error rate"/>
>>                         <xs:enumeration value="connection weather 
>> conditions"/>
>>                         <xs:enumeration value="connection customer 
>> intervention"/>
>>                         <xs:enumeration value="power supply error"/>
>>                         <xs:enumeration value="power supply 230V 
>> outage"/>
>>                         <xs:enumeration value="power supply 48V outage"/>
>>                         <xs:enumeration value="power supply planned 
>> outage"/>
>>                         <xs:enumeration value="power supply customer 
>> intervention"/>
>>                         <xs:enumeration value="natural disaster"/>
>>                         <xs:enumeration value="other error"/>
>>                         <xs:enumeration value="unknown"/>
>>                     </xs:restriction>
>>                 </xs:simpleType>
>>             </xs:element>
>>             <xs:element name="ReportedBy" type="tns:Contact" 
>> minOccurs="0"/>
>>             <xs:element name="troubleDescription" type="xs:string" 
>> minOccurs="0"/>
>>             <xs:element name="troubleLocation" type="xs:string" 
>> minOccurs="0"/>
>>             <xs:element name="TroubledObject" type="xs:string" 
>> minOccurs="0">
>>                 <xs:annotation>
>>                     <xs:documentation>holds the problem resolver 
>> system Id or of device installed at customer place</xs:documentation>
>>                 </xs:annotation>
>>             </xs:element>
>>             <xs:element name="accountOwner" type="tns:Contact" 
>> minOccurs="0">
>>                 <xs:annotation>
>>                     <xs:documentation>person from Vodafone 
>> sideresponsible for communication with the customer</xs:documentation>
>>                 </xs:annotation>
>>             </xs:element>
>>             <xs:element name="receivedTime" type="xs:dateTime" 
>> minOccurs="0">
>>                 <xs:annotation>
>>                     <xs:documentation>When the trouble was 
>> reported.</xs:documentation>
>>                 </xs:annotation>
>>             </xs:element>
>>             <xs:element name="troubleDetectionTime" 
>> type="xs:dateTime" minOccurs="0">
>>                 <xs:annotation>
>>                     <xs:documentation>When the trouble was 
>> detected.</xs:documentation>
>>                 </xs:annotation>
>>             </xs:element>
>>             <xs:element name="commitmentTimeRequested" 
>> type="xs:dateTime" minOccurs="0">
>>                 <xs:annotation>
>>                     <xs:documentation>When the trouble must be 
>> resolved, requested  by the reporter</xs:documentation>
>>                 </xs:annotation>
>>             </xs:element>
>>             <xs:element name="commitmentTime" type="xs:dateTime" 
>> minOccurs="0">
>>                 <xs:annotation>
>>                     <xs:documentation>When the trouble would be 
>> resolved, requested  by the problem solver</xs:documentation>
>>                 </xs:annotation>
>>             </xs:element>
>>             <xs:element name="restoredTime" type="xs:dateTime" 
>> minOccurs="0">
>>                 <xs:annotation>
>>                     <xs:documentation>When the trouble has been 
>> resolved.</xs:documentation>
>>                 </xs:annotation>
>>             </xs:element>
>>             <xs:element name="additionalTroubleInfoList" 
>> type="xs:string" minOccurs="0"/>
>>             <xs:element name="cancelRequestedByCustomer" 
>> type="xs:boolean" minOccurs="0"/>
>>             <xs:element name="customerTroubleNum" type="xs:string" 
>> minOccurs="0">
>>                 <xs:annotation>
>>                     <xs:documentation>ID of trouble on Vodafone 
>> side.</xs:documentation>
>>                 </xs:annotation>
>>             </xs:element>
>>             <xs:element name="outgageDuration" type="xs:int" 
>> minOccurs="0"/>
>>             <xs:element name="serviceUnavailableBeginTime" 
>> type="xs:dateTime" minOccurs="0"/>
>>             <xs:element name="serviceUnavailableEndTime" 
>> type="xs:dateTime" minOccurs="0"/>
>>             <xs:element name="troubleStatusTime" type="xs:dateTime" 
>> minOccurs="0"/>
>>             <xs:element name="lastUpdateTime" type="xs:dateTime" 
>> minOccurs="0"/>
>>             <xs:element name="ttContract" type="xs:string" minOccurs="0">
>>                 <xs:annotation>
>>                     <xs:documentation>specifies contract between 
>> Vodafone and problem solver</xs:documentation>
>>                 </xs:annotation>
>>             </xs:element>
>>             <xs:element name="ttSLA" type="xs:string" minOccurs="0">
>>                 <xs:annotation>
>>                     <xs:documentation>specifies wanted SLA level for 
>> requested trouble ticket</xs:documentation>
>>                 </xs:annotation>
>>             </xs:element>
>>             <xs:element name="ttPriority" type="xs:int" minOccurs="0">
>>                 <xs:annotation>
>>                     <xs:documentation>specifies priority of requested 
>> trouble ticket</xs:documentation>
>>                 </xs:annotation>
>>             </xs:element>
>>         </xs:sequence>
>>     </xs:complexType>
>>     <xs:complexType name="Customer">
>>         <xs:sequence>
>>             <xs:element name="name" type="xs:string"/>
>>             <xs:element name="number" type="xs:string">
>>                 <xs:annotation>
>>                     <xs:documentation>ID of the 
>> customer</xs:documentation>
>>                 </xs:annotation>
>>             </xs:element>
>>             <xs:element name="location" type="xs:string" minOccurs="0"/>
>>             <xs:element name="email" type="xs:string" minOccurs="0"/>
>>             <xs:element name="phone" type="xs:string" minOccurs="0"/>
>>             <xs:element name="fax" type="xs:string" minOccurs="0"/>
>>             <xs:element name="contacts" type="tns:Contact" 
>> minOccurs="0" maxOccurs="unbounded"/>
>>         </xs:sequence>
>>     </xs:complexType>
>>     <xs:complexType name="TroubleTicket">
>>         <xs:sequence>
>>             <xs:element name="TTkey" type="tns:ID" minOccurs="0">
>>                 <xs:annotation>
>>                     <xs:documentation>ID of Trouble Ticket on problem 
>> resolver side.</xs:documentation>
>>                 </xs:annotation>
>>             </xs:element>
>>             <xs:element name="Customer" type="tns:Customer" 
>> minOccurs="0"/>
>>             <xs:element name="Trouble" type="tns:Trouble"/>
>>             <xs:element name="Status" type="tns:Status" minOccurs="0"/>
>>         </xs:sequence>
>>     </xs:complexType>
>>     <xs:complexType name="StandardResponse">
>>         <xs:sequence>
>>             <xs:element name="ResultCode" type="xs:int">
>>                 <xs:annotation>
>>                     <xs:documentation>0 - OK , negative number - 
>> Error</xs:documentation>
>>                 </xs:annotation>
>>             </xs:element>
>>             <xs:element name="ResultComment" type="xs:string">
>>                 <xs:annotation>
>>                     <xs:documentation>Detail error description or 
>> success message.</xs:documentation>
>>                 </xs:annotation>
>>             </xs:element>
>>             <xs:element name="TTkey" type="tns:ID" minOccurs="0"/>
>>         </xs:sequence>
>>     </xs:complexType>
>>     <xs:element name="createTTrequest">
>>         <xs:annotation>
>>             <xs:documentation>Input data to create trouble 
>> ticket.</xs:documentation>
>>         </xs:annotation>
>>         <xs:complexType>
>>             <xs:sequence>
>>                 <xs:element name="Sender" type="xs:string"/>
>>                 <xs:element name="TroubleTicket" 
>> type="tns:TroubleTicket"/>
>>             </xs:sequence>
>>         </xs:complexType>
>>     </xs:element>
>>     <xs:element name="createTTresponse">
>>         <xs:annotation>
>>             <xs:documentation/>
>>         </xs:annotation>
>>         <xs:complexType>
>>             <xs:sequence>
>>                 <xs:element name="Response" type="tns:StandardResponse"/>
>>             </xs:sequence>
>>         </xs:complexType>
>>     </xs:element>
>>     <xs:element name="updateTTrequest">
>>         <xs:annotation>
>>             <xs:documentation>Input data to update trouble 
>> ticket.</xs:documentation>
>>         </xs:annotation>
>>         <xs:complexType>
>>             <xs:sequence>
>>                 <xs:element name="Sender" type="xs:string"/>
>>                 <xs:element name="TroubleTicket" 
>> type="tns:TroubleTicket"/>
>>             </xs:sequence>
>>         </xs:complexType>
>>     </xs:element>
>>     <xs:element name="updateTTresponse">
>>         <xs:annotation>
>>             <xs:documentation/>
>>         </xs:annotation>
>>         <xs:complexType>
>>             <xs:sequence>
>>                 <xs:element name="Response" type="tns:StandardResponse"/>
>>             </xs:sequence>
>>         </xs:complexType>
>>     </xs:element>
>>     <xs:element name="cancelTTrequest">
>>         <xs:annotation>
>>             <xs:documentation>Input data to cancel trouble 
>> ticket.</xs:documentation>
>>         </xs:annotation>
>>         <xs:complexType>
>>             <xs:sequence>
>>                 <xs:element name="Sender" type="xs:string"/>
>>                 <xs:element name="TTKey" type="tns:ID">
>>                     <xs:annotation>
>>                         <xs:documentation>ID of Trouble Ticket on 
>> problem resolver side.</xs:documentation>
>>                     </xs:annotation>
>>                 </xs:element>
>>             </xs:sequence>
>>         </xs:complexType>
>>     </xs:element>
>>     <xs:element name="cancelTTresponse">
>>         <xs:annotation>
>>             <xs:documentation/>
>>         </xs:annotation>
>>         <xs:complexType>
>>             <xs:sequence>
>>                 <xs:element name="Response" type="tns:StandardResponse"/>
>>             </xs:sequence>
>>         </xs:complexType>
>>     </xs:element>
>>     <xs:element name="readTTrequest">
>>         <xs:annotation>
>>             <xs:documentation>Input data to read actuall trouble 
>> ticket.</xs:documentation>
>>         </xs:annotation>
>>         <xs:complexType>
>>             <xs:sequence>
>>                 <xs:element name="Sender" type="xs:string"/>
>>                 <xs:element name="TTKey" type="tns:ID">
>>                     <xs:annotation>
>>                         <xs:documentation>ID of Trouble Ticket on 
>> problem resolver side.</xs:documentation>
>>                     </xs:annotation>
>>                 </xs:element>
>>             </xs:sequence>
>>         </xs:complexType>
>>     </xs:element>
>>     <xs:element name="readTTresponse">
>>         <xs:annotation>
>>             <xs:documentation>Actuall Trouble Ticket.</xs:documentation>
>>         </xs:annotation>
>>         <xs:complexType>
>>             <xs:sequence>
>>                 <xs:element name="Response" type="tns:StandardResponse"/>
>>                 <xs:element name="Result" type="tns:TroubleTicket" 
>> minOccurs="0"/>
>>             </xs:sequence>
>>         </xs:complexType>
>>     </xs:element>
>>     <xs:element name="changedStatusOfTTrequest">
>>         <xs:annotation>
>>             <xs:documentation>Input data to change trouble ticket 
>> status.</xs:documentation>
>>         </xs:annotation>
>>         <xs:complexType>
>>             <xs:sequence>
>>                 <xs:element name="Sender" type="xs:string"/>
>>                 <xs:element name="TroubleTicket" 
>> type="tns:TroubleTicket"/>
>>             </xs:sequence>
>>         </xs:complexType>
>>     </xs:element>
>>     <xs:element name="changedStatusOfTTresponse">
>>         <xs:annotation>
>>             <xs:documentation/>
>>         </xs:annotation>
>>         <xs:complexType>
>>             <xs:sequence>
>>                 <xs:element name="Response" type="tns:StandardResponse"/>
>>             </xs:sequence>
>>         </xs:complexType>
>>     </xs:element>
>> </xs:schema>
>>
>>
>>
>>
>>
>
> -- 
> ------------------------------------------------------------------------
> *Libor Suchý*
> *System Architect*
>
> *Vegacom a.s. - Division 2 ICT
> *Šenovská 30/434
> 182 03 Praha 8
> Czech Republic
> Tel.:        +420 266 005 097               T-Com SK office:     +421 
> 253 632 677
> Mobile:  +420 602 356 757
> E-mail:   _suchyl@vegacom.cz_
> _www.vegacom.cz_
> ------------------------------------------------------------------------

-- 
------------------------------------------------------------------------
*Libor Suchý*
*System Architect*

*Vegacom a.s. - Division 2 ICT
*Šenovská 30/434
182 03 Praha 8
Czech Republic
Tel.:        +420 266 005 097               T-Com SK office:     +421 
253 632 677
Mobile:  +420 602 356 757
E-mail:   _suchyl@vegacom.cz_
_www.vegacom.cz_
------------------------------------------------------------------------

Re: AxisFault unknown problem

Posted by Libor Suchý <su...@vegacom.cz>.
Hello,
does anybody knows how to solve my problem with "AxisFault: unknown"
as I've described in my previous email ?

Many thanks in advance.

Libor




Libor Suchý napsal(a):
> Dear All,
> I have a problem with my service running on Axis2 (Axis2 1.1.1) under 
> Tomcat 6.
> I have requests, which are reliably accepted by Axis and do not 
> produce any error,
> like following one (*functional example*):
>
> <?xml version='1.0' encoding='utf-8'?>
> <soapenv:Envelope 
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>    <soapenv:Body>
>       <createTTrequest xmlns="http://new.webservice.TT.namespace">
>          <Sender>lybor</Sender>
>          <TroubleTicket>
>             <Customer>
>                <name>Nespokojeny zakaznik s r.o.</name>
>                <number>ttodffsdf</number>
>                <location>zahrada</location>
>                <email>noc@nespokojeny.zakaznik.usa</email>
>                <phone>999 9999 99999</phone>
>                <fax>888 8888 88888</fax>
>             </Customer>
>             <Trouble>
>                <BaseTroubledType>router error</BaseTroubledType>
>                <troubleDescription>Popis SR</troubleDescription>
> *               <troubleLocation>vod</troubleLocation>*
>                <TroubledObject>LYBOR_VF_ticket_ID_Summary06.02.2008 
> 16:33:57</TroubledObject>
>                
> <troubleDetectionTime>2008-02-06T16:33:57.812+01:00</troubleDetectionTime>
>                <customerTroubleNum>06.02.2008 
> 16:33:57</customerTroubleNum>
>                <ttContract>1011</ttContract>
>                <ttSLA>1038</ttSLA>
>                <ttPriority>1</ttPriority>
>             </Trouble>
>          </TroubleTicket>
>       </createTTrequest>
>    </soapenv:Body>
> </soapenv:Envelope>
>
>
>
> and I have requests (like minimal request with mandatory fields only
> or following request which is made from previous request by deleting 
> non-mandatory line <troubleLocation>vod</troubleLocation>),
> which produce the exception (follows the *functionless example*):
>
> <?xml version='1.0' encoding='utf-8'?>
> <soapenv:Envelope 
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>    <soapenv:Body>
>       <createTTrequest xmlns="http://new.webservice.TT.namespace">
>          <Sender>lybor</Sender>
>          <TroubleTicket>
>             <Customer>
>                <name>Nespokojeny zakaznik s r.o.</name>
>                <number>ttodffsdf</number>
>                <location>zahrada</location>
>                <email>noc@nespokojeny.zakaznik.usa</email>
>                <phone>999 9999 99999</phone>
>                <fax>888 8888 88888</fax>
>             </Customer>
>             <Trouble>
>                <BaseTroubledType>router error</BaseTroubledType>
>                <troubleDescription>Popis SR</troubleDescription>
>
>                <TroubledObject>LYBOR_VF_ticket_ID_Summary06.02.2008 
> 16:33:57</TroubledObject>
>                
> <troubleDetectionTime>2008-02-06T16:33:57.812+01:00</troubleDetectionTime>
>                <customerTroubleNum>06.02.2008 
> 16:33:57</customerTroubleNum>
>                <ttContract>1011</ttContract>
>                <ttSLA>1038</ttSLA>
>                <ttPriority>1</ttPriority>
>             </Trouble>
>          </TroubleTicket>
>       </createTTrequest>
>    </soapenv:Body>
> </soapenv:Envelope>
>
>
>
> *The exception looks like:*
>
> Exception in thread "main" org.apache.axis2.AxisFault: unknown
>         at 
> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.j
> ava:486)
>         at 
> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(
> OutInAxisOperation.java:343)
>         at 
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisO
> peration.java:389)
>         at 
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(Out
> InAxisOperation.java:211)
>         at 
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:
> 163)
>         at 
> cz.vegacom.tt.TroubleTicketServiceStub.CreateTroubleTicket(TroubleTic
> ketServiceStub.java:174)
>         at cz.vegacom.tt.Main.createTT(Main.java:126)
>         at cz.vegacom.tt.Main.go(Main.java:67)
>         at cz.vegacom.tt.Main.main(Main.java:60)
>
> Could please anyone help to solve this problem with accepting 
> well-formed messages?
> I'm attaching my WSDL and XSD files.
>
> Thank you in advance.
>
> Libor Suchý
>
>
> *WSDL:*
>
> <?xml version="1.0" encoding="UTF-8"?>
> <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
> xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" 
> xmlns:xs="http://www.w3.org/2001/XMLSchema" 
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
> xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" 
> xmlns:xsd="http://new.webservice.TT.namespace" 
> xmlns:tns="http://new.webservice.TT.wsdl.namespace" 
> targetNamespace="http://new.webservice.TT.wsdl.namespace">
>     <wsdl:import namespace="http://new.webservice.TT.namespace" 
> location="../SchemaDefinitions/TT V6.xsd"/>
>     <wsdl:message name="CreateTroubleTicketRequest">
>         <wsdl:part name="parameter" element="xsd:createTTrequest"/>
>     </wsdl:message>
>     <wsdl:message name="CreateTroubleTicketResponse">
>         <wsdl:part name="parameter" element="xsd:createTTresponse"/>
>     </wsdl:message>
>     <wsdl:message name="UpdateTroubleTicketRequest">
>         <wsdl:part name="parameter" element="xsd:updateTTrequest"/>
>     </wsdl:message>
>     <wsdl:message name="UpdateTroubleTicketResponse">
>         <wsdl:part name="parameter" element="xsd:updateTTresponse"/>
>     </wsdl:message>
>     <wsdl:message name="CancelTroubleTicketRequest">
>         <wsdl:part name="parameter" element="xsd:cancelTTrequest"/>
>     </wsdl:message>
>     <wsdl:message name="CancelTroubleTicketResponse">
>         <wsdl:part name="parameter" element="xsd:cancelTTresponse"/>
>     </wsdl:message>
>     <wsdl:message name="ReadTroubleTicketRequest">
>         <wsdl:part name="parameter" element="xsd:readTTrequest"/>
>     </wsdl:message>
>     <wsdl:message name="ReadTroubleTicketResponse">
>         <wsdl:part name="parameter" element="xsd:readTTresponse"/>
>     </wsdl:message>
>     <wsdl:message name="ChangedStatusOfTroubleTicketRequest">
>         <wsdl:part name="parameter" 
> element="xsd:changedStatusOfTTrequest"/>
>     </wsdl:message>
>     <wsdl:message name="ChangedStatusOfTroubleTicketResponse">
>         <wsdl:part name="parameter" 
> element="xsd:changedStatusOfTTresponse"/>
>     </wsdl:message>
>     <wsdl:portType name="TroubleTicketPortType">
>         <wsdl:operation name="CreateTroubleTicket">
>             <wsdl:input message="tns:CreateTroubleTicketRequest"/>
>             <wsdl:output message="tns:CreateTroubleTicketResponse"/>
>         </wsdl:operation>
>         <wsdl:operation name="UpdateTroubleTicket">
>             <wsdl:input message="tns:UpdateTroubleTicketRequest"/>
>             <wsdl:output message="tns:UpdateTroubleTicketResponse"/>
>         </wsdl:operation>
>         <wsdl:operation name="CancelTroubleTicket">
>             <wsdl:input message="tns:CancelTroubleTicketRequest"/>
>             <wsdl:output message="tns:CancelTroubleTicketResponse"/>
>         </wsdl:operation>
>         <wsdl:operation name="ReadTroubleTicket">
>             <wsdl:input message="tns:ReadTroubleTicketRequest"/>
>             <wsdl:output message="tns:ReadTroubleTicketResponse"/>
>         </wsdl:operation>
>         <wsdl:operation name="ChangedStatusOfTroubleTicket">
>             <wsdl:input 
> message="tns:ChangedStatusOfTroubleTicketRequest"/>
>             <wsdl:output 
> message="tns:ChangedStatusOfTroubleTicketResponse"/>
>         </wsdl:operation>
>     </wsdl:portType>
>     <wsdl:binding name="TroubleTicketBinding" 
> type="tns:TroubleTicketPortType">
>         <soap:binding style="document" 
> transport="http://schemas.xmlsoap.org/soap/http"/>
>         <wsdl:operation name="CreateTroubleTicket">
>             <soap:operation soapAction="urn:#CreateTroubleTicket"/>
>             <wsdl:input>
>                 <soap:body use="literal"/>
>             </wsdl:input>
>             <wsdl:output>
>                 <soap:body use="literal"/>
>             </wsdl:output>
>         </wsdl:operation>
>         <wsdl:operation name="UpdateTroubleTicket">
>             <soap:operation soapAction="urn:#UpdateTroubleTicket"/>
>             <wsdl:input>
>                 <soap:body use="literal"/>
>             </wsdl:input>
>             <wsdl:output>
>                 <soap:body use="literal"/>
>             </wsdl:output>
>         </wsdl:operation>
>         <wsdl:operation name="CancelTroubleTicket">
>             <soap:operation soapAction="urn:#CancelTroubleTicket"/>
>             <wsdl:input>
>                 <soap:body use="literal"/>
>             </wsdl:input>
>             <wsdl:output>
>                 <soap:body use="literal"/>
>             </wsdl:output>
>         </wsdl:operation>
>         <wsdl:operation name="ReadTroubleTicket">
>             <soap:operation soapAction="urn:#ReadTroubleTicket"/>
>             <wsdl:input>
>                 <soap:body use="literal"/>
>             </wsdl:input>
>             <wsdl:output>
>                 <soap:body use="literal"/>
>             </wsdl:output>
>         </wsdl:operation>
>         <wsdl:operation name="ChangedStatusOfTroubleTicket">
>             <soap:operation 
> soapAction="urn:#ChangedStatusOfTroubleTicket"/>
>             <wsdl:input>
>                 <soap:body use="literal"/>
>             </wsdl:input>
>             <wsdl:output>
>                 <soap:body use="literal"/>
>             </wsdl:output>
>         </wsdl:operation>
>     </wsdl:binding>
>     <wsdl:service name="TroubleTicketService">
>         <wsdl:port name="TroubleTicketPort" 
> binding="tns:TroubleTicketBinding">
>             <soap:address location="https://www.ww.w"/>
>         </wsdl:port>
>     </wsdl:service>
> </wsdl:definitions>
>
>
>
>
> *XSD:
>
> *<?xml version="1.0" encoding="UTF-8"?>
> <!-- edited with XMLSpy v2008 sp1 (http://www.altova.com) by . (.) -->
> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 
> xmlns:tns="http://new.webservice.TT.namespace" 
> targetNamespace="http://new.webservice.TT.namespace" 
> elementFormDefault="qualified" attributeFormDefault="unqualified">
>     <xs:simpleType name="ID">
>         <xs:annotation>
>             <xs:documentation>ID of Trouble Ticket on problem resolver 
> side.</xs:documentation>
>         </xs:annotation>
>         <xs:restriction base="xs:string"/>
>     </xs:simpleType>
>     <xs:simpleType name="Status">
>         <xs:restriction base="xs:string">
>             <xs:enumeration value="QUEUED"/>
>             <xs:enumeration value="OPEN/ACTIVE"/>
>             <xs:enumeration value="DEFERRED"/>
>             <xs:enumeration value="CLEARED"/>
>             <xs:enumeration value="CLOSED"/>
>             <xs:enumeration value="CANCELED"/>
>             <xs:enumeration value="DISABLED"/>
>         </xs:restriction>
>     </xs:simpleType>
>     <xs:complexType name="Contact">
>         <xs:sequence>
>             <xs:element name="email" type="xs:string" minOccurs="0"/>
>             <xs:element name="phone" type="xs:string" minOccurs="0"/>
>             <xs:element name="fax" type="xs:string" minOccurs="0"/>
>             <xs:element name="role" type="xs:string" minOccurs="0"/>
>             <xs:element name="name" type="xs:string"/>
>         </xs:sequence>
>     </xs:complexType>
>     <xs:complexType name="Trouble">
>         <xs:sequence>
>             <xs:element name="BaseTroubledType">
>                 <xs:simpleType>
>                     <xs:restriction base="xs:string">
>                         <xs:whiteSpace value="collapse"/>
>                         <xs:enumeration value="klientsky problem"/>
>                         <xs:enumeration value="reklamace"/>
>                         <xs:enumeration value="stiznost"/>
>                         <xs:enumeration value="sitovy problemm"/>
>                         <xs:enumeration value="planovany vypadek"/>
>                         <xs:enumeration value="pozadavek"/>
>                         <xs:enumeration value="technicka porucha"/>
>                         <xs:enumeration value="spatny prenos"/>
>                         <xs:enumeration value="nefunkcni spoj"/>
>                         <xs:enumeration value="nejde internet"/>
>                         <xs:enumeration value="nefunkcni uzel"/>
>                         <xs:enumeration value="nejdou hlasy"/>
>                         <xs:enumeration value="nefunkcni RJ"/>
>                         <xs:enumeration value="nefunkcni SCU"/>
>                         <xs:enumeration value="nefunkcni terminal"/>
>                         <xs:enumeration value="nefunkcni RM"/>
>                         <xs:enumeration value="vypnul zakaznik"/>
>                         <xs:enumeration value="nejde dohled"/>
>                         <xs:enumeration value="ostatni"/>
>                         <xs:enumeration value="pomoc pri instalaci"/>
>                         <xs:enumeration value="vystavba"/>
>                         <xs:enumeration value="pomaly internet"/>
>                         <xs:enumeration value="nejde internet ani hlas"/>
>                         <xs:enumeration value="router error"/>
>                         <xs:enumeration value="router power supply 
> error"/>
>                         <xs:enumeration value="router port error"/>
>                         <xs:enumeration value="router faulty router"/>
>                         <xs:enumeration value="router connector error"/>
>                         <xs:enumeration value="router configuration 
> error"/>
>                         <xs:enumeration value="router power outage"/>
>                         <xs:enumeration value="rourer customer side 
> error"/>
>                         <xs:enumeration value="router customer 
> intervention"/>
>                         <xs:enumeration value="router back-up error"/>
>                         <xs:enumeration value="router upgrade required"/>
>                         <xs:enumeration value="switch error"/>
>                         <xs:enumeration value="switch power supply 
> error"/>
>                         <xs:enumeration value="switch port error"/>
>                         <xs:enumeration value="switch faulty switch"/>
>                         <xs:enumeration value="switch connector error"/>
>                         <xs:enumeration value="switch configuration 
> error"/>
>                         <xs:enumeration value="switch power outage"/>
>                         <xs:enumeration value="switch customer side 
> error"/>
>                         <xs:enumeration value="switch customer 
> intervention"/>
>                         <xs:enumeration value="switch upgrade required"/>
>                         <xs:enumeration value="software error"/>
>                         <xs:enumeration value="software configuration 
> error"/>
>                         <xs:enumeration value="software customer side 
> error"/>
>                         <xs:enumeration value="software customer 
> intervention"/>
>                         <xs:enumeration value="gateway error"/>
>                         <xs:enumeration value="gateway power supply 
> error"/>
>                         <xs:enumeration value="gateway port error"/>
>                         <xs:enumeration value="gateway faulty gateway"/>
>                         <xs:enumeration value="gateway connector error"/>
>                         <xs:enumeration value="gateway configuration 
> error"/>
>                         <xs:enumeration value="gateway power outage"/>
>                         <xs:enumeration value="gateway customer side 
> error"/>
>                         <xs:enumeration value="gateway customer 
> intervention"/>
>                         <xs:enumeration value="gateway upgrade requied"/>
>                         <xs:enumeration value="gateway faulty wiring"/>
>                         <xs:enumeration value="phone error"/>
>                         <xs:enumeration value="phone power supply error"/>
>                         <xs:enumeration value="phone port error"/>
>                         <xs:enumeration value="phone faulty phone"/>
>                         <xs:enumeration value="phone connector error"/>
>                         <xs:enumeration value="phone configuration 
> error"/>
>                         <xs:enumeration value="phone power outage"/>
>                         <xs:enumeration value="phone customer side 
> error"/>
>                         <xs:enumeration value="phone customer 
> intervention"/>
>                         <xs:enumeration value="phone upgrade requied"/>
>                         <xs:enumeration value="phone back-up error"/>
>                         <xs:enumeration value="phone faulty wiring"/>
>                         <xs:enumeration value="phone manipulation error"/>
>                         <xs:enumeration value="connection error"/>
>                         <xs:enumeration value="connection supplier 
> error"/>
>                         <xs:enumeration value="connection 
> configuration error"/>
>                         <xs:enumeration value="connection on line 
> error rate"/>
>                         <xs:enumeration value="connection weather 
> conditions"/>
>                         <xs:enumeration value="connection customer 
> intervention"/>
>                         <xs:enumeration value="power supply error"/>
>                         <xs:enumeration value="power supply 230V outage"/>
>                         <xs:enumeration value="power supply 48V outage"/>
>                         <xs:enumeration value="power supply planned 
> outage"/>
>                         <xs:enumeration value="power supply customer 
> intervention"/>
>                         <xs:enumeration value="natural disaster"/>
>                         <xs:enumeration value="other error"/>
>                         <xs:enumeration value="unknown"/>
>                     </xs:restriction>
>                 </xs:simpleType>
>             </xs:element>
>             <xs:element name="ReportedBy" type="tns:Contact" 
> minOccurs="0"/>
>             <xs:element name="troubleDescription" type="xs:string" 
> minOccurs="0"/>
>             <xs:element name="troubleLocation" type="xs:string" 
> minOccurs="0"/>
>             <xs:element name="TroubledObject" type="xs:string" 
> minOccurs="0">
>                 <xs:annotation>
>                     <xs:documentation>holds the problem resolver 
> system Id or of device installed at customer place</xs:documentation>
>                 </xs:annotation>
>             </xs:element>
>             <xs:element name="accountOwner" type="tns:Contact" 
> minOccurs="0">
>                 <xs:annotation>
>                     <xs:documentation>person from Vodafone 
> sideresponsible for communication with the customer</xs:documentation>
>                 </xs:annotation>
>             </xs:element>
>             <xs:element name="receivedTime" type="xs:dateTime" 
> minOccurs="0">
>                 <xs:annotation>
>                     <xs:documentation>When the trouble was 
> reported.</xs:documentation>
>                 </xs:annotation>
>             </xs:element>
>             <xs:element name="troubleDetectionTime" type="xs:dateTime" 
> minOccurs="0">
>                 <xs:annotation>
>                     <xs:documentation>When the trouble was 
> detected.</xs:documentation>
>                 </xs:annotation>
>             </xs:element>
>             <xs:element name="commitmentTimeRequested" 
> type="xs:dateTime" minOccurs="0">
>                 <xs:annotation>
>                     <xs:documentation>When the trouble must be 
> resolved, requested  by the reporter</xs:documentation>
>                 </xs:annotation>
>             </xs:element>
>             <xs:element name="commitmentTime" type="xs:dateTime" 
> minOccurs="0">
>                 <xs:annotation>
>                     <xs:documentation>When the trouble would be 
> resolved, requested  by the problem solver</xs:documentation>
>                 </xs:annotation>
>             </xs:element>
>             <xs:element name="restoredTime" type="xs:dateTime" 
> minOccurs="0">
>                 <xs:annotation>
>                     <xs:documentation>When the trouble has been 
> resolved.</xs:documentation>
>                 </xs:annotation>
>             </xs:element>
>             <xs:element name="additionalTroubleInfoList" 
> type="xs:string" minOccurs="0"/>
>             <xs:element name="cancelRequestedByCustomer" 
> type="xs:boolean" minOccurs="0"/>
>             <xs:element name="customerTroubleNum" type="xs:string" 
> minOccurs="0">
>                 <xs:annotation>
>                     <xs:documentation>ID of trouble on Vodafone 
> side.</xs:documentation>
>                 </xs:annotation>
>             </xs:element>
>             <xs:element name="outgageDuration" type="xs:int" 
> minOccurs="0"/>
>             <xs:element name="serviceUnavailableBeginTime" 
> type="xs:dateTime" minOccurs="0"/>
>             <xs:element name="serviceUnavailableEndTime" 
> type="xs:dateTime" minOccurs="0"/>
>             <xs:element name="troubleStatusTime" type="xs:dateTime" 
> minOccurs="0"/>
>             <xs:element name="lastUpdateTime" type="xs:dateTime" 
> minOccurs="0"/>
>             <xs:element name="ttContract" type="xs:string" minOccurs="0">
>                 <xs:annotation>
>                     <xs:documentation>specifies contract between 
> Vodafone and problem solver</xs:documentation>
>                 </xs:annotation>
>             </xs:element>
>             <xs:element name="ttSLA" type="xs:string" minOccurs="0">
>                 <xs:annotation>
>                     <xs:documentation>specifies wanted SLA level for 
> requested trouble ticket</xs:documentation>
>                 </xs:annotation>
>             </xs:element>
>             <xs:element name="ttPriority" type="xs:int" minOccurs="0">
>                 <xs:annotation>
>                     <xs:documentation>specifies priority of requested 
> trouble ticket</xs:documentation>
>                 </xs:annotation>
>             </xs:element>
>         </xs:sequence>
>     </xs:complexType>
>     <xs:complexType name="Customer">
>         <xs:sequence>
>             <xs:element name="name" type="xs:string"/>
>             <xs:element name="number" type="xs:string">
>                 <xs:annotation>
>                     <xs:documentation>ID of the 
> customer</xs:documentation>
>                 </xs:annotation>
>             </xs:element>
>             <xs:element name="location" type="xs:string" minOccurs="0"/>
>             <xs:element name="email" type="xs:string" minOccurs="0"/>
>             <xs:element name="phone" type="xs:string" minOccurs="0"/>
>             <xs:element name="fax" type="xs:string" minOccurs="0"/>
>             <xs:element name="contacts" type="tns:Contact" 
> minOccurs="0" maxOccurs="unbounded"/>
>         </xs:sequence>
>     </xs:complexType>
>     <xs:complexType name="TroubleTicket">
>         <xs:sequence>
>             <xs:element name="TTkey" type="tns:ID" minOccurs="0">
>                 <xs:annotation>
>                     <xs:documentation>ID of Trouble Ticket on problem 
> resolver side.</xs:documentation>
>                 </xs:annotation>
>             </xs:element>
>             <xs:element name="Customer" type="tns:Customer" 
> minOccurs="0"/>
>             <xs:element name="Trouble" type="tns:Trouble"/>
>             <xs:element name="Status" type="tns:Status" minOccurs="0"/>
>         </xs:sequence>
>     </xs:complexType>
>     <xs:complexType name="StandardResponse">
>         <xs:sequence>
>             <xs:element name="ResultCode" type="xs:int">
>                 <xs:annotation>
>                     <xs:documentation>0 - OK , negative number - 
> Error</xs:documentation>
>                 </xs:annotation>
>             </xs:element>
>             <xs:element name="ResultComment" type="xs:string">
>                 <xs:annotation>
>                     <xs:documentation>Detail error description or 
> success message.</xs:documentation>
>                 </xs:annotation>
>             </xs:element>
>             <xs:element name="TTkey" type="tns:ID" minOccurs="0"/>
>         </xs:sequence>
>     </xs:complexType>
>     <xs:element name="createTTrequest">
>         <xs:annotation>
>             <xs:documentation>Input data to create trouble 
> ticket.</xs:documentation>
>         </xs:annotation>
>         <xs:complexType>
>             <xs:sequence>
>                 <xs:element name="Sender" type="xs:string"/>
>                 <xs:element name="TroubleTicket" 
> type="tns:TroubleTicket"/>
>             </xs:sequence>
>         </xs:complexType>
>     </xs:element>
>     <xs:element name="createTTresponse">
>         <xs:annotation>
>             <xs:documentation/>
>         </xs:annotation>
>         <xs:complexType>
>             <xs:sequence>
>                 <xs:element name="Response" type="tns:StandardResponse"/>
>             </xs:sequence>
>         </xs:complexType>
>     </xs:element>
>     <xs:element name="updateTTrequest">
>         <xs:annotation>
>             <xs:documentation>Input data to update trouble 
> ticket.</xs:documentation>
>         </xs:annotation>
>         <xs:complexType>
>             <xs:sequence>
>                 <xs:element name="Sender" type="xs:string"/>
>                 <xs:element name="TroubleTicket" 
> type="tns:TroubleTicket"/>
>             </xs:sequence>
>         </xs:complexType>
>     </xs:element>
>     <xs:element name="updateTTresponse">
>         <xs:annotation>
>             <xs:documentation/>
>         </xs:annotation>
>         <xs:complexType>
>             <xs:sequence>
>                 <xs:element name="Response" type="tns:StandardResponse"/>
>             </xs:sequence>
>         </xs:complexType>
>     </xs:element>
>     <xs:element name="cancelTTrequest">
>         <xs:annotation>
>             <xs:documentation>Input data to cancel trouble 
> ticket.</xs:documentation>
>         </xs:annotation>
>         <xs:complexType>
>             <xs:sequence>
>                 <xs:element name="Sender" type="xs:string"/>
>                 <xs:element name="TTKey" type="tns:ID">
>                     <xs:annotation>
>                         <xs:documentation>ID of Trouble Ticket on 
> problem resolver side.</xs:documentation>
>                     </xs:annotation>
>                 </xs:element>
>             </xs:sequence>
>         </xs:complexType>
>     </xs:element>
>     <xs:element name="cancelTTresponse">
>         <xs:annotation>
>             <xs:documentation/>
>         </xs:annotation>
>         <xs:complexType>
>             <xs:sequence>
>                 <xs:element name="Response" type="tns:StandardResponse"/>
>             </xs:sequence>
>         </xs:complexType>
>     </xs:element>
>     <xs:element name="readTTrequest">
>         <xs:annotation>
>             <xs:documentation>Input data to read actuall trouble 
> ticket.</xs:documentation>
>         </xs:annotation>
>         <xs:complexType>
>             <xs:sequence>
>                 <xs:element name="Sender" type="xs:string"/>
>                 <xs:element name="TTKey" type="tns:ID">
>                     <xs:annotation>
>                         <xs:documentation>ID of Trouble Ticket on 
> problem resolver side.</xs:documentation>
>                     </xs:annotation>
>                 </xs:element>
>             </xs:sequence>
>         </xs:complexType>
>     </xs:element>
>     <xs:element name="readTTresponse">
>         <xs:annotation>
>             <xs:documentation>Actuall Trouble Ticket.</xs:documentation>
>         </xs:annotation>
>         <xs:complexType>
>             <xs:sequence>
>                 <xs:element name="Response" type="tns:StandardResponse"/>
>                 <xs:element name="Result" type="tns:TroubleTicket" 
> minOccurs="0"/>
>             </xs:sequence>
>         </xs:complexType>
>     </xs:element>
>     <xs:element name="changedStatusOfTTrequest">
>         <xs:annotation>
>             <xs:documentation>Input data to change trouble ticket 
> status.</xs:documentation>
>         </xs:annotation>
>         <xs:complexType>
>             <xs:sequence>
>                 <xs:element name="Sender" type="xs:string"/>
>                 <xs:element name="TroubleTicket" 
> type="tns:TroubleTicket"/>
>             </xs:sequence>
>         </xs:complexType>
>     </xs:element>
>     <xs:element name="changedStatusOfTTresponse">
>         <xs:annotation>
>             <xs:documentation/>
>         </xs:annotation>
>         <xs:complexType>
>             <xs:sequence>
>                 <xs:element name="Response" type="tns:StandardResponse"/>
>             </xs:sequence>
>         </xs:complexType>
>     </xs:element>
> </xs:schema>
>
>
>
>
>

-- 
------------------------------------------------------------------------
*Libor Suchý*
*System Architect*

*Vegacom a.s. - Division 2 ICT
*Šenovská 30/434
182 03 Praha 8
Czech Republic
Tel.:        +420 266 005 097               T-Com SK office:     +421 
253 632 677
Mobile:  +420 602 356 757
E-mail:   _suchyl@vegacom.cz_
_www.vegacom.cz_
------------------------------------------------------------------------