Solucionado (ver solução)
Solucionado
(ver solução)
5
respostas

jax-ws sem elemento no XML

Boa Noite a todos

Estou aqui com um problema um tanto estranho q nunca tive, criei um web service através do wsimport.

primeiramente tive um problema estranho com conflitos de nome de classes e interfaces, para resolver esse problema usei o comando "-B-XautoNameResolution" que resolveu esse problema, no final o comando ficou assim:

wsimport -keep -p <pck> -XadditionalHeaders -Xnocompile -B-XautoNameResolution <urlDoWsdlIntranet>

ele gerou as classes sem problemas, porem ao tentar executaro web service eu tive o seguinte retorno:

ERROR (8961): A required element is missing from the XML input document.; <nomeDoCampoNaoObrigatorio>

pelo que entendi parece que o xml esta sendo gerado sem o campo, acredito que msm que não seja obrigatório ele deve estar no xml, isso ocorre quando o atributo em questão esta com null, mas eu preciso que ele esteja null.

alguém ja teve esse problema, alguem sabe como resolvo?!

nunca passei por isso.

Obrigado.

5 respostas

Pelo que entendi esse valor é obrigatório para outra ponta, então você é obrigado a passar mesmo. Se vc tiver resolvido, também avisa aqui.

na verdade ele não é obrigatório.

consumimos ele em pyton hj pra testar, passando None no mesmo parâmetro que deu erro ao consumi-lo em java e funcionou.

isso só acontece ao consumir em java.

segue o wsdl alterado

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="urn:lkj_yyyInterface_WS" xmlns:ns0="http://tempuri.org" xmlns:s0="urn:lkj_yyyInterface_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">
 <wsdl:types>
  <xsd:schema elementFormDefault="qualified" targetNamespace="urn:lkj_yyyInterface_WS">
   <xsd:import namespace="http://tempuri.org"/>
   <xsd:element name="bbm_kzw_Service" type="s0:GetInputMap"/>
   <xsd:complexType name="GetInputMap">
    <xsd:sequence>
     <xsd:element name="yyy_Number" type="xsd:string"/>
    </xsd:sequence>
   </xsd:complexType>
   <xsd:element name="bbm_kzw_ServiceResponse" type="s0:GetOutputMap"/>
   <xsd:complexType name="GetOutputMap">
    <xsd:sequence>
     <xsd:element name="Assigned_Group" type="xsd:string"/>
     <xsd:element name="Assigned_Group_Shift_Name" type="xsd:string"/>
     <xsd:element name="Assigned_Support_Company" type="xsd:string"/>
     <xsd:element name="Assigned_Support_Organization" type="xsd:string"/>
     <xsd:element name="Assignee" type="xsd:string"/>
     <xsd:element name="Categorization_Tier_1" type="xsd:string"/>
     <xsd:element name="Categorization_Tier_2" type="xsd:string"/>
     <xsd:element name="Categorization_Tier_3" type="xsd:string"/>
     <xsd:element name="City" type="xsd:string"/>
     <xsd:element name="Closure_Manufacturer" type="xsd:string"/>
     <xsd:element name="Closure_px_cp_Tier1" type="xsd:string"/>
     <xsd:element name="Closure_px_cp_Tier2" type="xsd:string"/>
     <xsd:element name="Closure_px_cp_Tier3" type="xsd:string"/>
     <xsd:element name="Closure_px_Model_Version" type="xsd:string"/>
     <xsd:element name="Closure_px_Name" type="xsd:string"/>
     <xsd:element name="Company" type="xsd:string"/>
     <xsd:element name="Contact_Company" type="xsd:string"/>
     <xsd:element name="Contact_Sensitivity" nillable="true" type="s0:Contact_SensitivityType"/>
     <xsd:element name="Country" type="xsd:string"/>
     <xsd:element name="Department" type="xsd:string"/>
     <xsd:element name="Summary" type="xsd:string"/>
     <xsd:element name="Notes" type="xsd:string"/>
     <xsd:element name="First_Name" type="xsd:string"/>
     <xsd:element name="Impact" nillable="true" type="s0:ImpactType"/>
     <xsd:element name="Last_Name" type="xsd:string"/>
     <xsd:element name="Manufacturer" type="xsd:string"/>
     <xsd:element name="Middle_Initial" type="xsd:string"/>
     <xsd:element name="Organization" type="xsd:string"/>
     <xsd:element name="Phone_Number" type="xsd:string"/>
     <xsd:element name="Priority" nillable="true" type="s0:PriorityType"/>
     <xsd:element name="Priority_Weight" nillable="true" type="xsd:int"/>
     <xsd:element name="px_Categorization_Tier_1" type="xsd:string"/>
     <xsd:element name="px_Categorization_Tier_2" type="xsd:string"/>
     <xsd:element name="px_Categorization_Tier_3" type="xsd:string"/>
     <xsd:element name="px_Model_Version" type="xsd:string"/>
     <xsd:element name="px_Name" type="xsd:string"/>
     <xsd:element name="Region" type="xsd:string"/>
     <xsd:element name="Reported_Source" nillable="true" type="s0:Reported_SourceType"/>
     <xsd:element name="Resolution" type="xsd:string"/>
     <xsd:element name="Resolution_Category" type="xsd:string"/>
     <xsd:element name="Resolution_cp_Tier_2" type="xsd:string"/>
     <xsd:element name="Resolution_cp_Tier_3" type="xsd:string"/>
     <xsd:element name="Service_Type" nillable="true" type="s0:Service_TypeType"/>
     <xsd:element name="Site" type="xsd:string"/>
     <xsd:element name="Site_Group" type="xsd:string"/>
     <xsd:element name="Status" type="s0:StatusType"/>
     <xsd:element minOccurs="0" name="Status_Reason" nillable="true" type="s0:Status_ReasonType"/>
     <xsd:element name="Urgency" nillable="true" type="s0:UrgencyType"/>
     <xsd:element name="VIP" nillable="true" type="s0:VIPType"/>
     <xsd:element name="ServiceCI" type="xsd:string"/>
     <xsd:element name="ServiceCI_ReconID" type="xsd:string"/>
     <xsd:element name="lkj_CI" type="xsd:string"/>
     <xsd:element name="lkj_CI_ReconID" type="xsd:string"/>
     <xsd:element name="lkj_CI_FormName" type="xsd:string"/>
     <xsd:element name="z1D_CI_FormName" type="xsd:string"/>
    </xsd:sequence>
   </xsd:complexType>
   <xsd:simpleType name="Contact_SensitivityType">
    <xsd:restriction base="xsd:string">
     <xsd:enumeration value="Sensitive"/>
     <xsd:enumeration value="Standard"/>
    </xsd:restriction>
   </xsd:simpleType>
   <xsd:simpleType name="ImpactType">
    <xsd:restriction base="xsd:string">
     <xsd:enumeration value="1-Extensive/Widespread"/>
     <xsd:enumeration value="2-Significant/Large"/>
     <xsd:enumeration value="3-Moderate/Limited"/>
     <xsd:enumeration value="4-Minor/Localized"/>
    </xsd:restriction>
   </xsd:simpleType>
   <xsd:simpleType name="PriorityType">
    <xsd:restriction base="xsd:string">
     <xsd:enumeration value="Critical"/>
     <xsd:enumeration value="High"/>
     <xsd:enumeration value="Medium"/>
     <xsd:enumeration value="Low"/>
    </xsd:restriction>
   </xsd:simpleType>
   <xsd:simpleType name="Reported_SourceType">
    <xsd:restriction base="xsd:string">
     <xsd:enumeration value="Direct Input"/>
     <xsd:enumeration value="Email"/>
     <xsd:enumeration value="External ext"/>
     <xsd:enumeration value="Fax"/>
     <xsd:enumeration value="Self Service"/>
     <xsd:enumeration value="Systems Management"/>
     <xsd:enumeration value="Phone"/>
     <xsd:enumeration value="Voice Mail"/>
     <xsd:enumeration value="Walk In"/>
     <xsd:enumeration value="Web"/>
     <xsd:enumeration value="Other"/>
     <xsd:enumeration value="BMC Impact Manager Event"/>
    </xsd:restriction>
   </xsd:simpleType>
   <xsd:simpleType name="Service_TypeType">
    <xsd:restriction base="xsd:string">
     <xsd:enumeration value="User Service Restoration"/>
     <xsd:enumeration value="User Service Request"/>
     <xsd:enumeration value="Infrastructure Restoration"/>
     <xsd:enumeration value="Infrastructure Event"/>
    </xsd:restriction>
   </xsd:simpleType>
   <xsd:simpleType name="StatusType">
    <xsd:restriction base="xsd:string">
     <xsd:enumeration value="New"/>
     <xsd:enumeration value="Assigned"/>
     <xsd:enumeration value="In Progress"/>
     <xsd:enumeration value="Pending"/>
     <xsd:enumeration value="Resolved"/>
     <xsd:enumeration value="Closed"/>
     <xsd:enumeration value="Cancelled"/>
    </xsd:restriction>
   </xsd:simpleType>
   <xsd:simpleType name="Status_ReasonType">
    <xsd:restriction base="xsd:string">
     <xsd:enumeration value="Infrastructure Change Created"/>
     <xsd:enumeration value="Local Site Action Required"/>
     <xsd:enumeration value="Purchase Order Approval"/>
     <xsd:enumeration value="Registration Approval"/>
     <xsd:enumeration value="Supplier Delivery"/>
     <xsd:enumeration value="Support Contact Hold"/>
     <xsd:enumeration value="Third Party Vendor Action Reqd"/>
     <xsd:enumeration value="Client Action Required"/>
     <xsd:enumeration value="Infrastructure Change"/>
     <xsd:enumeration value="Request"/>
     <xsd:enumeration value="Future Enhancement"/>
     <xsd:enumeration value="Pending Original yyy"/>
     <xsd:enumeration value="Client Hold"/>
     <xsd:enumeration value="Monitoring yyy"/>
     <xsd:enumeration value="Customer Follow-Up Required"/>
     <xsd:enumeration value="Temporary Corrective Action"/>
     <xsd:enumeration value="No Further Action Required"/>
     <xsd:enumeration value="Resolved by Original yyy"/>
     <xsd:enumeration value="Automated Resolution Reported"/>
     <xsd:enumeration value="No longer a Causal CI"/>
    </xsd:restriction>
   </xsd:simpleType>
   <xsd:simpleType name="UrgencyType">
    <xsd:restriction base="xsd:string">
     <xsd:enumeration value="1-Critical"/>
     <xsd:enumeration value="2-High"/>
     <xsd:enumeration value="3-Medium"/>
     <xsd:enumeration value="4-Low"/>
    </xsd:restriction>
   </xsd:simpleType>
   <xsd:simpleType name="VIPType">
    <xsd:restriction base="xsd:string">
     <xsd:enumeration value="Yes"/>
     <xsd:enumeration value="No"/>
    </xsd:restriction>
   </xsd:simpleType>
   <xsd:element name="bbm_ppo_Service" type="s0:GetallInputMap"/>
   <xsd:complexType name="GetallInputMap">
    <xsd:sequence>
     <xsd:element name="Qualification" type="xsd:string"/>
     <xsd:element name="startRecord" type="xsd:string"/>
     <xsd:element name="maxLimit" type="xsd:string"/>
    </xsd:sequence>
   </xsd:complexType>
   <xsd:element name="bbm_ppo_ServiceResponse" type="s0:GetallOutputMap"/>
   <xsd:complexType name="GetallOutputMap">
    <xsd:sequence>
     <xsd:element maxOccurs="unbounded" name="getallValues">
      <xsd:complexType>
       <xsd:sequence>
        <xsd:element name="Assigned_Group" type="xsd:string"/>
        <xsd:element minOccurs="0" name="Assigned_Group_Shift_Name" type="xsd:string"/>
        <xsd:element name="Assigned_Support_Company" type="xsd:string"/>
        <xsd:element name="Assigned_Support_Organization" type="xsd:string"/>
        <xsd:element name="Assignee" type="xsd:string"/>
        <xsd:element name="Categorization_Tier_1" type="xsd:string"/>
        <xsd:element name="Categorization_Tier_2" type="xsd:string"/>
        <xsd:element name="Categorization_Tier_3" type="xsd:string"/>
        <xsd:element name="City" type="xsd:string"/>
        <xsd:element name="Closure_Manufacturer" type="xsd:string"/>
        <xsd:element name="Closure_px_cp_Tier1" type="xsd:string"/>
        <xsd:element name="Closure_px_cp_Tier2" type="xsd:string"/>
        <xsd:element name="Closure_px_cp_Tier3" type="xsd:string"/>
        <xsd:element name="Closure_px_Model_Version" type="xsd:string"/>
        <xsd:element name="Closure_px_Name" type="xsd:string"/>
        <xsd:element name="Company" type="xsd:string"/>
        <xsd:element name="Contact_Company" type="xsd:string"/>
        <xsd:element name="Contact_Sensitivity" nillable="true" type="s0:Contact_SensitivityType"/>
        <xsd:element name="Country" type="xsd:string"/>
        <xsd:element name="Department" type="xsd:string"/>
        <xsd:element name="Summary" type="xsd:string"/>
        <xsd:element name="Notes" type="xsd:string"/>
        <xsd:element name="First_Name" type="xsd:string"/>
        <xsd:element name="Impact" nillable="true" type="s0:ImpactType"/>
        <xsd:element name="yyy_Number" type="xsd:string"/>
        <xsd:element name="Internet_E-mail" type="xsd:string"/>
        <xsd:element name="Last_Name" type="xsd:string"/>
        <xsd:element name="Manufacturer" type="xsd:string"/>
        <xsd:element name="Middle_Initial" type="xsd:string"/>
        <xsd:element name="Organization" type="xsd:string"/>
        <xsd:element name="Phone_Number" type="xsd:string"/>
        <xsd:element name="Priority" nillable="true" type="s0:PriorityType"/>
        <xsd:element name="Priority_Weight" nillable="true" type="xsd:int"/>
        <xsd:element name="px_Categorization_Tier_1" type="xsd:string"/>
        <xsd:element minOccurs="0" name="px_Categorization_Tier_2" type="xsd:string"/>
        <xsd:element name="px_Categorization_Tier_3" type="xsd:string"/>
        <xsd:element name="px_Model_Version" type="xsd:string"/>
        <xsd:element name="px_Name" type="xsd:string"/>
        <xsd:element name="Region" type="xsd:string"/>
        <xsd:element name="Reported_Source" nillable="true" type="s0:Reported_SourceType"/>
        <xsd:element name="Resolution" type="xsd:string"/>
        <xsd:element name="Resolution_Category" type="xsd:string"/>
        <xsd:element name="Resolution_cp_Tier_2" type="xsd:string"/>
        <xsd:element name="Resolution_cp_Tier_3" type="xsd:string"/>
        <xsd:element name="Service_Type" nillable="true" type="s0:Service_TypeType"/>
        <xsd:element name="Site" type="xsd:string"/>
        <xsd:element name="Site_Group" type="xsd:string"/>
        <xsd:element name="Status" type="s0:StatusType"/>
        <xsd:element minOccurs="0" name="Status_Reason" nillable="true" type="s0:Status_ReasonType"/>
        <xsd:element name="Urgency" nillable="true" type="s0:UrgencyType"/>
        <xsd:element name="VIP" nillable="true" type="s0:VIPType"/>
        <xsd:element name="ServiceCI" type="xsd:string"/>
        <xsd:element name="ServiceCI_ReconID" type="xsd:string"/>
        <xsd:element name="lkj_CI" type="xsd:string"/>
        <xsd:element name="lkj_CI_ReconID" type="xsd:string"/>
        <xsd:element name="lkj_CI_FormName" type="xsd:string"/>
        <xsd:element name="z1D_CI_FormName" type="xsd:string"/>
        <xsd:element minOccurs="0" name="Reported_Date" type="xsd:dateTime"/>
        <xsd:element minOccurs="0" name="Required_Resolution_Date" type="xsd:dateTime"/>
        <xsd:element minOccurs="0" name="Target_Date" type="xsd:dateTime"/>
        <xsd:element minOccurs="0" name="Submit_Date" type="xsd:dateTime"/>
        <xsd:element minOccurs="0" name="Closed_Date" type="xsd:dateTime"/>
       </xsd:sequence>
      </xsd:complexType>
     </xsd:element>
    </xsd:sequence>
   </xsd:complexType>
   <xsd:element name="bbm_Modify_Service" type="s0:SetInputMap"/>
   <xsd:complexType name="SetInputMap">
    <xsd:sequence>
     <xsd:element name="Categorization_Tier_1" type="xsd:string"/>
     <xsd:element name="Categorization_Tier_2" type="xsd:string"/>
     <xsd:element name="Categorization_Tier_3" type="xsd:string"/>
     <xsd:element name="Closure_Manufacturer" type="xsd:string"/>
     <xsd:element name="Closure_px_cp_Tier1" type="xsd:string"/>
     <xsd:element name="Closure_px_cp_Tier2" type="xsd:string"/>
     <xsd:element name="Closure_px_cp_Tier3" type="xsd:string"/>
     <xsd:element name="Closure_px_Model_Version" type="xsd:string"/>
     <xsd:element name="Closure_px_Name" type="xsd:string"/>
     <xsd:element name="Company" type="xsd:string"/>
     <xsd:element name="Summary" type="xsd:string"/>
     <xsd:element name="Notes" type="xsd:string"/>
     <xsd:element name="Impact" nillable="true" type="s0:ImpactType"/>
     <xsd:element name="Manufacturer" type="xsd:string"/>
     <xsd:element minOccurs="0" name="px_Categorization_Tier_1" type="xsd:string"/>
     <xsd:element name="px_Categorization_Tier_2" type="xsd:string"/>
     <xsd:element name="px_Categorization_Tier_3" type="xsd:string"/>
     <xsd:element name="px_Model_Version" type="xsd:string"/>
     <xsd:element name="px_Name" type="xsd:string"/>
     <xsd:element name="Reported_Source" nillable="true" type="s0:Reported_SourceType"/>
     <xsd:element name="Resolution" type="xsd:string"/>
     <xsd:element name="Resolution_Category" type="xsd:string"/>
     <xsd:element name="Resolution_cp_Tier_2" type="xsd:string"/>
     <xsd:element name="Resolution_cp_Tier_3" type="xsd:string"/>
     <xsd:element name="Resolution_Method" type="xsd:string"/>
     <xsd:element name="Service_Type" nillable="true" type="s0:Service_TypeType"/>
     <xsd:element name="Status" type="s0:StatusType"/>
     <xsd:element name="Urgency" nillable="true" type="s0:UrgencyType"/>
     <xsd:element name="Action" type="xsd:string"/>
     <xsd:element name="Work_Info_Summary" type="xsd:string"/>
     <xsd:element name="Work_Info_Notes" type="xsd:string"/>
     <xsd:element name="Work_Info_Type" nillable="true" type="s0:Work_Info_TypeType"/>
     <xsd:element name="Work_Info_Date" nillable="true" type="xsd:dateTime"/>
     <xsd:element name="Work_Info_Source" nillable="true" type="s0:Work_Info_SourceType"/>
     <xsd:element name="Work_Info_Locked" nillable="true" type="s0:VIPType"/>
     <xsd:element name="Work_Info_View_Access" nillable="true" type="s0:Work_Info_View_AccessType"/>
     <xsd:element name="yyy_Number" type="xsd:string"/>
     <xsd:element minOccurs="0" name="Status_Reason" nillable="true" type="s0:Status_ReasonType"/>
     <xsd:element name="ServiceCI" type="xsd:string"/>
     <xsd:element name="ServiceCI_ReconID" type="xsd:string"/>
     <xsd:element name="lkj_CI" type="xsd:string"/>
     <xsd:element name="lkj_CI_ReconID" type="xsd:string"/>
     <xsd:element name="lkj_CI_FormName" type="xsd:string"/>
     <xsd:element name="z1D_CI_FormName" type="xsd:string"/>
     <xsd:element minOccurs="0" name="WorkInfogoo1Name" type="xsd:string"/>
     <xsd:element minOccurs="0" name="WorkInfogoo1Data" type="xsd:base64Binary"/>
     <xsd:element minOccurs="0" name="WorkInfogoo1OrigSize" type="xsd:int"/>
    </xsd:sequence>
   </xsd:complexType>
   <xsd:simpleType name="Work_Info_TypeType">
    <xsd:restriction base="xsd:string">
     <xsd:enumeration value="----- Customer Inbound -----"/>
     <xsd:enumeration value="Customer Communication"/>
     <xsd:enumeration value="Customer Follow-up"/>
     <xsd:enumeration value="Customer Status Update"/>
     <xsd:enumeration value="----- Customer Outbound -----"/>
     <xsd:enumeration value="Closure Follow Up"/>
     <xsd:enumeration value="Detail Clarification"/>
     <xsd:enumeration value="General Information"/>
     <xsd:enumeration value="Resolution Communications"/>
     <xsd:enumeration value="Satisfaction Survey"/>
     <xsd:enumeration value="Status Update"/>
     <xsd:enumeration value="----- General -----"/>
     <xsd:enumeration value="yyy Task / Action"/>
     <xsd:enumeration value="Problem Script"/>
     <xsd:enumeration value="Working Log"/>
     <xsd:enumeration value="Email System"/>
     <xsd:enumeration value="Paging System"/>
     <xsd:enumeration value="BMC Impact Manager Update"/>
     <xsd:enumeration value="Chat"/>
    </xsd:restriction>
   </xsd:simpleType>
   <xsd:simpleType name="Work_Info_SourceType">
    <xsd:restriction base="xsd:string">
     <xsd:enumeration value="Email"/>
     <xsd:enumeration value="Fax"/>
     <xsd:enumeration value="Phone"/>
     <xsd:enumeration value="Voice Mail"/>
     <xsd:enumeration value="Walk In"/>
     <xsd:enumeration value="Pager"/>
     <xsd:enumeration value="System Assignment"/>
     <xsd:enumeration value="Web"/>
     <xsd:enumeration value="Other"/>
     <xsd:enumeration value="BMC Impact Manager Event"/>
    </xsd:restriction>
   </xsd:simpleType>
   <xsd:simpleType name="Work_Info_View_AccessType">
    <xsd:restriction base="xsd:string">
     <xsd:enumeration value="Internal"/>
     <xsd:enumeration value="Public"/>
    </xsd:restriction>
   </xsd:simpleType>
   <xsd:element name="bbm_Modify_ServiceResponse" type="s0:SetOutputMap"/>
   <xsd:complexType name="SetOutputMap">
    <xsd:sequence/>
   </xsd:complexType>
   <xsd:element name="bbm_GetWorkInfoall" type="s0:InputMapping4"/>
   <xsd:complexType name="InputMapping4">
    <xsd:sequence>
     <xsd:element name="Qualification" type="xsd:string"/>
     <xsd:element name="startRecord" type="xsd:string"/>
     <xsd:element name="maxLimit" type="xsd:string"/>
    </xsd:sequence>
   </xsd:complexType>
   <xsd:element name="bbm_GetWorkInfoallResponse" type="s0:OutputMapping4"/>
   <xsd:complexType name="OutputMapping4">
    <xsd:sequence>
     <xsd:element name="allWOkzw" type="s0:allWOObjectkzw"/>
    </xsd:sequence>
   </xsd:complexType>
   <xsd:complexType name="allWOObjectkzw">
    <xsd:sequence>
     <xsd:element maxOccurs="unbounded" minOccurs="0" name="getallValues">
      <xsd:complexType>
       <xsd:sequence>
        <xsd:element name="WorkInfoInstanceID" type="xsd:string"/>
        <xsd:element name="WorkInfoStatus" type="xsd:string"/>
        <xsd:element name="WorkInfoType" type="xsd:string"/>
        <xsd:element name="WorkInfoCommSource" type="xsd:string"/>
        <xsd:element name="WorkInfoSummary" type="xsd:string"/>
        <xsd:element name="WorkInfoNotes" type="xsd:string"/>
        <xsd:element name="ParentID" type="xsd:string"/>
        <xsd:element name="WorkInfoSecureLog" type="xsd:string"/>
        <xsd:element minOccurs="0" name="WorkInfoSubmitDate" type="xsd:dateTime"/>
        <xsd:element name="WorkInfogoo1Name" type="xsd:string"/>
        <xsd:element name="WorkInfogoo1Data" type="xsd:base64Binary"/>
        <xsd:element name="WorkInfogoo1OrigSize" type="xsd:int"/>
        <xsd:element name="WorkInfogoo2Name" type="xsd:string"/>
        <xsd:element name="WorkInfogoo2Data" type="xsd:base64Binary"/>
        <xsd:element name="WorkInfogoo2OrigSize" type="xsd:int"/>
        <xsd:element name="WorkInfogoo3Name" type="xsd:string"/>
        <xsd:element name="WorkInfogoo3Data" type="xsd:base64Binary"/>
        <xsd:element name="WorkInfogoo3OrigSize" type="xsd:int"/>
       </xsd:sequence>
      </xsd:complexType>
     </xsd:element>
    </xsd:sequence>
   </xsd:complexType>
   <xsd:element name="AuthenticationInfo" type="s0:AuthenticationInfo"/>
   <xsd:complexType name="AuthenticationInfo">
    <xsd:sequence>
     <xsd:element name="mmm" type="xsd:string"/>
     <xsd:element name="kkk" type="xsd:string"/>
     <xsd:element minOccurs="0" name="authentication" type="xsd:string"/>
     <xsd:element minOccurs="0" name="locale" type="xsd:string"/>
     <xsd:element minOccurs="0" name="timeZone" type="xsd:string"/>
    </xsd:sequence>
   </xsd:complexType>
  </xsd:schema>
  <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://tempuri.org" xmlns="http://tempuri.org" xmlns:xs="http://www.w3.org/2001/XMLSchema">




          <xs:complexType name="allkzwWorkInfo">


               <xs:sequence>


                     <xs:element ref="allWOkzw"/>


               </xs:sequence>


         </xs:complexType>



         <xs:element name="allWOkzw" type="allWOObjectkzw"/>


         <xs:complexType name="allWOObjectkzw">


               <xs:sequence>


                 <xs:element maxOccurs="unbounded" minOccurs="0" name="getallValues">


                    <xs:complexType>


                         <xs:sequence>


                           <xs:element name="WorkInfoInstanceID" type="xs:string"/>


                           <xs:element name="WorkInfoStatus" type="xs:string"/>


                           <xs:element name="WorkInfoType" type="xs:string"/>


                           <xs:element name="WorkInfoCommSource" type="xs:string"/>


                           <xs:element name="WorkInfoSummary" type="xs:string"/>


                           <xs:element name="WorkInfoNotes" type="xs:string"/>


                           <xs:element name="yyyNumber" type="xs:string"/>


                           <xs:element name="WorkInfoSecureLog" type="xs:string"/>


                           <xs:element name="WorkInfoSubmitDate" type="xs:dateTime"/>


                           <xs:element name="WorkInfogoo1Name" type="xs:string"/>


                           <xs:element name="WorkInfogoo1Data" type="xs:base64Binary"/>


                           <xs:element name="WorkInfogoo1OrigSize" type="xs:int"/>


                           <xs:element name="WorkInfogoo2Name" type="xs:string"/>


                           <xs:element name="WorkInfogoo2Data" type="xs:base64Binary"/>


                           <xs:element name="WorkInfogoo2OrigSize" type="xs:int"/>


                           <xs:element name="WorkInfogoo3Name" type="xs:string"/>


                           <xs:element name="WorkInfogoo3Data" type="xs:base64Binary"/>


                           <xs:element name="WorkInfogoo3OrigSize" type="xs:int"/>


                       </xs:sequence>


                   </xs:complexType>


                 </xs:element>


           </xs:sequence>


         </xs:complexType>



    </xs:schema>
 </wsdl:types>

   <wsdl:message name="bbm_kzw_ServiceSoapIn">

      <wsdl:part element="s0:bbm_kzw_Service" name="parameters">

      </wsdl:part>

   </wsdl:message>

   <wsdl:message name="bbm_Modify_ServiceSoapOut">

      <wsdl:part element="s0:bbm_Modify_ServiceResponse" name="parameters">

      </wsdl:part>

   </wsdl:message>

   <wsdl:message name="bbm_ppo_ServiceSoapIn">

      <wsdl:part element="s0:bbm_ppo_Service" name="parameters">

      </wsdl:part>

   </wsdl:message>

   <wsdl:message name="bbm_ppo_ServiceSoapOut">

      <wsdl:part element="s0:bbm_ppo_ServiceResponse" name="parameters">

      </wsdl:part>

   </wsdl:message>

   <wsdl:message name="bbm_kzw_ServiceSoapOut">

      <wsdl:part element="s0:bbm_kzw_ServiceResponse" name="parameters">

      </wsdl:part>

   </wsdl:message>

   <wsdl:message name="ARAuthenticate">

      <wsdl:part element="s0:AuthenticationInfo" name="parameters">

      </wsdl:part>

   </wsdl:message>

   <wsdl:message name="bbm_Modify_ServiceSoapIn">

      <wsdl:part element="s0:bbm_Modify_Service" name="parameters">

      </wsdl:part>

   </wsdl:message>

   <wsdl:message name="bbm_GetWorkInfoallSoapOut">

      <wsdl:part element="s0:bbm_GetWorkInfoallResponse" name="parameters">

      </wsdl:part>

   </wsdl:message>

   <wsdl:message name="bbm_GetWorkInfoallSoapIn">

      <wsdl:part element="s0:bbm_GetWorkInfoall" name="parameters">

      </wsdl:part>

   </wsdl:message>

   <wsdl:portType name="lkj_yyyInterface_WSPortTypePortType">

      <wsdl:operation name="bbm_kzw_Service">

         <wsdl:input message="s0:bbm_kzw_ServiceSoapIn">

       </wsdl:input>

         <wsdl:output message="s0:bbm_kzw_ServiceSoapOut">

       </wsdl:output>

      </wsdl:operation>

      <wsdl:operation name="bbm_ppo_Service">

         <wsdl:input message="s0:bbm_ppo_ServiceSoapIn">

       </wsdl:input>

         <wsdl:output message="s0:bbm_ppo_ServiceSoapOut">

       </wsdl:output>

      </wsdl:operation>

      <wsdl:operation name="bbm_Modify_Service">

         <wsdl:input message="s0:bbm_Modify_ServiceSoapIn">

       </wsdl:input>

         <wsdl:output message="s0:bbm_Modify_ServiceSoapOut">

       </wsdl:output>

      </wsdl:operation>

      <wsdl:operation name="bbm_GetWorkInfoall">

         <wsdl:input message="s0:bbm_GetWorkInfoallSoapIn">

       </wsdl:input>

         <wsdl:output message="s0:bbm_GetWorkInfoallSoapOut">

       </wsdl:output>

      </wsdl:operation>

   </wsdl:portType>

   <wsdl:binding name="lkj_yyyInterface_WSPortTypeSoapBinding" type="s0:lkj_yyyInterface_WSPortTypePortType">

      <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>

      <wsdl:operation name="bbm_kzw_Service">

         <soap:operation soapAction="urn:lkj_yyyInterface_WS/bbm_kzw_Service" style="document"/>

         <wsdl:input>

            <soap:header message="s0:ARAuthenticate" part="parameters" use="literal">

            </soap:header>

            <soap:body use="literal"/>

         </wsdl:input>

         <wsdl:output>

            <soap:body use="literal"/>

         </wsdl:output>

      </wsdl:operation>

      <wsdl:operation name="bbm_ppo_Service">

         <soap:operation soapAction="urn:lkj_yyyInterface_WS/bbm_ppo_Service" style="document"/>

         <wsdl:input>

            <soap:header message="s0:ARAuthenticate" part="parameters" use="literal">

            </soap:header>

            <soap:body use="literal"/>

         </wsdl:input>

         <wsdl:output>

            <soap:body use="literal"/>

         </wsdl:output>

      </wsdl:operation>

      <wsdl:operation name="bbm_Modify_Service">

         <soap:operation soapAction="urn:lkj_yyyInterface_WS/bbm_Modify_Service" style="document"/>

         <wsdl:input>

            <soap:header message="s0:ARAuthenticate" part="parameters" use="literal">

            </soap:header>

            <soap:body use="literal"/>

         </wsdl:input>

         <wsdl:output>

            <soap:body use="literal"/>

         </wsdl:output>

      </wsdl:operation>

      <wsdl:operation name="bbm_GetWorkInfoall">

         <soap:operation soapAction="urn:lkj_yyyInterface_WS/bbm_GetWorkInfoall" style="document"/>

         <wsdl:input>

            <soap:header message="s0:ARAuthenticate" part="parameters" use="literal">

            </soap:header>

            <soap:body use="literal"/>

         </wsdl:input>

         <wsdl:output>

            <soap:body use="literal"/>

         </wsdl:output>

      </wsdl:operation>

   </wsdl:binding>

   <wsdl:service name="lkj_yyyInterface_WSService">

  <wsdl:documentation>
kzw and Modify Operations  </wsdl:documentation>

      <wsdl:port binding="s0:lkj_yyyInterface_WSPortTypeSoapBinding" name="lkj_yyyInterface_WSPortTypeSoap">

         <soap:address location="http://192.168.0.50:8080/arsys/services/ARService?server=arsapp-inti.xxx&amp;webService=lkj_yyyInterface_WS"/>

      </wsdl:port>

   </wsdl:service>

</wsdl:definitions>
solução!

Oi Allan,

parece ser alguma incompatibilidade entre o wsdl/soap do servidor e o seu cliente gerado.

se vc sabe qual é o atributo não obrigatório, tente alterar a mapeamento nas classes geradas. Ou seja, após usar wsimport procure a classe que possui esse atributo e veja se existe a anotação @XmlElement. Através dela, vc pode deixar o atributo obrigatório e nulo (nillable,required)

Espero ter ajudado :)

abs

Muito obrigado Nico, vlw msm.......

não achei como resolver isso em lugar nenhum.