axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu Upadhyayula" <rupadhyay...@responsys.com>
Subject RE: AXIS Fault "Required Attribute localType is null"
Date Tue, 23 Oct 2007 18:07:50 GMT
Hi Saket,

 

            Can you also post your Common.xsd file which has the
definition of all the Types.

 

Thanks

Raghu

 

________________________________

From: Saket Raizada [mailto:saket.raizada.slnm@statefarm.com] 
Sent: Tuesday, October 23, 2007 6:38 AM
To: axis-user@ws.apache.org
Subject: RE: AXIS Fault "Required Attribute localType is null" 

 

Raghu,

I do not see the "type" variable in the WSDL. 

I have attached the WSDL file.

 

Thanks for the help !

regards 
-Saket Raizada 
309-763-5492 
Automation (Maintenance) 

 

 

________________________________

From: Raghu Upadhyayula [mailto:rupadhyayula@responsys.com] 
Sent: Monday, October 22, 2007 7:16 PM
To: axis-user@ws.apache.org
Subject: RE: AXIS Fault "Required Attribute localType is null" 

Hi Saket,

 

            Can you post your WSDL?  From the Axis Fault it looks like
you have a variable named "type" in the Incident object which is defined
as not nullable in WSDL and you are not setting that in your request.

 

Thanks

Raghu

 

________________________________

From: Saket Raizada [mailto:saket.raizada.slnm@statefarm.com] 
Sent: Monday, October 22, 2007 3:48 PM
To: axis-user@ws.apache.org
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(); 
contact.setString("user1"); 
incident.setContact(contact); 
stub.createIncident(incident) 
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 etc. 
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 
-machoq 


Mime
View raw message