title: Webservice response namespace does not match WSDL definition
body: <p>I'm attempting to connect to a webservice using JAX-WS which has a WSDL definition that does not quite match the actual response received from the webservice.  Basically, the WSDL indicates that all elements are part of the "urn:HPD_IncidentInterface_WS" namespace, but the actual response elements are in the "urn:Port" namespace.  This causes JAX-WS to throw the following exception:</p>
  
  <blockquote>
    <p>com.sun.xml.internal.ws.streaming.XMLStreamReaderException: unexpected
    XML tag. expected:
    {urn:HPD_IncidentInterface_WS}HelpDesk_QueryList_ServiceResponse but
    found: {urn:Port}HelpDesk_QueryList_ServiceResponse</p>
  </blockquote>
  
  <p>My plan to workaround this issue is to download the WSDL, modify it to match the namespace in the actual response, and then re-generate the JAX-WS code using wsimport.  However, I'm having difficulty figuring out how to modify the WSDL so that the response namespace is correct.  Based on what I've researched so far, it looks like I need to create a new WSDL file with a wsdl:definition that contains the urn:Port targetNamespace and then import it into the original WSDL file, but I'm can't seem to get the syntax right.  Can anyone help me to correct the WSDL to match the actual webservice response?</p>
  
  <p>Here is a sample of the response which references the <code>urn:Port</code> namespace:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
     &lt;soapenv:Body&gt;
        &lt;ns0:HelpDesk_QueryList_ServiceResponse xmlns:ns0="urn:Port"&gt;
           &lt;ns0:getListValues&gt;
              &lt;ns0:Assigned_Group&gt;APP-eBiz-EP-L2&lt;/ns0:Assigned_Group&gt;
              &lt;ns0:Assigned_Group_Shift_Name/&gt;
              &lt;ns0:Assigned_Support_Company&gt;Acme&lt;/ns0:Assigned_Support_Company&gt;
              &lt;ns0:Assigned_Support_Organization&gt;Applications - eBusinessServices&lt;/ns0:Assigned_Support_Organization&gt;
              &lt;ns0:Assignee&gt;Geoff Denning&lt;/ns0:Assignee&gt;
              &lt;ns0:Categorization_Tier_1&gt;Issue&lt;/ns0:Categorization_Tier_1&gt;
              &lt;ns0:Categorization_Tier_2&gt;Failure&lt;/ns0:Categorization_Tier_2&gt;
              &lt;ns0:Categorization_Tier_3/&gt;
              &lt;ns0:City&gt;Mountain View&lt;/ns0:City&gt;
              &lt;ns0:Closure_Manufacturer/&gt;
              &lt;ns0:Closure_Product_Category_Tier1/&gt;
              &lt;ns0:Closure_Product_Category_Tier2/&gt;
              &lt;ns0:Closure_Product_Category_Tier3/&gt;
              &lt;ns0:Closure_Product_Model_Version/&gt;
              &lt;ns0:Closure_Product_Name/&gt;
              &lt;ns0:Company&gt;Acme&lt;/ns0:Company&gt;
              &lt;ns0:Contact_Company&gt;Acme&lt;/ns0:Contact_Company&gt;
              &lt;ns0:Contact_Sensitivity&gt;Standard&lt;/ns0:Contact_Sensitivity&gt;
              &lt;ns0:Country&gt;United States&lt;/ns0:Country&gt;
              &lt;ns0:Department&gt;Mgmt Information Systems&lt;/ns0:Department&gt;
              &lt;ns0:Summary&gt;Test summary&lt;/ns0:Summary&gt;
              &lt;ns0:Notes&gt;Refer to the attached error screenshot.&lt;/ns0:Notes&gt;
              &lt;ns0:First_Name&gt;Geoff&lt;/ns0:First_Name&gt;
              &lt;ns0:Impact&gt;4-Minor/Localized&lt;/ns0:Impact&gt;
              &lt;ns0:Incident_Number&gt;INC000000773346&lt;/ns0:Incident_Number&gt;
              &lt;ns0:Internet_E-mail&gt;geoff@acme.com&lt;/ns0:Internet_E-mail&gt;
              &lt;ns0:Last_Name&gt;Denning&lt;/ns0:Last_Name&gt;
              &lt;ns0:Manufacturer/&gt;
              &lt;ns0:Middle_Initial/&gt;
              &lt;ns0:Organization&gt;IT-eBusiness&lt;/ns0:Organization&gt;
              &lt;ns0:Phone_Number&gt;000-0000&lt;/ns0:Phone_Number&gt;
              &lt;ns0:Priority&gt;Low&lt;/ns0:Priority&gt;
              &lt;ns0:Priority_Weight&gt;2&lt;/ns0:Priority_Weight&gt;
              &lt;ns0:Product_Categorization_Tier_1&gt;Software-Application&lt;/ns0:Product_Categorization_Tier_1&gt;
              &lt;ns0:Product_Categorization_Tier_2&gt;eBusiness Services&lt;/ns0:Product_Categorization_Tier_2&gt;
              &lt;ns0:Product_Categorization_Tier_3&gt;Test&lt;/ns0:Product_Categorization_Tier_3&gt;
              &lt;ns0:Product_Model_Version/&gt;
              &lt;ns0:Product_Name/&gt;
              &lt;ns0:Region&gt;Americas&lt;/ns0:Region&gt;
              &lt;ns0:Reported_Source&gt;Email&lt;/ns0:Reported_Source&gt;
              &lt;ns0:Resolution/&gt;
              &lt;ns0:Resolution_Category/&gt;
              &lt;ns0:Resolution_Category_Tier_2/&gt;
              &lt;ns0:Resolution_Category_Tier_3/&gt;
              &lt;ns0:Service_Type&gt;User Service Restoration&lt;/ns0:Service_Type&gt;
              &lt;ns0:Site&gt;Mountain View, CA&lt;/ns0:Site&gt;
              &lt;ns0:Site_Group&gt;NA West&lt;/ns0:Site_Group&gt;
              &lt;ns0:Status&gt;Assigned&lt;/ns0:Status&gt;
              &lt;ns0:Status_Reason/&gt;
              &lt;ns0:Urgency&gt;4-Low&lt;/ns0:Urgency&gt;
              &lt;ns0:VIP&gt;No&lt;/ns0:VIP&gt;
           &lt;/ns0:getListValues&gt;
        &lt;/ns0:HelpDesk_QueryList_ServiceResponse&gt;
     &lt;/soapenv:Body&gt;
  &lt;/soapenv:Envelope&gt;
  </code></pre>
  
  <p>Existing WSDL with only <code>urn:HPD_IncidentInterface_WS</code> namespace:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;wsdl:definitions targetNamespace="urn:HPD_IncidentInterface_WS" xmlns:s0="urn:HPD_IncidentInterface_WS" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
   &lt;wsdl:types&gt;
    &lt;xsd:schema elementFormDefault="qualified" targetNamespace="urn:HPD_IncidentInterface_WS"&gt;
     &lt;xsd:element name="HelpDesk_Query_Service" type="s0:GetInputMap"/&gt;
     &lt;xsd:complexType name="GetInputMap"&gt;
      &lt;xsd:sequence&gt;
       &lt;xsd:element name="Incident_Number" type="xsd:string"/&gt;
      &lt;/xsd:sequence&gt;
     &lt;/xsd:complexType&gt;
     &lt;xsd:element name="HelpDesk_Query_ServiceResponse" type="s0:GetOutputMap"/&gt;
     &lt;xsd:complexType name="GetOutputMap"&gt;
      &lt;xsd:sequence&gt;
       &lt;xsd:element name="Assigned_Group" type="xsd:string"/&gt;
       &lt;xsd:element name="Assigned_Group_Shift_Name" type="xsd:string"/&gt;
       &lt;xsd:element name="Assigned_Support_Company" type="xsd:string"/&gt;
       &lt;xsd:element name="Assigned_Support_Organization" type="xsd:string"/&gt;
       &lt;xsd:element name="Assignee" type="xsd:string"/&gt;
       &lt;xsd:element name="Categorization_Tier_1" type="xsd:string"/&gt;
       &lt;xsd:element name="Categorization_Tier_2" type="xsd:string"/&gt;
       &lt;xsd:element name="Categorization_Tier_3" type="xsd:string"/&gt;
       &lt;xsd:element name="City" type="xsd:string"/&gt;
       &lt;xsd:element name="Closure_Manufacturer" type="xsd:string"/&gt;
       &lt;xsd:element name="Closure_Product_Category_Tier1" type="xsd:string"/&gt;
       &lt;xsd:element name="Closure_Product_Category_Tier2" type="xsd:string"/&gt;
       &lt;xsd:element name="Closure_Product_Category_Tier3" type="xsd:string"/&gt;
       &lt;xsd:element name="Closure_Product_Model_Version" type="xsd:string"/&gt;
       &lt;xsd:element name="Closure_Product_Name" type="xsd:string"/&gt;
       &lt;xsd:element name="Company" type="xsd:string"/&gt;
       &lt;xsd:element name="Contact_Company" type="xsd:string"/&gt;
       &lt;xsd:element name="Contact_Sensitivity" type="s0:Contact_SensitivityType"/&gt;
       &lt;xsd:element name="Country" type="xsd:string"/&gt;
       &lt;xsd:element name="Department" type="xsd:string"/&gt;
       &lt;xsd:element name="Summary" type="xsd:string"/&gt;
       &lt;xsd:element name="Notes" type="xsd:string"/&gt;
       &lt;xsd:element name="First_Name" type="xsd:string"/&gt;
       &lt;xsd:element name="Impact" type="s0:ImpactType"/&gt;
       &lt;xsd:element name="Last_Name" type="xsd:string"/&gt;
       &lt;xsd:element name="Manufacturer" type="xsd:string"/&gt;
       &lt;xsd:element name="Middle_Initial" type="xsd:string"/&gt;
       &lt;xsd:element name="Organization" type="xsd:string"/&gt;
       &lt;xsd:element name="Phone_Number" type="xsd:string"/&gt;
       &lt;xsd:element name="Priority" type="s0:PriorityType"/&gt;
       &lt;xsd:element name="Priority_Weight" type="xsd:int"/&gt;
       &lt;xsd:element name="Product_Categorization_Tier_1" type="xsd:string"/&gt;
       &lt;xsd:element name="Product_Categorization_Tier_2" type="xsd:string"/&gt;
       &lt;xsd:element name="Product_Categorization_Tier_3" type="xsd:string"/&gt;
       &lt;xsd:element name="Product_Model_Version" type="xsd:string"/&gt;
       &lt;xsd:element name="Product_Name" type="xsd:string"/&gt;
       &lt;xsd:element name="Region" type="xsd:string"/&gt;
       &lt;xsd:element name="Reported_Source" type="s0:Reported_SourceType"/&gt;
       &lt;xsd:element name="Resolution" type="xsd:string"/&gt;
       &lt;xsd:element name="Resolution_Category" type="xsd:string"/&gt;
       &lt;xsd:element name="Resolution_Category_Tier_2" type="xsd:string"/&gt;
       &lt;xsd:element name="Resolution_Category_Tier_3" type="xsd:string"/&gt;
       &lt;xsd:element name="Service_Type" type="s0:Service_TypeType"/&gt;
       &lt;xsd:element name="Site" type="xsd:string"/&gt;
       &lt;xsd:element name="Site_Group" type="xsd:string"/&gt;
       &lt;xsd:element name="Status" type="s0:StatusType"/&gt;
       &lt;xsd:element name="Status_Reason" type="s0:Status_ReasonType"/&gt;
       &lt;xsd:element name="Urgency" type="s0:UrgencyType"/&gt;
       &lt;xsd:element name="VIP" type="s0:VIPType"/&gt;
      &lt;/xsd:sequence&gt;
     &lt;/xsd:complexType&gt;
     &lt;xsd:simpleType name="Contact_SensitivityType"&gt;
      &lt;xsd:restriction base="xsd:string"&gt;
       &lt;xsd:enumeration value="Sensitive"/&gt;
       &lt;xsd:enumeration value="Standard"/&gt;
      &lt;/xsd:restriction&gt;
     &lt;/xsd:simpleType&gt;
     &lt;xsd:simpleType name="ImpactType"&gt;
      &lt;xsd:restriction base="xsd:string"&gt;
       &lt;xsd:enumeration value="1-Extensive/Widespread"/&gt;
       &lt;xsd:enumeration value="2-Significant/Large"/&gt;
       &lt;xsd:enumeration value="3-Moderate/Limited"/&gt;
       &lt;xsd:enumeration value="4-Minor/Localized"/&gt;
      &lt;/xsd:restriction&gt;
     &lt;/xsd:simpleType&gt;
     &lt;xsd:simpleType name="PriorityType"&gt;
      &lt;xsd:restriction base="xsd:string"&gt;
       &lt;xsd:enumeration value="Critical"/&gt;
       &lt;xsd:enumeration value="High"/&gt;
       &lt;xsd:enumeration value="Medium"/&gt;
       &lt;xsd:enumeration value="Low"/&gt;
      &lt;/xsd:restriction&gt;
     &lt;/xsd:simpleType&gt;
     &lt;xsd:simpleType name="Reported_SourceType"&gt;
      &lt;xsd:restriction base="xsd:string"&gt;
       &lt;xsd:enumeration value="Direct Input"/&gt;
       &lt;xsd:enumeration value="Email"/&gt;
       &lt;xsd:enumeration value="External Escalation"/&gt;
       &lt;xsd:enumeration value="Fax"/&gt;
       &lt;xsd:enumeration value="Systems Management"/&gt;
       &lt;xsd:enumeration value="Phone"/&gt;
       &lt;xsd:enumeration value="Voice Mail"/&gt;
       &lt;xsd:enumeration value="Walk In"/&gt;
       &lt;xsd:enumeration value="Web"/&gt;
       &lt;xsd:enumeration value="Other"/&gt;
      &lt;/xsd:restriction&gt;
     &lt;/xsd:simpleType&gt;
     &lt;xsd:simpleType name="Service_TypeType"&gt;
      &lt;xsd:restriction base="xsd:string"&gt;
       &lt;xsd:enumeration value="User Service Restoration"/&gt;
       &lt;xsd:enumeration value="User Service Request"/&gt;
       &lt;xsd:enumeration value="Infrastructure Restoration"/&gt;
       &lt;xsd:enumeration value="Infrastructure Event"/&gt;
      &lt;/xsd:restriction&gt;
     &lt;/xsd:simpleType&gt;
     &lt;xsd:simpleType name="StatusType"&gt;
      &lt;xsd:restriction base="xsd:string"&gt;
       &lt;xsd:enumeration value="New"/&gt;
       &lt;xsd:enumeration value="Assigned"/&gt;
       &lt;xsd:enumeration value="In Progress"/&gt;
       &lt;xsd:enumeration value="Pending"/&gt;
       &lt;xsd:enumeration value="Resolved"/&gt;
       &lt;xsd:enumeration value="Closed"/&gt;
       &lt;xsd:enumeration value="Cancelled"/&gt;
      &lt;/xsd:restriction&gt;
     &lt;/xsd:simpleType&gt;
     &lt;xsd:simpleType name="Status_ReasonType"&gt;
      &lt;xsd:restriction base="xsd:string"&gt;
       &lt;xsd:enumeration value="Infrastructure Change Created"/&gt;
       &lt;xsd:enumeration value="Local Site Action Required"/&gt;
       &lt;xsd:enumeration value="Purchase Order Approval"/&gt;
       &lt;xsd:enumeration value="Registration Approval"/&gt;
       &lt;xsd:enumeration value="Supplier Delivery"/&gt;
       &lt;xsd:enumeration value="Support Contact Hold"/&gt;
       &lt;xsd:enumeration value="Third Party Vendor Action Reqd"/&gt;
       &lt;xsd:enumeration value="Client Action Required"/&gt;
       &lt;xsd:enumeration value="Infrastructure Change"/&gt;
       &lt;xsd:enumeration value="Request"/&gt;
       &lt;xsd:enumeration value="Future Enhancement"/&gt;
       &lt;xsd:enumeration value="Pending Original Incident"/&gt;
       &lt;xsd:enumeration value="Client Hold"/&gt;
       &lt;xsd:enumeration value="Monitoring Incident"/&gt;
       &lt;xsd:enumeration value="Customer Follow-Up Required"/&gt;
       &lt;xsd:enumeration value="Temporary Corrective Action"/&gt;
       &lt;xsd:enumeration value="No Further Action Required"/&gt;
       &lt;xsd:enumeration value="Resolved by Original Incident"/&gt;
      &lt;/xsd:restriction&gt;
     &lt;/xsd:simpleType&gt;
     &lt;xsd:simpleType name="UrgencyType"&gt;
      &lt;xsd:restriction base="xsd:string"&gt;
       &lt;xsd:enumeration value="1-Critical"/&gt;
       &lt;xsd:enumeration value="2-High"/&gt;
       &lt;xsd:enumeration value="3-Medium"/&gt;
       &lt;xsd:enumeration value="4-Low"/&gt;
      &lt;/xsd:restriction&gt;
     &lt;/xsd:simpleType&gt;
     &lt;xsd:simpleType name="VIPType"&gt;
      &lt;xsd:restriction base="xsd:string"&gt;
       &lt;xsd:enumeration value="Yes"/&gt;
       &lt;xsd:enumeration value="No"/&gt;
      &lt;/xsd:restriction&gt;
     &lt;/xsd:simpleType&gt;
     &lt;xsd:element name="HelpDesk_QueryList_Service" type="s0:GetListInputMap"/&gt;
     &lt;xsd:complexType name="GetListInputMap"&gt;
      &lt;xsd:sequence&gt;
       &lt;xsd:element name="Qualification" type="xsd:string"/&gt;
       &lt;xsd:element name="startRecord" type="xsd:string"/&gt;
       &lt;xsd:element name="maxLimit" type="xsd:string"/&gt;
      &lt;/xsd:sequence&gt;
     &lt;/xsd:complexType&gt;
     &lt;xsd:element name="HelpDesk_QueryList_ServiceResponse" type="s0:GetListOutputMap"/&gt;
     &lt;xsd:complexType name="GetListOutputMap"&gt;
      &lt;xsd:sequence&gt;
       &lt;xsd:element maxOccurs="unbounded" name="getListValues"&gt;
        &lt;xsd:complexType&gt;
         &lt;xsd:sequence&gt;
          &lt;xsd:element name="Assigned_Group" type="xsd:string"/&gt;
          &lt;xsd:element name="Assigned_Group_Shift_Name" type="xsd:string"/&gt;
          &lt;xsd:element name="Assigned_Support_Company" type="xsd:string"/&gt;
          &lt;xsd:element name="Assigned_Support_Organization" type="xsd:string"/&gt;
          &lt;xsd:element name="Assignee" type="xsd:string"/&gt;
          &lt;xsd:element name="Categorization_Tier_1" type="xsd:string"/&gt;
          &lt;xsd:element name="Categorization_Tier_2" type="xsd:string"/&gt;
          &lt;xsd:element name="Categorization_Tier_3" type="xsd:string"/&gt;
          &lt;xsd:element name="City" type="xsd:string"/&gt;
          &lt;xsd:element name="Closure_Manufacturer" type="xsd:string"/&gt;
          &lt;xsd:element name="Closure_Product_Category_Tier1" type="xsd:string"/&gt;
          &lt;xsd:element name="Closure_Product_Category_Tier2" type="xsd:string"/&gt;
          &lt;xsd:element name="Closure_Product_Category_Tier3" type="xsd:string"/&gt;
          &lt;xsd:element name="Closure_Product_Model_Version" type="xsd:string"/&gt;
          &lt;xsd:element name="Closure_Product_Name" type="xsd:string"/&gt;
          &lt;xsd:element name="Company" type="xsd:string"/&gt;
          &lt;xsd:element name="Contact_Company" type="xsd:string"/&gt;
          &lt;xsd:element name="Contact_Sensitivity" type="s0:Contact_SensitivityType"/&gt;
          &lt;xsd:element name="Country" type="xsd:string"/&gt;
          &lt;xsd:element name="Department" type="xsd:string"/&gt;
          &lt;xsd:element name="Summary" type="xsd:string"/&gt;
          &lt;xsd:element name="Notes" type="xsd:string"/&gt;
          &lt;xsd:element name="First_Name" type="xsd:string"/&gt;
          &lt;xsd:element name="Impact" type="s0:ImpactType"/&gt;
          &lt;xsd:element name="Incident_Number" type="xsd:string"/&gt;
          &lt;xsd:element name="Internet_E-mail" type="xsd:string"/&gt;
          &lt;xsd:element name="Last_Name" type="xsd:string"/&gt;
          &lt;xsd:element name="Manufacturer" type="xsd:string"/&gt;
          &lt;xsd:element name="Middle_Initial" type="xsd:string"/&gt;
          &lt;xsd:element name="Organization" type="xsd:string"/&gt;
          &lt;xsd:element name="Phone_Number" type="xsd:string"/&gt;
          &lt;xsd:element name="Priority" type="s0:PriorityType"/&gt;
          &lt;xsd:element name="Priority_Weight" type="xsd:int"/&gt;
          &lt;xsd:element name="Product_Categorization_Tier_1" type="xsd:string"/&gt;
          &lt;xsd:element name="Product_Categorization_Tier_2" type="xsd:string"/&gt;
          &lt;xsd:element name="Product_Categorization_Tier_3" type="xsd:string"/&gt;
          &lt;xsd:element name="Product_Model_Version" type="xsd:string"/&gt;
          &lt;xsd:element name="Product_Name" type="xsd:string"/&gt;
          &lt;xsd:element name="Region" type="xsd:string"/&gt;
          &lt;xsd:element name="Reported_Source" type="s0:Reported_SourceType"/&gt;
          &lt;xsd:element name="Resolution" type="xsd:string"/&gt;
          &lt;xsd:element name="Resolution_Category" type="xsd:string"/&gt;
          &lt;xsd:element name="Resolution_Category_Tier_2" type="xsd:string"/&gt;
          &lt;xsd:element name="Resolution_Category_Tier_3" type="xsd:string"/&gt;
          &lt;xsd:element name="Service_Type" type="s0:Service_TypeType"/&gt;
          &lt;xsd:element name="Site" type="xsd:string"/&gt;
          &lt;xsd:element name="Site_Group" type="xsd:string"/&gt;
          &lt;xsd:element name="Status" type="s0:StatusType"/&gt;
          &lt;xsd:element name="Status_Reason" type="s0:Status_ReasonType"/&gt;
          &lt;xsd:element name="Urgency" type="s0:UrgencyType"/&gt;
          &lt;xsd:element name="VIP" type="s0:VIPType"/&gt;
         &lt;/xsd:sequence&gt;
        &lt;/xsd:complexType&gt;
       &lt;/xsd:element&gt;
      &lt;/xsd:sequence&gt;
     &lt;/xsd:complexType&gt;
     &lt;xsd:element name="HelpDesk_Modify_Service" type="s0:SetInputMap"/&gt;
     &lt;xsd:complexType name="SetInputMap"&gt;
      &lt;xsd:sequence&gt;
       &lt;xsd:element name="Categorization_Tier_1" type="xsd:string"/&gt;
       &lt;xsd:element name="Categorization_Tier_2" type="xsd:string"/&gt;
       &lt;xsd:element name="Categorization_Tier_3" type="xsd:string"/&gt;
       &lt;xsd:element name="Closure_Manufacturer" type="xsd:string"/&gt;
       &lt;xsd:element name="Closure_Product_Category_Tier1" type="xsd:string"/&gt;
       &lt;xsd:element name="Closure_Product_Category_Tier2" type="xsd:string"/&gt;
       &lt;xsd:element name="Closure_Product_Category_Tier3" type="xsd:string"/&gt;
       &lt;xsd:element name="Closure_Product_Model_Version" type="xsd:string"/&gt;
       &lt;xsd:element name="Closure_Product_Name" type="xsd:string"/&gt;
       &lt;xsd:element name="Company" type="xsd:string"/&gt;
       &lt;xsd:element name="Summary" type="xsd:string"/&gt;
       &lt;xsd:element name="Notes" type="xsd:string"/&gt;
       &lt;xsd:element name="Impact" type="s0:ImpactType"/&gt;
       &lt;xsd:element name="Manufacturer" type="xsd:string"/&gt;
       &lt;xsd:element name="Product_Categorization_Tier_1" type="xsd:string"/&gt;
       &lt;xsd:element name="Product_Categorization_Tier_2" type="xsd:string"/&gt;
       &lt;xsd:element name="Product_Categorization_Tier_3" type="xsd:string"/&gt;
       &lt;xsd:element name="Product_Model_Version" type="xsd:string"/&gt;
       &lt;xsd:element name="Product_Name" type="xsd:string"/&gt;
       &lt;xsd:element name="Reported_Source" type="s0:Reported_SourceType"/&gt;
       &lt;xsd:element name="Resolution" type="xsd:string"/&gt;
       &lt;xsd:element name="Resolution_Category" type="xsd:string"/&gt;
       &lt;xsd:element name="Resolution_Category_Tier_2" type="xsd:string"/&gt;
       &lt;xsd:element name="Resolution_Category_Tier_3" type="xsd:string"/&gt;
       &lt;xsd:element name="Resolution_Method" type="xsd:string"/&gt;
       &lt;xsd:element name="Service_Type" type="s0:Service_TypeType"/&gt;
       &lt;xsd:element name="Status" type="s0:StatusType"/&gt;
       &lt;xsd:element name="Urgency" type="s0:UrgencyType"/&gt;
       &lt;xsd:element name="Action" type="xsd:string"/&gt;
       &lt;xsd:element name="Work_Info_Summary" type="xsd:string"/&gt;
       &lt;xsd:element name="Work_Info_Notes" type="xsd:string"/&gt;
       &lt;xsd:element name="Work_Info_Type" type="s0:Work_Info_TypeType"/&gt;
       &lt;xsd:element name="Work_Info_Date" type="xsd:dateTime"/&gt;
       &lt;xsd:element name="Work_Info_Source" type="s0:Work_Info_SourceType"/&gt;
       &lt;xsd:element name="Work_Info_Locked" type="s0:VIPType"/&gt;
       &lt;xsd:element name="Work_Info_View_Access" type="s0:Work_Info_View_AccessType"/&gt;
       &lt;xsd:element name="Incident_Number" type="xsd:string"/&gt;
      &lt;/xsd:sequence&gt;
     &lt;/xsd:complexType&gt;
     &lt;xsd:simpleType name="Work_Info_TypeType"&gt;
      &lt;xsd:restriction base="xsd:string"&gt;
       &lt;xsd:enumeration value="----- Customer Inbound -----"/&gt;
       &lt;xsd:enumeration value="Customer Communication"/&gt;
       &lt;xsd:enumeration value="Customer Follow-up"/&gt;
       &lt;xsd:enumeration value="Customer Status Update"/&gt;
       &lt;xsd:enumeration value="----- Customer Outbound -----"/&gt;
       &lt;xsd:enumeration value="Closure Follow Up"/&gt;
       &lt;xsd:enumeration value="Detail Clarification"/&gt;
       &lt;xsd:enumeration value="General Information"/&gt;
       &lt;xsd:enumeration value="Resolution Communications"/&gt;
       &lt;xsd:enumeration value="Satisfaction Survey"/&gt;
       &lt;xsd:enumeration value="Status Update"/&gt;
       &lt;xsd:enumeration value="----- General -----"/&gt;
       &lt;xsd:enumeration value="Incident Task / Action"/&gt;
       &lt;xsd:enumeration value="Problem Script"/&gt;
       &lt;xsd:enumeration value="Working Log"/&gt;
       &lt;xsd:enumeration value="Email System"/&gt;
       &lt;xsd:enumeration value="Paging System"/&gt;
      &lt;/xsd:restriction&gt;
     &lt;/xsd:simpleType&gt;
     &lt;xsd:simpleType name="Work_Info_SourceType"&gt;
      &lt;xsd:restriction base="xsd:string"&gt;
       &lt;xsd:enumeration value="Email"/&gt;
       &lt;xsd:enumeration value="Fax"/&gt;
       &lt;xsd:enumeration value="Phone"/&gt;
       &lt;xsd:enumeration value="Voice Mail"/&gt;
       &lt;xsd:enumeration value="Walk In"/&gt;
       &lt;xsd:enumeration value="Pager"/&gt;
       &lt;xsd:enumeration value="System Assignment"/&gt;
       &lt;xsd:enumeration value="Web"/&gt;
       &lt;xsd:enumeration value="Other"/&gt;
      &lt;/xsd:restriction&gt;
     &lt;/xsd:simpleType&gt;
     &lt;xsd:simpleType name="Work_Info_View_AccessType"&gt;
      &lt;xsd:restriction base="xsd:string"&gt;
       &lt;xsd:enumeration value="Internal"/&gt;
       &lt;xsd:enumeration value="Public"/&gt;
      &lt;/xsd:restriction&gt;
     &lt;/xsd:simpleType&gt;
     &lt;xsd:element name="HelpDesk_Modify_ServiceResponse" type="s0:SetOutputMap"/&gt;
     &lt;xsd:complexType name="SetOutputMap"&gt;
      &lt;xsd:sequence/&gt;
     &lt;/xsd:complexType&gt;
     &lt;xsd:element name="AuthenticationInfo" type="s0:AuthenticationInfo"/&gt;
     &lt;xsd:complexType name="AuthenticationInfo"&gt;
      &lt;xsd:sequence&gt;
       &lt;xsd:element name="userName" type="xsd:string"/&gt;
       &lt;xsd:element name="password" type="xsd:string"/&gt;
       &lt;xsd:element minOccurs="0" name="authentication" type="xsd:string"/&gt;
       &lt;xsd:element minOccurs="0" name="locale" type="xsd:string"/&gt;
       &lt;xsd:element minOccurs="0" name="timeZone" type="xsd:string"/&gt;
      &lt;/xsd:sequence&gt;
     &lt;/xsd:complexType&gt;
    &lt;/xsd:schema&gt;
   &lt;/wsdl:types&gt;
  
     &lt;wsdl:message name="HelpDesk_Query_ServiceSoapIn"&gt;
  
        &lt;wsdl:part element="s0:HelpDesk_Query_Service" name="parameters"/&gt;
  
     &lt;/wsdl:message&gt;
  
     &lt;wsdl:message name="HelpDesk_Query_ServiceSoapOut"&gt;
  
        &lt;wsdl:part element="s0:HelpDesk_Query_ServiceResponse" name="parameters"/&gt;
  
     &lt;/wsdl:message&gt;
  
     &lt;wsdl:message name="HelpDesk_Modify_ServiceSoapIn"&gt;
  
        &lt;wsdl:part element="s0:HelpDesk_Modify_Service" name="parameters"/&gt;
  
     &lt;/wsdl:message&gt;
  
     &lt;wsdl:message name="HelpDesk_Modify_ServiceSoapOut"&gt;
  
        &lt;wsdl:part element="s0:HelpDesk_Modify_ServiceResponse" name="parameters"/&gt;
  
     &lt;/wsdl:message&gt;
  
     &lt;wsdl:message name="HelpDesk_QueryList_ServiceSoapOut"&gt;
  
        &lt;wsdl:part element="s0:HelpDesk_QueryList_ServiceResponse" name="parameters"/&gt;
  
     &lt;/wsdl:message&gt;
  
     &lt;wsdl:message name="HelpDesk_QueryList_ServiceSoapIn"&gt;
  
        &lt;wsdl:part element="s0:HelpDesk_QueryList_Service" name="parameters"/&gt;
  
     &lt;/wsdl:message&gt;
  
     &lt;wsdl:message name="ARAuthenticate"&gt;
  
        &lt;wsdl:part element="s0:AuthenticationInfo" name="parameters"/&gt;
  
     &lt;/wsdl:message&gt;
  
     &lt;wsdl:portType name="HPD_IncidentInterface_WSPortType"&gt;
  
        &lt;wsdl:operation name="HelpDesk_Query_Service"&gt;
  
           &lt;wsdl:input message="s0:HelpDesk_Query_ServiceSoapIn"/&gt;
  
           &lt;wsdl:output message="s0:HelpDesk_Query_ServiceSoapOut"/&gt;
  
        &lt;/wsdl:operation&gt;
  
        &lt;wsdl:operation name="HelpDesk_QueryList_Service"&gt;
  
           &lt;wsdl:input message="s0:HelpDesk_QueryList_ServiceSoapIn"/&gt;
  
           &lt;wsdl:output message="s0:HelpDesk_QueryList_ServiceSoapOut"/&gt;
  
        &lt;/wsdl:operation&gt;
  
        &lt;wsdl:operation name="HelpDesk_Modify_Service"&gt;
  
           &lt;wsdl:input message="s0:HelpDesk_Modify_ServiceSoapIn"/&gt;
  
           &lt;wsdl:output message="s0:HelpDesk_Modify_ServiceSoapOut"/&gt;
  
        &lt;/wsdl:operation&gt;
  
     &lt;/wsdl:portType&gt;
  
     &lt;wsdl:binding name="HPD_IncidentInterface_WSSoapBinding" type="s0:HPD_IncidentInterface_WSPortType"&gt;
  
        &lt;soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/&gt;
  
        &lt;wsdl:operation name="HelpDesk_Query_Service"&gt;
  
           &lt;soap:operation soapAction="urn:HPD_IncidentInterface_WS/HelpDesk_Query_Service" style="document"/&gt;
  
           &lt;wsdl:input&gt;
  
              &lt;soap:header message="s0:ARAuthenticate" part="parameters" use="literal"&gt;
  
              &lt;/soap:header&gt;
  
              &lt;soap:body use="literal"/&gt;
  
           &lt;/wsdl:input&gt;
  
           &lt;wsdl:output&gt;
  
              &lt;soap:body use="literal"/&gt;
  
           &lt;/wsdl:output&gt;
  
        &lt;/wsdl:operation&gt;
  
        &lt;wsdl:operation name="HelpDesk_QueryList_Service"&gt;
  
           &lt;soap:operation soapAction="urn:HPD_IncidentInterface_WS/HelpDesk_QueryList_Service" style="document"/&gt;
  
           &lt;wsdl:input&gt;
  
              &lt;soap:header message="s0:ARAuthenticate" part="parameters" use="literal"&gt;
  
              &lt;/soap:header&gt;
  
              &lt;soap:body use="literal"/&gt;
  
           &lt;/wsdl:input&gt;
  
           &lt;wsdl:output&gt;
  
              &lt;soap:body use="literal"/&gt;
  
           &lt;/wsdl:output&gt;
  
        &lt;/wsdl:operation&gt;
  
        &lt;wsdl:operation name="HelpDesk_Modify_Service"&gt;
  
           &lt;soap:operation soapAction="urn:HPD_IncidentInterface_WS/HelpDesk_Modify_Service" style="document"/&gt;
  
           &lt;wsdl:input&gt;
  
              &lt;soap:header message="s0:ARAuthenticate" part="parameters" use="literal"&gt;
  
              &lt;/soap:header&gt;
  
              &lt;soap:body use="literal"/&gt;
  
           &lt;/wsdl:input&gt;
  
           &lt;wsdl:output&gt;
  
              &lt;soap:body use="literal"/&gt;
  
           &lt;/wsdl:output&gt;
  
        &lt;/wsdl:operation&gt;
  
     &lt;/wsdl:binding&gt;
  
     &lt;wsdl:service name="HPD_IncidentInterface_WSService"&gt;
  
    &lt;wsdl:documentation&gt;
  Query and Modify Operations  &lt;/wsdl:documentation&gt;
  
        &lt;wsdl:port binding="s0:HPD_IncidentInterface_WSSoapBinding" name="HPD_IncidentInterface_WSSoap"&gt;
  
           &lt;soap:address location="http://internal.acme.com:8080/arsys/services/ARService?server=rsm7&amp;amp;webService=HPD_IncidentInterface_WS"/&gt;
  
        &lt;/wsdl:port&gt;
  
     &lt;/wsdl:service&gt;
  
  &lt;/wsdl:definitions&gt;
  </code></pre>