axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <>
Subject Re: AXIS Fault "Required Attribute localType is null"
Date Mon, 23 Oct 2000 23:43:11 GMT
AXIS Fault "Required Attribute localType is null"The name of the operation parameter needs
to be a QName (Qualified Name) following the provided example

   private void populateAxisService() throws org.apache.axis2.AxisFault 
     //creating the Service with a unique name
     _service = new org.apache.axis2.description.AxisService("MTOMSample" + this.hashCode());

        //creating the operation
        org.apache.axis2.description.AxisOperation __operation;

        //create the Operations
        _operations = new org.apache.axis2.description.AxisOperation[1];

        //coordinate this with supplied parameter in services.xml
        __operation = new org.apache.axis2.description.OutInAxisOperation();

// set the name of the Operation as a QName 
            __operation.setName(new javax.xml.namespace.QName("",

//Add the operation to the service



  ----- Original Message ----- 
  From: Saket Raizada 
  Sent: Monday, October 22, 2007 6:48 PM
  Subject: AXIS Fault "Required Attribute localType is null" 

  Hi Folks, 
  I am using AXIS 2, 1.3 and created a client for an existing WebService 
  I am trying to use the WebService to create an incident using the example code below 
  StringType contact = new StringType(); 
  I get an AXIS Fault "Required Attribute localType is null" , there is no SOAP body message
generated..., however if i comment out the line

  //incident.setContact(contact) , the incident gets generated and i can see the SOAP messages
  I am using ADB binding and am out of ideas what localType is (it's not part of incident
or web service that i am trying to access) also no SOAP BODY XML is generated.

  Any pointers will be very helpful 

View raw message